:root {
  --ink: #18110c;
  --muted: #6c5a46;
  --paper: #f3ead9;
  --panel: #fff8eb;
  --panel-2: #f8ecd8;
  --line: #b89555;
  --gold: #d9a441;
  --dark: #1d150f;
  --shadow: 0 18px 48px rgba(28, 18, 10, .16);
}

/* Warcraft Wiki: Suche, Aktualisierungen und Quellenstatus */
.wiki-home-search-band {
  padding: 34px 0;
  background: linear-gradient(180deg, #eef5f8 0%, #e6eff4 100%);
  border-top: 1px solid #cad9e2;
  border-bottom: 1px solid #cad9e2;
}

.wiki-global-search {
  max-width: 980px;
  margin: 0 auto;
}

.wiki-global-search label {
  display: block;
  margin-bottom: 10px;
  color: #213a51;
  font: 800 0.82rem/1.2 system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0;
}

.wiki-global-search > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.wiki-global-search input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid #9ebbd0;
  border-radius: 4px;
  background: #fff;
  color: #142338;
  font: 600 1rem/1.2 system-ui, sans-serif;
}

.wiki-global-search button {
  min-height: 50px;
  padding: 0 28px;
  border: 1px solid #c98d18;
  border-radius: 4px;
  background: #e9aa35;
  color: #111d2d;
  font: 800 0.9rem/1 system-ui, sans-serif;
  cursor: pointer;
}

.wiki-search-page {
  min-height: 65vh;
  padding-top: 64px;
  padding-bottom: 80px;
}

body.search-shell {
  background: linear-gradient(180deg, #edf3f6 0%, #ebf2f5 35%, #e6eef2 100%);
}

.wiki-search-hero {
  max-width: 980px;
  margin: 0 auto 30px;
}

.wiki-search-hero h1 {
  margin: 0 0 10px;
  color: #152238;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
}

.wiki-search-hero p {
  margin: 0;
  color: #48627b;
  font-size: 1.08rem;
}

.wiki-search-results {
  max-width: 980px;
  margin: 38px auto 0;
}

.wiki-search-results h2 {
  color: #152238;
  font-size: 1.45rem;
}

.wiki-search-result-list {
  display: grid;
  gap: 10px;
}

.wiki-search-result-list a {
  display: grid;
  gap: 5px;
  padding: 18px 20px;
  border: 1px solid #c6d8e4;
  border-left: 4px solid #77a8c7;
  border-radius: 4px;
  background: #fff;
  color: #263f58;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(31, 54, 74, 0.07);
}

.wiki-search-result-list a:hover,
.wiki-search-result-list a:focus-visible {
  border-left-color: #dda12e;
  background: #f8fbfd;
}

.wiki-search-result-list span {
  color: #647f97;
  font: 800 0.72rem/1.3 system-ui, sans-serif;
  text-transform: uppercase;
}

.wiki-search-result-list strong {
  color: #152238;
  font-size: 1.3rem;
}

.wiki-search-result-list p {
  margin: 0;
  color: #4a6279;
  line-height: 1.6;
}

.wiki-home-recent {
  padding: 64px 0;
  background: #eaf2f6;
}

.wiki-recent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.wiki-recent-grid a {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid #bed3e1;
  border-top: 4px solid #7faeca;
  border-radius: 4px;
  background: #fff;
  color: #314d67;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(26, 52, 73, 0.08);
}

.wiki-recent-grid a:hover,
.wiki-recent-grid a:focus-visible {
  border-top-color: #dfa631;
}

.wiki-recent-grid span,
.wiki-recent-grid time {
  color: #607b93;
  font: 800 0.72rem/1.35 system-ui, sans-serif;
  text-transform: uppercase;
}

.wiki-recent-grid strong {
  margin: 10px 0 8px;
  color: #152238;
  font-size: 1.35rem;
}

.wiki-recent-grid p {
  margin: 0 0 16px;
  line-height: 1.55;
}

.wiki-recent-grid time {
  margin-top: auto;
}

.content-source-box li {
  position: relative;
}

.content-source-rights {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-left: 8px;
  padding: 3px 8px;
  border: 1px solid #c7d5df;
  border-radius: 999px;
  background: #edf3f7;
  color: #465f74;
  font: 800 0.68rem/1 system-ui, sans-serif;
}

.content-source-rights--official,
.content-source-rights--licensed,
.content-source-rights--internal {
  border-color: #9bc9ad;
  background: #e6f6ec;
  color: #22623d;
}

.content-source-rights--restricted {
  border-color: #e0b8ae;
  background: #fff0ec;
  color: #8b3724;
}

@media (max-width: 860px) {
  .wiki-recent-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .wiki-home-search-band {
    padding: 26px 0;
  }

  .wiki-global-search > div,
  .wiki-recent-grid {
    grid-template-columns: 1fr;
  }

  .wiki-global-search button {
    width: 100%;
  }

  .wiki-search-page {
    padding-top: 38px;
  }
}

/* Warcraft Wiki: Chronisten-Archiv und interaktiver Azeroth-Atlas */
.wiki-archive-home {
  --archive-ink: #15263a;
  --archive-blue: #1d405d;
  --archive-blue-deep: #102a42;
  --archive-line: #9bb9cd;
  --archive-gold: #d7a33d;
  --archive-paper: #f7f4ea;
  overflow: clip;
  color: var(--archive-ink);
  background: #edf4f7;
}

.wiki-archive-home .wrap {
  width: min(1280px, calc(100% - 48px));
}

.archive-hero {
  position: relative;
  min-height: 590px;
  isolation: isolate;
  background: #eee6d3 url("/assets/wiki-chronicle-archive-hero.webp") center / cover no-repeat;
  border-bottom: 1px solid rgba(77, 106, 127, .35);
}

.archive-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(249, 246, 236, .98) 0%, rgba(249, 246, 236, .91) 37%, rgba(249, 246, 236, .14) 66%, rgba(14, 31, 47, .08) 100%),
    linear-gradient(0deg, rgba(17, 42, 64, .09), transparent 38%);
}

.archive-hero__inner {
  min-height: 590px;
  display: flex;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 56px;
}

.archive-hero__copy {
  width: min(620px, 53%);
}

.archive-kicker,
.archive-section-heading > span,
.atlas-heading > span,
.atlas-discoveries > header > span,
.archive-closing__inner > div:first-child > span {
  display: block;
  color: #976321;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .13em;
  line-height: 1.25;
  text-transform: uppercase;
}

.archive-hero h1,
.archive-section-heading h2,
.atlas-heading h2,
.archive-closing h2 {
  margin: 0;
  color: var(--archive-ink);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.archive-hero h1 {
  margin-top: 12px;
  font-size: clamp(4rem, 7vw, 6.7rem);
  line-height: .9;
}

.archive-hero__copy > p {
  max-width: 590px;
  margin: 26px 0 30px;
  color: #364d62;
  font-size: 1.14rem;
  line-height: 1.72;
}

.archive-search {
  display: block;
  max-width: 590px;
}

.archive-search label {
  display: block;
  margin-bottom: 9px;
  color: #273d51;
  font-size: .77rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.archive-search__control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px;
  min-height: 56px;
  border: 1px solid #8ca9bd;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 30px rgba(34, 57, 75, .12);
}

.archive-search input {
  width: 100%;
  min-width: 0;
  padding: 0 18px;
  color: #172a3e;
  background: transparent;
  border: 0;
  border-radius: 0;
  font: inherit;
}

.archive-search button {
  display: grid;
  place-items: center;
  padding: 0;
  color: #12263a;
  background: var(--archive-gold);
  border: 0;
  border-left: 1px solid #b17e26;
  border-radius: 0;
  font-size: 2rem;
  font-weight: 900;
  cursor: pointer;
}

.archive-search button:hover,
.archive-search button:focus-visible {
  background: #e6b653;
}

.archive-hero__quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.archive-hero__quicklinks a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 13px;
  color: #1f4e70;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(155, 113, 44, .58);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(24, 51, 72, .08), inset 0 -2px 0 rgba(197, 142, 49, .12);
  font-size: .82rem;
  font-weight: 850;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.archive-hero__quicklinks a::after {
  content: "\2192";
  margin-left: 9px;
  color: #9b6614;
  font-size: 1rem;
  line-height: 1;
}

.archive-hero__quicklinks a:hover,
.archive-hero__quicklinks a:focus-visible {
  color: #173f5c;
  background: #fffdf7;
  border-color: #bc8122;
  box-shadow: 0 7px 16px rgba(24, 51, 72, .12), inset 0 -2px 0 rgba(197, 142, 49, .2);
  transform: translateY(-1px);
}

.archive-hero__quicklinks a:focus-visible {
  outline: 2px solid #d49a36;
  outline-offset: 2px;
}

.archive-era {
  position: relative;
  z-index: 2;
  padding: 14px 0 18px;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #c4d3dc;
  box-shadow: 0 12px 32px rgba(24, 51, 72, .08);
}

.archive-era__bar {
  margin-bottom: 10px;
}

.archive-era__bar p {
  margin: 0;
}

.archive-era__bar p strong {
  color: #21394d;
  font-size: .78rem;
  text-transform: uppercase;
}

.archive-era__carousel {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 10px;
}

.archive-era__arrow {
  width: 34px;
  height: 58px;
  padding: 0;
  color: #173b55;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: color .16s ease, background-color .16s ease;
}

.archive-era__arrow:hover,
.archive-era__arrow:focus-visible {
  color: #8e5d12;
  background: rgba(225, 169, 67, .12);
}

.archive-era__arrow:focus-visible {
  outline: 2px solid #d49a36;
  outline-offset: 1px;
}

.archive-era__arrow:disabled {
  color: #b8c5cd;
  background: transparent;
  cursor: default;
}

.archive-era__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.archive-era__viewport::-webkit-scrollbar {
  display: none;
}

.archive-era__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 220px;
  gap: 8px;
  width: max-content;
  min-width: max-content;
}

.archive-era__track a {
  position: relative;
  min-height: 82px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 12px 14px 12px 29px;
  color: #273b4d;
  background: #fbfcfc;
  border: 1px solid #d4e0e6;
  border-radius: 3px;
  text-decoration: none;
  scroll-snap-align: start;
}

.archive-era__track a::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 50%;
  width: 6px;
  height: 6px;
  border: 2px solid var(--archive-gold);
  border-radius: 50%;
  transform: translateY(-50%);
}

.archive-era__track span,
.archive-era__track small {
  color: #73879a;
  font-size: .65rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.archive-era__track strong {
  overflow: hidden;
  font-family: Georgia, "Times New Roman", serif;
  font-size: .98rem;
  line-height: 1.1;
}

.archive-era__track a:hover,
.archive-era__track a:focus-visible {
  color: #0d3654;
  background: #eef6fa;
  border-color: #a9c1cf;
}

.archive-shelves {
  padding: 0;
  background: #f5f9fc;
  border-top: 1px solid #cbd9e4;
  border-bottom: 1px solid #cbd9e4;
}

.archive-section-heading,
.atlas-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.archive-section-heading h2,
.atlas-heading h2 {
  margin-top: 7px;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1;
}

.archive-library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(300px, 1.17fr);
  gap: 0;
  align-items: stretch;
  border-left: 1px solid #d2dfe8;
  border-right: 1px solid #d2dfe8;
}

.archive-index-column {
  position: relative;
  min-width: 0;
  min-height: 412px;
  display: flex;
  flex-direction: column;
  padding: 30px 30px 28px;
  color: #1a3045;
  background: rgba(255, 255, 255, .56);
  border-right: 1px solid #d2dfe8;
  overflow: hidden;
}

.archive-index-column__heading {
  display: flex;
  align-items: center;
  gap: 17px;
  min-height: 60px;
}

.archive-index-column__icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  color: #d5a22f;
  background: #061b2d;
  border: 1px solid #163f60;
  border-radius: 50%;
  box-shadow: 0 7px 18px rgba(22, 56, 79, .12);
}

.archive-index-column__icon svg {
  width: 27px;
  height: 27px;
}

.archive-index-column h3 {
  position: relative;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.62rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.archive-index-column h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -11px;
  width: 72px;
  height: 2px;
  background: #d5a22f;
}

.archive-index-column h3 a {
  color: #10263b;
  text-decoration: none;
}

.archive-index-column > p {
  position: relative;
  z-index: 1;
  min-height: 74px;
  margin: 25px 0 15px;
  color: #334b60;
  font-size: .87rem;
  line-height: 1.55;
}

.archive-index-column__links {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.archive-index-column__links a {
  position: relative;
  display: block;
  padding: 7px 5px 7px 17px;
  color: #145a9b;
  font-size: .78rem;
  line-height: 1.25;
  text-decoration: none;
}

.archive-index-column__links a::before {
  content: "›";
  position: absolute;
  left: 1px;
  top: 6px;
  color: #1764aa;
  font-size: 1rem;
  font-weight: 800;
}

.archive-index-column__links a:hover,
.archive-index-column__links a:focus-visible,
.archive-index-column h3 a:hover,
.archive-index-column h3 a:focus-visible {
  color: #b77c13;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.archive-index-column__more {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 16px;
  color: #0f5fa8;
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none;
}

.archive-index-column__more::after {
  content: "›";
  font-size: 1.05rem;
}

.archive-index-column__watermark {
  position: absolute;
  z-index: 0;
  right: 9px;
  bottom: 4px;
  width: 118px;
  height: 118px;
  color: #7794ac;
  opacity: .09;
  pointer-events: none;
}

.archive-forum {
  min-width: 0;
  min-height: 412px;
  display: flex;
  flex-direction: column;
  padding: 28px 25px 26px;
  color: #2c465d;
  background: linear-gradient(135deg, #edf5fb, #e3eff8);
}

.archive-forum__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.archive-forum__heading > div > span {
  color: #365571;
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.archive-forum__heading h3 {
  margin: 6px 0 0;
  color: #11283d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.48rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.archive-forum__heading > a {
  flex: 0 0 auto;
  margin-top: 1px;
  color: #0f61ab;
  font-size: .72rem;
  text-decoration: none;
}

.archive-forum__list {
  margin-top: 14px;
  border-top: 1px solid #c5d7e4;
}

.archive-forum__list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 53px;
  padding: 9px 0;
  color: #253d52;
  border-bottom: 1px solid #c5d7e4;
  text-decoration: none;
}

.archive-forum__list a > span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.archive-forum__list strong {
  overflow: hidden;
  color: #142a3d;
  font-size: .76rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.archive-forum__list small {
  color: #5d7890;
  font-size: .61rem;
}

.archive-forum__list b {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #1265af;
  font-size: .66rem;
}

.archive-forum__list b svg {
  width: 13px;
  height: 13px;
}

.archive-forum__button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 15px;
  color: #0f61ab;
  background: none;
  border: 0;
  font-size: .74rem;
  font-weight: 800;
  text-decoration: none;
}

.archive-forum__button::after {
  content: "›";
  font-size: 1rem;
}

.archive-library-more {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #263e53;
  background: rgba(255, 255, 255, .5);
  border-right: 1px solid #d2dfe8;
  border-bottom: 0;
  border-left: 1px solid #d2dfe8;
  font-size: .72rem;
  text-decoration: none;
}

.archive-library-more span {
  color: #6f89a0;
  font-size: 1.1rem;
  line-height: 1;
}

.archive-closing a {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: auto;
  padding: 9px 16px;
  color: #16283a;
  background: linear-gradient(180deg, #efc45f, #daa13a);
  border: 1px solid #b98428;
  border-radius: 3px;
  font-size: .82rem;
  font-weight: 900;
  text-decoration: none;
}

.wiki-atlas {
  scroll-margin-top: 130px;
  padding: 92px 0 106px;
  color: #edf5f9;
  background:
    linear-gradient(180deg, rgba(12, 36, 55, .98), rgba(16, 48, 71, .99)),
    url("/assets/guild-values-bg.png") center / cover;
  border-top: 1px solid #416c89;
  border-bottom: 1px solid #416c89;
}

.atlas-heading {
  max-width: 880px;
}

.atlas-heading > span,
.atlas-discoveries > header > span {
  color: #a8d2eb;
}

.atlas-heading h2 {
  color: #fff7e8;
}

.atlas-heading p {
  max-width: 720px;
  margin: 16px 0 0;
  color: #ccdfeb;
  font-size: 1.04rem;
  line-height: 1.7;
}

.atlas-shell {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(320px, .7fr);
  min-height: 0;
  border: 1px solid #7398b0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 22px 52px rgba(0, 0, 0, .28);
}

.atlas-map {
  position: relative;
  min-height: 0;
  aspect-ratio: 3 / 2;
  background: #756f55 url("/assets/wiki-azeroth-world-map.webp") center / cover no-repeat;
  border-right: 1px solid #7897aa;
}

.atlas-map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 70px rgba(15, 37, 51, .22);
}

.atlas-marker {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #11283c;
  text-decoration: none;
  text-shadow: 0 1px 2px #fff, 0 0 7px #fff;
}

.atlas-marker span,
.atlas-map__legend span {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  background: #e9b446;
  border: 3px solid #183c57;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .8);
}

.atlas-marker strong {
  padding: 3px 6px;
  background: rgba(244, 243, 230, .74);
  border-radius: 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: .9rem;
}

.atlas-marker:hover span,
.atlas-marker:focus-visible span {
  background: #fff1a8;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .86);
}

.atlas-marker--draenor { left: 23%; top: 17%; }
.atlas-marker--northrend { left: 50%; top: 16%; }
.atlas-marker--dragon-isles { left: 79%; top: 18%; }
.atlas-marker--kalimdor { left: 28%; top: 55%; }
.atlas-marker--broken-isles { left: 58%; top: 42%; }
.atlas-marker--maelstrom {
  left: 49%;
  top: 46%;
  flex-direction: column;
  gap: 5px;
  transform: translate(-50%, -50%);
}
.atlas-marker--kul-tiras { left: 71%; top: 49%; }
.atlas-marker--zandalar { left: 55%; top: 65%; }
.atlas-marker--kingdoms { left: 86%; top: 57%; }
.atlas-marker--pandaria { left: 49%; top: 82%; }
.atlas-marker--outland { left: 13%; top: 82%; }
.atlas-marker--shadowlands { left: 70%; top: 82%; }

.atlas-map__legend {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  color: #153047;
  background: rgba(248, 247, 239, .88);
  border: 1px solid rgba(48, 80, 100, .35);
  border-radius: 2px;
  font-size: .7rem;
  font-weight: 800;
}

.atlas-panel {
  display: flex;
  flex-direction: column;
  padding: 16px;
  color: #263d51;
  background: #f5f7f5;
}

.atlas-panel__tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid #9eb4c3;
}

.atlas-panel__tabs button {
  min-width: 0;
  padding: 11px 5px;
  color: #4c6579;
  background: #edf2f4;
  border: 0;
  border-right: 1px solid #b4c5d0;
  border-radius: 0;
  font-size: .72rem;
  font-weight: 850;
  cursor: pointer;
}

.atlas-panel__tabs button:last-child { border-right: 0; }
.atlas-panel__tabs button[aria-selected="true"] { color: #172b3e; background: #ddb04d; }

.atlas-panel__search {
  display: grid;
  gap: 7px;
  margin-top: 20px;
}

.atlas-panel__search span {
  color: #6b7f8f;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.atlas-panel__search input {
  width: 100%;
  min-height: 45px;
  padding: 0 13px;
  color: #173047;
  background: #fff;
  border: 1px solid #a9bdc9;
  border-radius: 2px;
}

.atlas-panel__groups {
  margin-top: 15px;
}

.atlas-list[hidden],
.atlas-list [hidden] {
  display: none !important;
}

.atlas-list a {
  position: relative;
  display: grid;
  gap: 3px;
  min-height: 44px;
  align-content: center;
  padding: 6px 34px 6px 4px;
  color: #243e53;
  border-bottom: 1px solid #cad7de;
  text-decoration: none;
}

.atlas-list a > span {
  color: #798b98;
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.atlas-list a > strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.18;
}

.atlas-list a > b {
  position: absolute;
  right: 7px;
  top: 50%;
  color: #a27626;
  transform: translateY(-50%);
}

.atlas-list a:hover,
.atlas-list a:focus-visible {
  color: #0f314b;
  background: #e6f0f5;
}

.atlas-list__empty {
  margin: 18px 0;
  color: #657b8d;
}

.atlas-panel__all {
  margin-top: auto;
  padding-top: 18px;
  color: #1a4f72;
  border-top: 1px solid #cad7de;
  font-size: .76rem;
  font-weight: 900;
  text-decoration: none;
}

.atlas-discoveries {
  margin-top: 54px;
}

.atlas-discoveries > header {
  margin-bottom: 20px;
}

.atlas-discoveries h2 {
  margin-top: 5px;
  font-size: 2rem;
}

.atlas-discoveries__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.atlas-discoveries__grid > a {
  min-width: 0;
  display: flex;
  flex-direction: column;
  color: #d9e7ef;
  background: rgba(23, 58, 82, .74);
  border: 1px solid rgba(116, 160, 188, .52);
  border-radius: 3px;
  overflow: hidden;
  text-decoration: none;
}

.atlas-discoveries__image {
  aspect-ratio: 16 / 8;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #2b526e, #172f45);
}

.atlas-discoveries__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.atlas-discoveries__grid small,
.atlas-discoveries__grid strong,
.atlas-discoveries__grid p {
  margin-right: 16px;
  margin-left: 16px;
}

.atlas-discoveries__grid small {
  margin-top: 15px;
  color: #9dc8e2;
  font-size: .63rem;
  font-weight: 850;
  text-transform: uppercase;
}

.atlas-discoveries__grid strong {
  margin-top: 4px;
  color: #fff5e3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.15;
}

.atlas-discoveries__grid p {
  display: -webkit-box;
  margin-top: 9px;
  margin-bottom: 17px;
  overflow: hidden;
  color: #c7dbe7;
  font-size: .76rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.atlas-discoveries__grid > a:hover,
.atlas-discoveries__grid > a:focus-visible {
  border-color: #d7aa49;
  background: rgba(31, 75, 103, .92);
}

.archive-updates {
  padding: 84px 0 96px;
  color: #edf5f9;
  background:
    linear-gradient(180deg, rgba(12, 36, 55, .98), rgba(16, 48, 71, .99)),
    url("/assets/guild-values-bg.png") center / cover;
  border-top: 1px solid #416c89;
  border-bottom: 1px solid #416c89;
}

.archive-updates .atlas-discoveries {
  margin-top: 0;
}

.archive-closing {
  padding: 86px 0 96px;
  background: #f7f8f5;
}

.archive-closing__inner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 80px;
  align-items: start;
}

.archive-closing h2 {
  margin-top: 8px;
  font-size: clamp(2.35rem, 4vw, 3.8rem);
  line-height: 1.02;
}

.archive-closing__inner > div:last-child {
  color: #40596f;
  font-size: 1rem;
  line-height: 1.78;
}

.archive-closing__inner p { margin: 0; }
.archive-closing__inner p + p { margin-top: 16px; }
.archive-closing a { margin-top: 24px; }

.archive-lore {
  padding: 92px 0 104px;
  color: #314b62;
  background: #f7f8f5;
  border-top: 1px solid #d5e0e5;
}

.archive-lore__heading {
  max-width: 940px;
}

.archive-lore__heading > span {
  color: #925f22;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.archive-lore__heading h2 {
  max-width: 900px;
  margin: 10px 0 0;
  color: #17293b;
  font-size: clamp(2.25rem, 4vw, 3.7rem);
  line-height: 1.04;
}

.archive-lore__heading p {
  max-width: 820px;
  margin: 22px 0 0;
  color: #526b80;
  font-size: 1.08rem;
  line-height: 1.75;
}

.archive-lore__content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px 64px;
  margin-top: 62px;
}

.archive-lore__content > section {
  min-width: 0;
  padding-top: 24px;
  border-top: 1px solid #c9d6dd;
}

.archive-lore__content h3 {
  margin: 0 0 14px;
  color: #1b3247;
  font-size: 1.55rem;
  line-height: 1.15;
}

.archive-lore__content p {
  margin: 0;
  font-size: .98rem;
  line-height: 1.82;
}

.archive-lore__content p + p {
  margin-top: 14px;
}

.archive-lore__content a {
  color: #8b541c;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.archive-lore__content .archive-lore__sources {
  grid-column: 1 / -1;
}

@media (max-width: 1050px) {
  .archive-hero__copy { width: 62%; }
  .archive-era__track { grid-auto-columns: 205px; }
  .archive-library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .archive-index-column:nth-child(2) { border-right: 0; }
  .archive-index-column:nth-child(-n + 2) { border-bottom: 1px solid #d2dfe8; }
  .archive-forum { grid-column: 2; min-height: 412px; }
  .archive-forum__button { margin-top: 24px; }
  .atlas-shell { grid-template-columns: 1fr; }
  .atlas-map { border-right: 0; border-bottom: 1px solid #7897aa; }
  .atlas-panel { min-height: 0; }
  .atlas-discoveries__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .wiki-archive-home .wrap { width: min(100% - 28px, 1280px); }
  .archive-hero,
  .archive-hero__inner { min-height: 610px; }
  .archive-hero { background-position: 68% center; }
  .archive-hero__shade {
    background: linear-gradient(90deg, rgba(249, 246, 236, .98) 0%, rgba(249, 246, 236, .92) 68%, rgba(249, 246, 236, .52) 100%);
  }
  .archive-hero__inner { align-items: flex-end; padding-top: 42px; padding-bottom: 42px; }
  .archive-hero__copy { width: 100%; }
  .archive-hero h1 { font-size: clamp(3.2rem, 17vw, 4.7rem); }
  .archive-hero__copy > p { max-width: 94%; font-size: 1rem; line-height: 1.58; }
  .archive-search__control { grid-template-columns: minmax(0, 1fr) 52px; }
  .archive-era__track a { min-height: 78px; padding: 11px 12px 11px 27px; }
  .wiki-atlas,
  .archive-closing,
  .archive-updates,
  .archive-lore { padding: 58px 0 66px; }
  .archive-library-grid { grid-template-columns: 1fr; }
  .archive-index-column,
  .archive-forum { min-height: 0; padding: 25px 22px; border-right: 0; border-bottom: 1px solid #d2dfe8; }
  .archive-index-column > p { min-height: 0; }
  .archive-index-column__links { margin-bottom: 18px; }
  .archive-index-column__watermark { width: 96px; height: 96px; }
  .archive-forum { grid-column: auto; }
  .archive-forum { padding: 24px; }
  .atlas-heading h2,
  .archive-section-heading h2 { font-size: 2.55rem; }
  .atlas-shell { min-height: 0; }
  .atlas-map { min-height: 0; aspect-ratio: 3 / 2; background-size: cover; }
  .atlas-marker strong { font-size: .72rem; }
  .atlas-panel { min-height: 0; padding: 18px; }
  .atlas-panel__tabs button { font-size: .65rem; }
  .atlas-discoveries__grid { grid-template-columns: 1fr; }
  .atlas-discoveries__grid > a { display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto auto 1fr; }
  .atlas-discoveries__image { grid-row: 1 / 4; aspect-ratio: auto; min-height: 140px; }
  .atlas-discoveries__grid small,
  .atlas-discoveries__grid strong,
  .atlas-discoveries__grid p { grid-column: 2; }
  .archive-closing__inner { grid-template-columns: 1fr; gap: 30px; }
  .archive-lore__content { grid-template-columns: 1fr; gap: 34px; margin-top: 42px; }
  .archive-lore__content .archive-lore__sources { grid-column: auto; }
}

@media (max-width: 430px) {
  .archive-hero__quicklinks { gap: 8px; }
  .archive-hero__quicklinks a { min-height: 36px; padding: 7px 9px; font-size: .73rem; }
  .archive-hero__quicklinks a::after { margin-left: 6px; font-size: .88rem; }
  .archive-era { padding-top: 10px; }
  .archive-era__bar p strong { font-size: .67rem; }
  .archive-era__carousel { grid-template-columns: 27px minmax(0, 1fr) 27px; gap: 5px; }
  .archive-era__arrow { width: 27px; font-size: 1.7rem; }
  .archive-era__track { grid-auto-columns: minmax(158px, 64vw); gap: 6px; }
  .atlas-map { min-height: 0; }
  .atlas-marker strong { display: none; }
  .atlas-map__legend { left: 12px; bottom: 12px; }
  .atlas-panel__tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: #7a3c1d;
  text-underline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(1.85rem, 3.1vw, 3.1rem);
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.35rem, 2.1vw, 1.95rem);
  text-wrap: balance;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

p {
  margin: 0;
}

.wrap {
  width: min(1120px, calc(100% - 36px));
  margin-inline: auto;
}

.topbar {
  background: var(--dark);
  color: #ffe6b4;
  border-bottom: 1px solid rgba(255, 230, 180, .22);
}

.topbar .wrap {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.brand {
  color: #ffe6b4;
  font-weight: 900;
  text-decoration: none;
}

.topbar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar nav a {
  color: #d9c49c;
  font-size: .92rem;
  font-weight: 800;
  text-decoration: none;
}

.home-story {
  overflow-x: clip;
  padding: 44px 0 78px;
  background:
    linear-gradient(180deg, rgba(49, 38, 25, .2), rgba(243, 234, 217, .96) 260px, rgba(243, 234, 217, 1)),
    url("https://i.ytimg.com/vi/SewcUECs8Xg/maxresdefault.jpg") center 28% / cover no-repeat;
}

.home-stage {
  position: relative;
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(230px, .28fr);
  gap: 24px;
  align-items: end;
  padding: 42px;
  overflow: hidden;
  color: #fff2d3;
  background:
    linear-gradient(90deg, rgba(18, 12, 8, .96), rgba(25, 17, 11, .78) 48%, rgba(25, 17, 11, .3)),
    url("https://blz-contentstack-images.akamaized.net/v3/assets/blt3452e3b114fab0cd/blt1293dc96274487a1/605e55b8c0625f0ca747a84a/NVMY5Y41YZ9J1541609533301.jpg?auto=webp&quality=75") center / cover no-repeat;
  border: 1px solid rgba(255, 226, 169, .24);
  box-shadow: 0 26px 70px rgba(28, 18, 10, .28);
}

.home-stage::before {
  content: "";
  position: absolute;
  inset: auto 42px 34px 42px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(255, 232, 187, .2));
}

.home-stage-copy {
  position: relative;
  z-index: 1;
}

.home-stage h1 {
  max-width: 820px;
  margin-top: 10px;
  color: #fff4d8;
  font-size: clamp(2.35rem, 6.2vw, 5.6rem);
  text-shadow: 0 4px 22px rgba(0, 0, 0, .46);
}

.home-lead {
  max-width: 760px;
  margin-top: 18px;
  color: #ead6ad;
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
}

.home-stage-meta {
  position: relative;
  z-index: 1;
  padding: 18px 18px 20px;
  background: rgba(18, 12, 8, .72);
  border: 1px solid rgba(255, 226, 169, .24);
}

.home-stage-meta span,
.home-stage-meta small {
  display: block;
  color: #d9c49c;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.home-stage-meta strong {
  display: block;
  margin: 6px 0 10px;
  color: #ffe0a1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.1;
}

.home-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 22px;
  align-items: stretch;
  margin-top: 30px;
}

.home-copy {
  margin-top: 30px;
  padding: 28px 30px;
  background: rgba(255, 248, 235, .9);
  border: 1px solid rgba(80, 54, 28, .16);
  box-shadow: var(--shadow);
  font-size: 1.03rem;
}

.home-intro-grid .home-copy {
  margin-top: 0;
}

.home-copy p + p {
  margin-top: 16px;
}

.home-glossary-teaser {
  align-self: start;
  margin-top: 0;
  padding: 18px 20px;
  background: rgba(43, 27, 19, .92);
  border: 1px solid rgba(255, 226, 169, .22);
  box-shadow: 0 12px 28px rgba(28, 18, 10, .1);
  color: #f5dfb1;
}

.home-glossary-teaser h2 {
  margin-top: 6px;
  color: #fff2d3;
  font-size: clamp(1.05rem, 1.45vw, 1.32rem);
  line-height: 1.15;
}

.home-glossary-teaser p {
  margin-top: 8px;
  color: #d9c49c;
  font-size: .94rem;
  line-height: 1.5;
}

.home-glossary-teaser a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  margin-top: 14px;
  padding: 7px 12px;
  background: var(--gold);
  color: #21150d;
  font-weight: 900;
  text-decoration: none;
}

.home-cinematics-teaser {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px 20px;
  color: #f5dfb1;
  background: rgba(43, 27, 19, .92);
  border: 1px solid rgba(255, 226, 169, .22);
  box-shadow: 0 12px 28px rgba(28, 18, 10, .1);
  text-decoration: none;
}

.home-cinematics-teaser strong {
  color: #fff2d3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.45vw, 1.32rem);
  line-height: 1.15;
}

.home-cinematics-teaser span:last-of-type {
  color: #d9c49c;
  font-size: .94rem;
  line-height: 1.5;
}

.home-cinematics-teaser em {
  width: fit-content;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  padding: 7px 12px;
  background: var(--gold);
  color: #21150d;
  font-style: normal;
  font-weight: 900;
}

.chronicle-head {
  max-width: 940px;
  margin-top: 42px;
}

.chronicle-head h2 {
  margin-top: 8px;
  font-size: clamp(1.65rem, 2.5vw, 2.35rem);
  line-height: 1.05;
}

.chronicle-head p {
  max-width: 940px;
  margin-top: 10px;
  color: var(--muted);
}

.chapter-chronicle {
  position: relative;
  display: grid;
  gap: 14px;
  max-width: 1060px;
  margin-top: 24px;
  padding-left: 42px;
}

.chapter-chronicle::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 9px;
  bottom: 9px;
  width: 3px;
  background: linear-gradient(180deg, #dbc18d, #36a693 26%, #d9a441 62%, #7b6bd6);
  box-shadow: 0 0 18px rgba(217, 164, 65, .24);
}

.chapter-chronicle a {
  position: relative;
  display: grid;
  grid-template-columns: minmax(132px, .19fr) minmax(190px, .25fr) minmax(0, .56fr);
  gap: 18px;
  align-items: start;
  padding: 18px 20px;
  color: var(--ink);
  text-decoration: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .96), rgba(244, 248, 250, .9)),
    linear-gradient(90deg, rgba(127, 169, 199, .14), transparent);
  border: 1px solid rgba(127, 169, 199, .22);
  border-left: 4px solid var(--gold);
  box-shadow: 0 12px 30px rgba(27, 39, 58, .08);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.chapter-chronicle a::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 22px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff8e8;
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 6px rgba(217, 164, 65, .16);
}

.chapter-chronicle a:hover,
.chapter-chronicle a:focus-visible {
  background: #f7fbfd;
  box-shadow: 0 16px 34px rgba(27, 39, 58, .12);
  transform: translateX(4px);
}

.chapter-chronicle a:hover::before,
.chapter-chronicle a:focus-visible::before {
  background: var(--gold);
  border-color: #fff8e8;
}

.chapter-chronicle time {
  color: #7a3c1d;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.chapter-chronicle strong {
  color: #332016;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.16rem;
  line-height: 1.22;
}

.chapter-chronicle span {
  color: #5f4d3b;
  font-size: .97rem;
  line-height: 1.58;
}

.chapter-chronicle a.has-expansion-logo {
  grid-template-columns:
    minmax(116px, .16fr)
    minmax(94px, .13fr)
    minmax(190px, .25fr)
    minmax(0, .46fr);
  gap: 16px;
}

.chapter-expansion-logo {
  align-self: center;
  display: grid;
  width: 100%;
  height: 58px;
  min-width: 0;
  place-items: center;
}

.chapter-expansion-logo img {
  display: block;
  width: 100%;
  max-width: 118px;
  height: 58px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 4px 7px rgba(24, 28, 35, .24));
}

.wow-start-marker {
  position: relative;
  display: grid;
  grid-template-columns: minmax(132px, .19fr) minmax(0, .81fr);
  gap: 18px;
  align-items: center;
  margin: 2px 0 6px;
  padding: 8px 20px 8px 0;
}

.wow-start-marker::before {
  content: "";
  position: absolute;
  left: -37px;
  top: 50%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff8e8 0 34%, #d9a441 36% 62%, #6b421f 64% 100%);
  border: 2px solid #fff2c6;
  box-shadow: 0 0 0 7px rgba(217, 164, 65, .18), 0 0 24px rgba(217, 164, 65, .35);
  transform: translateY(-50%);
}

.wow-start-marker__line {
  height: 1px;
  background: linear-gradient(90deg, rgba(122, 60, 29, 0), rgba(217, 164, 65, .82));
}

.wow-start-marker__content {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 86px;
  padding: 14px 18px;
  background:
    linear-gradient(90deg, rgba(36, 20, 12, .96), rgba(62, 37, 21, .88)),
    radial-gradient(circle at 18% 50%, rgba(217, 164, 65, .24), transparent 46%);
  border: 1px solid rgba(217, 164, 65, .38);
  border-left: 4px solid var(--gold);
  box-shadow: 0 16px 34px rgba(28, 18, 10, .16);
}

.wow-start-marker__content img {
  flex: 0 0 auto;
  display: block;
  width: min(230px, 38vw);
  max-height: 74px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, .38));
}

.wow-start-marker__content strong {
  color: #fff2c6;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.chapter-hero {
  min-height: 390px;
  display: grid;
  align-items: end;
  color: #fff1d2;
  background:
    radial-gradient(circle at 78% 22%, rgba(226, 170, 64, .16), transparent 34%),
    linear-gradient(90deg, rgba(18, 12, 8, .94), rgba(22, 15, 10, .68), rgba(18, 12, 8, .28)),
    var(--bg) center / cover no-repeat;
}

.chapter-hero .wrap {
  padding: 56px 0 42px;
}

.chapter-hero-card {
  width: min(820px, 100%);
  padding: 26px 28px 24px;
  background:
    linear-gradient(90deg, rgba(43, 27, 19, .9), rgba(43, 27, 19, .68)),
    linear-gradient(135deg, rgba(255, 226, 169, .08), rgba(255, 226, 169, 0));
  border: 1px solid rgba(255, 226, 169, .24);
  border-left: 5px solid var(--gold);
  box-shadow: 0 18px 46px rgba(12, 7, 4, .3);
  backdrop-filter: blur(4px);
}

.chapter-hero-card h1 {
  max-width: 760px;
  margin-top: 8px;
  line-height: 1.04;
}

.eyebrow {
  display: inline-block;
  color: #8f4a1d;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-stage .eyebrow,
.chapter-hero .eyebrow,
.glossary-detail-hero .eyebrow,
.chapter-visual-break .eyebrow {
  color: #ffd98d;
}

.glossary-hero .eyebrow,
.chronicle-head .eyebrow {
  color: #7a3415;
}

.chapter-hero p {
  max-width: 760px;
  margin-top: 18px;
  color: #f1d8aa;
  font-size: 1.1rem;
  line-height: 1.68;
}

.chapter-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 226, 169, .18);
}

.chapter-hero-facts span {
  color: #ffd98d;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.chapter-hero-facts a {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 6px 9px;
  color: #ffe8b8;
  background: rgba(255, 248, 235, .08);
  border: 1px solid rgba(255, 226, 169, .2);
  font-size: .82rem;
  font-weight: 900;
  text-decoration: none;
}

.chapter-hero-facts a:hover {
  color: #21150d;
  background: var(--gold);
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(300px, .28fr);
  gap: 34px;
  padding: 48px 0 72px;
}

.layout > * {
  min-width: 0;
}

.layout:has(> .article:only-child) {
  grid-template-columns: 1fr;
}

.layout:has(> .article:only-child) .article {
  width: min(940px, 100%);
  margin-inline: auto;
}

.chapter-layout {
  grid-template-columns: minmax(0, 820px) minmax(240px, 300px);
  align-items: start;
}

.chapter-main {
  min-width: 0;
}

.article {
  min-width: 0;
  max-width: 100%;
  background: rgba(255, 248, 235, .92);
  border: 1px solid rgba(80, 54, 28, .16);
  box-shadow: var(--shadow);
  padding: 38px;
  font-size: clamp(1.02rem, .94rem + .32vw, 1.125rem);
  line-height: 1.76;
}

.article h2 {
  font-size: clamp(1.35rem, 1.9vw, 1.8rem);
}

.article :is(p, ul, ol, figure, .beat-list, .image-row, .video-gallery) + h2,
.article section + section h2 {
  margin-top: clamp(54px, 5.2vw, 76px);
}

.article :is(p, ul, ol, figure, .beat-list, .image-row, .video-gallery) + h3,
.article :is(p, ul, ol, figure, .beat-list, .image-row, .video-gallery) + h4 {
  margin-top: clamp(42px, 4vw, 58px);
}

.article p + p {
  margin-top: 18px;
}

.article :is(p, ul, ol, li) {
  max-width: 78ch;
}

.article :is(figure, .image-row, .video-gallery, .narrative-video-group, .narrative-video-grid, .narrative-raid-story, .chapter-finale, .chapter-anchor-nav) {
  max-width: none;
}

.chapter-context {
  margin: 18px 0 0;
  padding-left: 18px;
  color: #4f3726;
  border-left: 3px solid var(--gold);
}

.narrative-opening {
  margin-bottom: 34px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(80, 54, 28, .16);
}

.narrative-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: #9b5a23;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.narrative-opening h2 {
  max-width: 780px;
  margin-bottom: 16px;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.04;
}

.narrative-storyline {
  margin: 30px 0 36px;
  padding: 28px 30px;
  background:
    linear-gradient(90deg, rgba(255, 248, 235, .98), rgba(248, 236, 216, .86));
  border: 1px solid rgba(80, 54, 28, .16);
  border-left: 5px solid var(--gold);
  box-shadow: 0 14px 34px rgba(28, 18, 10, .09);
}

.narrative-storyline h2 {
  margin-bottom: 16px;
  font-size: clamp(1.45rem, 2.3vw, 2.05rem);
}

.narrative-storyline p {
  font-size: 1.04rem;
  line-height: 1.75;
}

.narrative-storyline p + p {
  margin-top: 15px;
}

.chapter-anchor-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -16px 0 34px;
  padding: 10px;
  background: rgba(43, 27, 19, .92);
  border: 1px solid rgba(255, 226, 169, .2);
  box-shadow: 0 12px 28px rgba(28, 18, 10, .12);
  backdrop-filter: blur(10px);
  scroll-margin-top: 0;
}

.chapter-anchor-nav::before {
  content: "In diesem Kapitel";
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 6px 0 2px;
  color: #f3d79c;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.chapter-anchor-nav a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 10px;
  color: #ffe0a1;
  background: rgba(255, 248, 235, .06);
  border: 1px solid rgba(255, 226, 169, .16);
  font-size: .78rem;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
}

.chapter-anchor-nav a:hover {
  color: #21150d;
  background: var(--gold);
}

.chapter-anchor-nav .chapter-anchor-utility {
  color: #21150d;
  background: var(--gold);
  border-color: rgba(255, 226, 169, .42);
}

.chapter-anchor-nav .chapter-anchor-utility:hover {
  background: #f0d28f;
}

.article h2[id] {
  scroll-margin-top: 82px;
}

.main-story-expansion {
  margin: 42px 0 36px;
  padding-top: 34px;
  border-top: 1px solid rgba(80, 54, 28, .16);
}

.main-story-expansion > h2 {
  max-width: 820px;
  margin-bottom: 26px;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  line-height: 1.08;
}

.main-story-section {
  margin: 34px 0;
}

.main-story-section h2 {
  max-width: 800px;
  font-size: clamp(1.32rem, 1.9vw, 1.75rem);
}

.main-story-section p {
  max-width: 82ch;
}

.raid-beat p + p {
  margin-top: 13px;
}

.narrative-context {
  margin: 38px 0 34px;
  padding: 20px 22px;
  background:
    linear-gradient(90deg, rgba(255, 248, 235, .98), rgba(255, 243, 220, .82)),
    linear-gradient(90deg, rgba(224, 173, 76, .16), transparent);
  border-left: 4px solid var(--gold);
  box-shadow: inset 0 0 0 1px rgba(80, 54, 28, .08);
}

.narrative-context h2 {
  max-width: none;
  margin-bottom: 8px;
  color: #58351e;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: .84rem;
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.narrative-context p {
  max-width: 82ch;
  color: #604832;
  font-size: .98rem;
  line-height: 1.68;
}

.narrative-raid-story {
  margin: 40px 0 38px;
  padding: 28px 30px;
  background:
    linear-gradient(180deg, rgba(255, 248, 235, .98), rgba(248, 236, 216, .88));
  border: 1px solid rgba(80, 54, 28, .16);
  border-top: 4px solid var(--gold);
  box-shadow: 0 14px 34px rgba(28, 18, 10, .09);
}

.narrative-raid-story h2 {
  max-width: 820px;
  margin: 6px 0 12px;
  font-size: clamp(1.45rem, 2.3vw, 2.05rem);
}

.raid-intro {
  max-width: 78ch;
  color: #604832;
  font-size: 1.03rem;
  line-height: 1.7;
}

.raid-beats {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.raid-beat {
  padding: 17px 18px;
  background: rgba(255, 250, 240, .82);
  border-left: 4px solid rgba(224, 173, 76, .85);
  box-shadow: inset 0 0 0 1px rgba(80, 54, 28, .08);
}

.raid-beat h3 {
  margin-bottom: 7px;
  font-size: clamp(1.08rem, 1.6vw, 1.36rem);
}

.raid-beat p {
  color: #4f3a28;
  line-height: 1.68;
}

.narrative-section {
  position: relative;
  padding-left: 20px;
  border-left: 3px solid rgba(224, 173, 76, .32);
}

.narrative-depth {
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid rgba(80, 54, 28, .16);
  opacity: .86;
}

.narrative-motives {
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid rgba(80, 54, 28, .12);
  opacity: .86;
}

.narrative-thread {
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid rgba(80, 54, 28, .12);
  opacity: .86;
}

.glossary-inline-link {
  color: #713716;
  font-weight: inherit;
  text-decoration-color: rgba(217, 164, 65, .7);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.glossary-inline-link:hover {
  color: #21150d;
  background: rgba(224, 173, 76, .2);
}

.glossary-tooltip {
  position: absolute;
  z-index: 80;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  padding: 0;
  color: #f9e8c4;
  background: rgba(33, 21, 13, .97);
  border: 1px solid rgba(226, 170, 64, .42);
  box-shadow: 0 18px 42px rgba(18, 10, 5, .34);
  font-size: .88rem;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity .14s ease, transform .14s ease;
}

.glossary-tooltip.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.glossary-tooltip-media {
  min-height: 142px;
  background:
    linear-gradient(135deg, rgba(226, 170, 64, .18), rgba(226, 170, 64, .03)),
    #1d150f;
}

.glossary-tooltip-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 142px;
  object-fit: cover;
  object-position: center 22%;
}

.glossary-tooltip-copy {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 12px 13px 13px;
}

.glossary-tooltip-type {
  color: #e0ad4c;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.glossary-tooltip strong {
  color: #ffe0a1;
  font-size: 1rem;
  line-height: 1.14;
}

.glossary-tooltip p {
  color: #f0d8ad;
  font-size: .85rem;
  line-height: 1.45;
}

.glossary-tooltip em {
  display: none;
}

.glossary-tooltip-link {
  display: none;
  width: fit-content;
  margin-top: 4px;
  padding: 7px 9px;
  color: #1f140c;
  background: #e0ad4c;
  border: 1px solid rgba(255, 235, 187, .48);
  font-size: .76rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.glossary-tooltip.is-touch .glossary-tooltip-link {
  display: inline-flex;
}

.glossary-tooltip:not(:has(.glossary-tooltip-media)) {
  grid-template-columns: 1fr;
}

.chapter-hero .glossary-inline-link,
.glossary-detail-hero .glossary-inline-link,
.chapter-visual-break .glossary-inline-link,
.video-caption .glossary-inline-link,
.campaign-figure figcaption .glossary-inline-link,
.glossary-detail-image figcaption .glossary-inline-link,
.glossary-detail-media figcaption .glossary-inline-link,
.glossary-detail-side-image figcaption .glossary-inline-link,
.glossary-media-item figcaption .glossary-inline-link,
.media-lightbox figcaption .glossary-inline-link {
  color: #ffe6ad;
  text-decoration-color: rgba(255, 226, 169, .82);
  text-shadow: 0 1px 10px rgba(0, 0, 0, .35);
}

.chapter-hero .glossary-inline-link:hover,
.glossary-detail-hero .glossary-inline-link:hover,
.chapter-visual-break .glossary-inline-link:hover,
.video-caption .glossary-inline-link:hover,
.campaign-figure figcaption .glossary-inline-link:hover,
.glossary-detail-image figcaption .glossary-inline-link:hover,
.glossary-detail-media figcaption .glossary-inline-link:hover,
.glossary-detail-side-image figcaption .glossary-inline-link:hover,
.glossary-media-item figcaption .glossary-inline-link:hover,
.media-lightbox figcaption .glossary-inline-link:hover {
  color: #fff8df;
  background: rgba(255, 226, 169, .14);
}

.chapter-visual-break {
  position: relative;
  margin: 42px 0 34px;
  overflow: hidden;
  color: #fff0c9;
  background: #1d150f;
  border: 1px solid rgba(80, 54, 28, .22);
  box-shadow: 0 18px 44px rgba(28, 18, 10, .16);
}

.chapter-visual-break img {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 8;
  object-fit: cover;
  opacity: .72;
}

.chapter-visual-break::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 12, 8, .88), rgba(18, 12, 8, .26) 62%, rgba(18, 12, 8, .7));
  pointer-events: none;
}

.chapter-visual-break figcaption {
  position: absolute;
  inset: auto 24px 22px 24px;
  z-index: 1;
  max-width: 680px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.18;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .45);
}

.chapter-finale {
  margin: 46px 0 12px;
  padding-top: 28px;
  border-top: 1px solid rgba(80, 54, 28, .16);
}

.chapter-afterword {
  padding: 22px 24px;
  background:
    linear-gradient(90deg, rgba(255, 248, 235, .98), rgba(248, 236, 216, .88)),
    linear-gradient(90deg, rgba(224, 173, 76, .16), transparent);
  border: 1px solid rgba(80, 54, 28, .14);
  border-left: 5px solid var(--gold);
  box-shadow: 0 12px 32px rgba(28, 18, 10, .08);
}

.chapter-afterword p {
  max-width: 82ch;
  color: #4f3a28;
  font-size: 1.02rem;
  line-height: 1.72;
}

.chapter-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.chapter-map-card {
  display: grid;
  gap: 5px;
  min-height: 104px;
  align-content: center;
  padding: 18px;
  color: #ffe0a1;
  background:
    linear-gradient(135deg, rgba(43, 27, 19, .98), rgba(77, 45, 23, .92));
  border: 1px solid rgba(255, 226, 169, .2);
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(28, 18, 10, .12);
}

.chapter-map-card span {
  color: #d9c49c;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.chapter-map-card strong {
  color: #fff3d3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.16rem, 2vw, 1.5rem);
  line-height: 1.08;
}

.chapter-map-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(28, 18, 10, .16);
}

.chapter-glossary-trail {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-top: 14px;
  padding: 14px 16px;
  background: rgba(255, 248, 235, .65);
  border: 1px solid rgba(80, 54, 28, .12);
}

.chapter-glossary-trail span {
  color: #58351e;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.chapter-glossary-trail a {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 9px;
  color: #3a2113;
  background: rgba(224, 173, 76, .2);
  border: 1px solid rgba(155, 90, 35, .2);
  font-size: .86rem;
  font-weight: 850;
  text-decoration: none;
}

.narrative-depth-title {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 7px 10px;
  color: #3a2113;
  background: rgba(224, 173, 76, .24);
  border-left: 4px solid var(--gold);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.narrative-depth-section {
  margin-top: 26px;
}

.narrative-video {
  margin-left: auto;
  margin-right: auto;
}

.narrative-video-group {
  display: grid;
  gap: 18px;
  justify-items: center;
  width: 100%;
  max-width: 780px;
  min-width: 0;
  margin: 18px auto 38px;
}

.narrative-video-group.is-featured-video {
  max-width: 880px;
  margin-top: 20px;
  margin-bottom: 42px;
}

.narrative-video-group.is-video-drawer-group,
.narrative-video-group.is-video-inline-group {
  max-width: 820px;
  gap: 10px;
  margin: 22px auto 34px;
}

.narrative-video-group .inline-video {
  width: min(100%, 760px);
  min-width: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.narrative-video-group.is-featured-video .inline-video {
  width: min(100%, 880px);
  max-width: 880px;
}

.narrative-section h2 {
  max-width: 760px;
}

.narrative-chapter p {
  max-width: 78ch;
  overflow-wrap: break-word;
}

.story-block {
  margin: 30px 0;
}

.story-block h2 {
  margin-bottom: 14px;
}

.lore-aside {
  position: relative;
  margin: 34px 0;
  padding: 22px 24px 22px 26px;
  color: #3c281b;
  background:
    linear-gradient(90deg, rgba(255, 248, 235, .98), rgba(250, 232, 197, .86)),
    radial-gradient(circle at 100% 0, rgba(217, 164, 65, .2), transparent 42%);
  border: 1px solid rgba(122, 60, 29, .18);
  border-left: 5px solid var(--gold);
  box-shadow: 0 14px 28px rgba(28, 18, 10, .08);
}

.lore-aside span {
  display: inline-flex;
  margin-bottom: 8px;
  color: #8d461f;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.lore-aside h2 {
  margin: 0 0 12px;
  font-size: clamp(1.15rem, 1.55vw, 1.45rem);
}

.lore-aside p {
  max-width: 82ch;
  font-size: .98rem;
  line-height: 1.72;
}

.lore-aside p + p {
  margin-top: 12px;
}

.story-expansion {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid rgba(80, 54, 28, .16);
}

.story-expansion .story-block {
  margin: 26px 0 0;
}

.story-expansion .story-block + .story-block {
  margin-top: 34px;
}

.expansion-kicker {
  display: inline-flex;
  margin-bottom: 2px;
  padding: 7px 10px;
  color: #3a2113;
  background: rgba(224, 173, 76, .24);
  border-left: 4px solid var(--gold);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.image-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, .48fr) minmax(0, .52fr);
  gap: clamp(24px, 3vw, 38px);
  align-items: center;
  margin: clamp(38px, 5vw, 58px) 0;
  padding: clamp(16px, 2.4vw, 26px);
  background:
    linear-gradient(90deg, rgba(255, 248, 235, .98), rgba(250, 238, 216, .9)),
    radial-gradient(circle at 0 0, rgba(224, 173, 76, .18), transparent 42%);
  border: 1px solid rgba(80, 54, 28, .14);
  border-left: 5px solid var(--gold);
  box-shadow: 0 18px 42px rgba(28, 18, 10, .1);
}

.image-row::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(80, 54, 28, .06);
  pointer-events: none;
}

.image-row h2 {
  margin-top: 0;
  font-size: clamp(1.36rem, 1.9vw, 1.9rem);
}

.image-row > div {
  position: relative;
  z-index: 1;
  padding: clamp(4px, 1vw, 10px) clamp(2px, 1vw, 8px);
}

.image-row.reverse {
  grid-template-columns: minmax(0, .52fr) minmax(280px, .48fr);
}

.image-row.reverse > .lore-image {
  order: 2;
}

.lore-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  background:
    linear-gradient(135deg, rgba(226, 170, 64, .18), rgba(33, 21, 13, .94)),
    #21150d;
  border: 1px solid rgba(80, 54, 28, .18);
  box-shadow:
    0 18px 38px rgba(28, 18, 10, .18),
    0 0 0 8px rgba(255, 248, 235, .72);
}

.image-row .lore-image[src*="ytimg.com"] {
  object-fit: cover;
}

.image-row .lore-image {
  object-position: var(--media-focus, center 10%);
}

.image-row.chronicle-scene .eyebrow + h2 {
  margin: 10px 0 12px;
}

@media (min-width: 901px) {
  .image-row.chronicle-scene,
  .image-row.chronicle-scene.reverse {
    display: flow-root;
  }

  .image-row.chronicle-scene > .lore-image {
    float: left;
    width: min(44%, 420px);
    margin: 8px clamp(28px, 3vw, 40px) 20px 0;
  }

  .image-row.chronicle-scene.reverse > .lore-image {
    float: right;
    margin: 8px 0 20px clamp(28px, 3vw, 40px);
    order: initial;
  }
}

@media (max-width: 900px) {
  .image-row.chronicle-scene.reverse > .lore-image {
    order: initial;
  }
}

.campaign-figure {
  position: relative;
  margin: 34px auto 38px;
  width: min(100%, 880px);
  overflow: hidden;
  color: #ffe8b7;
  background: #1a0f08;
  border: 1px solid rgba(80, 54, 28, .2);
  box-shadow: 0 18px 42px rgba(28, 18, 10, .16);
}

.campaign-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: var(--media-focus, 50% 50%);
}

.campaign-figure::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(18, 10, 5, .92));
  pointer-events: none;
}

.campaign-figure figcaption {
  position: absolute;
  inset: auto 18px 16px;
  z-index: 1;
  display: grid;
  gap: 5px;
  max-width: 72ch;
  color: #ffe8b7;
  font-size: .96rem;
  font-weight: 760;
  line-height: 1.45;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}

.chapter-media-credit {
  display: inline-flex;
  width: fit-content;
  margin-top: 12px;
  color: #76572f;
  font-size: .76rem;
  font-weight: 760;
  line-height: 1.4;
  text-decoration: none;
  border-bottom: 1px solid rgba(118, 87, 47, .42);
}

.chapter-media-credit:hover,
.chapter-media-credit:focus-visible {
  color: #3f2a18;
  border-bottom-color: currentColor;
}

.campaign-figure figcaption .chapter-media-credit {
  display: block;
  margin-top: 5px;
  color: #f1c974;
  font-size: .7rem;
  font-weight: 650;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .55);
  border-bottom-color: rgba(241, 201, 116, .55);
}

.campaign-figure figcaption .chapter-media-credit:hover,
.campaign-figure figcaption .chapter-media-credit:focus-visible {
  color: #fff3cf;
}

.chapter-media-breakout {
  margin-top: clamp(34px, 5vw, 58px);
  margin-bottom: clamp(28px, 4vw, 44px);
}

.chapter-video-section {
  margin: clamp(34px, 5vw, 58px) 0;
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(127, 169, 199, .22);
  box-shadow: 0 18px 48px rgba(27, 39, 58, .1);
}

.chapter-video-section h2 {
  margin-top: 0;
}

.chapter-video-section > p {
  max-width: 760px;
}

.chapter-video-section .video-gallery {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  width: 100%;
  margin: 22px 0 0;
}

.chapter-video-section .video-card {
  background:
    linear-gradient(180deg, rgba(16, 32, 52, .98), rgba(10, 19, 32, .98));
  border-color: rgba(127, 169, 199, .28);
  box-shadow: 0 14px 32px rgba(20, 52, 82, .18);
}

.chapter-video-section .video-caption {
  color: #f3f7ff;
}

.chapter-video-section .video-note,
.chapter-video-section .video-caption span {
  color: #dbe8f4;
}

.beat-list {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.beat {
  padding: 14px 16px;
  background: var(--panel-2);
  border-left: 4px solid var(--gold);
}

.beat strong {
  display: block;
  margin-bottom: 4px;
}

.side {
  display: grid;
  gap: 16px;
  align-content: start;
}

.side-panel {
  padding: 18px;
  background: var(--panel);
  border: 1px solid rgba(80, 54, 28, .16);
  box-shadow: 0 10px 22px rgba(28, 18, 10, .08);
}

.side-panel h3 {
  font-size: 1.35rem;
}

.side-panel ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.side-panel li + li {
  margin-top: 7px;
}

.video-card {
  width: 100%;
  min-width: 0;
  background: #120d09;
  color: #f7e6c2;
  border: 1px solid rgba(255, 226, 169, .18);
  box-shadow: 0 12px 34px rgba(26, 15, 7, .18);
}

.inline-video {
  width: min(100%, 760px);
  max-width: 760px;
  min-width: 0;
  margin: 26px auto 34px;
}

.inline-video .video-caption {
  font-size: .92rem;
}

.video-frame {
  aspect-ratio: 16 / 9;
  background: #0d0906;
}

iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  border: 0;
}

.video-caption {
  padding: 10px 12px 12px;
  font-size: .86rem;
  font-weight: 850;
  line-height: 1.25;
}

.narrative-video-group.is-featured-video .video-caption {
  padding: 14px 16px 16px;
}

.video-caption strong,
.video-caption span {
  display: block;
}

.video-caption span {
  margin-top: 6px;
  color: #d9c49c;
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.45;
}

.narrative-video-group.is-video-tile-group {
  max-width: 980px;
  gap: 14px;
  margin: 28px auto 40px;
}

.narrative-video-group.is-video-tile-group h3 {
  width: 100%;
  max-width: 980px;
  margin: 0;
  color: #2b1b13;
  font-size: clamp(1.28rem, 2vw, 1.65rem);
  line-height: 1.1;
}

.narrative-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: min(100%, 980px);
}

.narrative-video-tile {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.narrative-video-tile .video-frame {
  width: 100%;
}

.narrative-video-tile .video-caption {
  min-height: 126px;
  padding: 13px 14px 15px;
}

.narrative-video-tile .video-caption span {
  font-size: .9rem;
  line-height: 1.5;
}

.video-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: min(100%, 980px);
  margin: 24px auto;
}

.chapter-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
}

.chapter-nav a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 9px 14px;
  background: #2b1b13;
  color: #ffe0a1;
  font-weight: 850;
  text-decoration: none;
}

.glossary-page {
  padding: 46px 0 76px;
}

.glossary-hero {
  max-width: none;
  margin-bottom: 28px;
}

.glossary-hero h1 {
  margin-top: 8px;
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  line-height: .98;
  white-space: nowrap;
}

.glossary-hero p {
  max-width: none;
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.08rem;
}

.glossary-wiki-hub {
  margin: 0 0 22px;
  padding: 24px;
  background: #f8fafb;
  border: 1px solid #cad8e1;
  box-shadow: 0 12px 30px rgba(27, 44, 64, .08);
}

.glossary-wiki-overview {
  display: grid;
  grid-template-columns: minmax(230px, .72fr) minmax(0, 1.5fr);
  gap: 28px;
  align-items: stretch;
}

.glossary-wiki-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 26px;
  border-right: 2px solid #d9a33c;
}

.glossary-wiki-intro .eyebrow {
  margin-bottom: 10px;
}

.glossary-wiki-total {
  display: block;
  margin-bottom: 8px;
  color: #17364d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  line-height: .9;
}

.glossary-wiki-intro h2 {
  max-width: 290px;
  font-size: clamp(1.38rem, 2.2vw, 1.95rem);
  line-height: 1.04;
}

.glossary-wiki-intro p {
  max-width: 290px;
  margin-top: 10px;
  color: #52697e;
  font-size: .9rem;
  line-height: 1.52;
}

.glossary-wiki-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-content: center;
}

.glossary-wiki-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 16px;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 10px 12px;
  color: #172233;
  background: rgba(255, 255, 255, .82);
  border: 1px solid #cad8e1;
  border-radius: 3px;
  text-align: left;
  box-shadow: none;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

.glossary-wiki-card > span:first-child {
  overflow-wrap: anywhere;
  font-weight: 800;
  line-height: 1.16;
}

.glossary-wiki-card strong {
  color: #667b8d;
  font-size: .82rem;
  white-space: nowrap;
}

.glossary-wiki-arrow {
  color: #9c5b16;
  font-size: 1rem;
  text-align: right;
}

.glossary-wiki-card:hover,
.glossary-wiki-card:focus-visible,
.glossary-wiki-card.is-active,
.glossary-wiki-card[aria-pressed="true"] {
  color: #172233;
  background: #fffaf0;
  border-color: #b17a2a;
}

.glossary-wiki-card.is-active,
.glossary-wiki-card[aria-pressed="true"] {
  box-shadow: inset 3px 0 0 #d9a33c;
}

.glossary-tools {
  position: sticky;
  top: 0;
  z-index: 4;
  margin-bottom: 20px;
  padding: 10px 12px;
  background: rgba(255, 248, 235, .96);
  border: 1px solid rgba(80, 54, 28, .16);
  box-shadow: 0 10px 24px rgba(28, 18, 10, .1);
}

.glossary-search {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr);
  gap: 10px;
  align-items: center;
  color: #58351e;
  font-size: .88rem;
  font-weight: 900;
}

.glossary-search input {
  width: 100%;
  min-height: 36px;
  padding: 0 11px;
  color: var(--ink);
  background: #fffaf0;
  border: 1px solid rgba(80, 54, 28, .24);
  font: inherit;
  font-size: .92rem;
}

.glossary-filters,
.glossary-letters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.glossary-tools button {
  min-height: 28px;
  padding: 0 8px;
  color: #3a2113;
  background: #fff8eb;
  border: 1px solid rgba(80, 54, 28, .2);
  font-size: .78rem;
  font-weight: 850;
  cursor: pointer;
}

.glossary-letters button {
  min-width: 30px;
  padding-inline: 7px;
}

.glossary-tools button.is-active {
  color: #21150d;
  background: var(--gold);
  border-color: #9b5a23;
}

.glossary-count {
  margin: 8px 0 0;
  color: #76533a;
  font-size: .82rem;
  font-weight: 800;
}

.glossary-letter-group {
  margin-top: 34px;
}

.glossary-letter-group > h2 {
  margin-bottom: 14px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(80, 54, 28, .18);
  font-size: clamp(1.45rem, 3vw, 2.15rem);
}

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.glossary-entry {
  overflow: hidden;
  padding: 18px;
  background: rgba(255, 248, 235, .94);
  border: 1px solid rgba(80, 54, 28, .15);
  border-left: 4px solid var(--gold);
  box-shadow: 0 10px 26px rgba(28, 18, 10, .08);
}

.glossary-entry.has-media {
  padding-top: 0;
}

.glossary-entry-media {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0 -18px 16px;
  background: #21150d;
  border-bottom: 1px solid rgba(80, 54, 28, .16);
}

.glossary-entry.has-media .glossary-entry-media {
  background:
    linear-gradient(135deg, rgba(67, 42, 24, .35), rgba(18, 10, 6, .92)),
    #21150d;
}

.glossary-entry-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: var(--glossary-focus, center 32%);
  opacity: .94;
  transition: opacity .18s ease, transform .18s ease;
}

.glossary-entry-real-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 7;
  background:
    linear-gradient(180deg, rgba(16, 9, 5, .04), rgba(16, 9, 5, .18)),
    var(--glossary-img) var(--glossary-focus, center 32%) / cover no-repeat,
    #21150d;
}

.glossary-entry-real-image.is-portrait {
  background:
    linear-gradient(180deg, rgba(16, 9, 5, .04), rgba(16, 9, 5, .18)),
    var(--glossary-img) var(--glossary-focus, center 18%) / cover no-repeat,
    #21150d;
}

.glossary-entry-real-image.is-portrait::before {
  display: none;
}

.glossary-entry-real-image.is-portrait::after {
  display: none;
}

.glossary-entry-real-image.is-portrait img {
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: var(--glossary-focus, center 18%);
  padding: 0;
  filter: none;
}

.glossary-entry-placeholder {
  display: grid;
  aspect-ratio: 16 / 7;
  place-items: center;
  color: #f6dfad;
  background:
    linear-gradient(135deg, rgba(226, 170, 64, .22), rgba(23, 13, 8, .92)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 12px),
    #21150d;
}

.glossary-entry-placeholder span {
  max-width: 82%;
  color: #f6dfad;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 2.3vw, 1.55rem);
  font-weight: 900;
  line-height: 1.08;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .55);
}

.glossary-entry-media:hover img {
  opacity: 1;
  transform: scale(1.025);
}

.glossary-entry-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
}

.glossary-entry h3 {
  font-size: 1.24rem;
}

.glossary-entry span {
  flex: 0 0 auto;
  color: #7a3c1d;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.glossary-entry p {
  color: #5f4d3b;
  line-height: 1.62;
}

.glossary-entry-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-top: 12px;
  padding: 0 12px;
  color: #21150d;
  background: rgba(224, 173, 76, .72);
  border: 1px solid rgba(115, 62, 26, .28);
  font-weight: 850;
  text-decoration: none;
}

.glossary-entry-link:hover {
  background: var(--gold);
}

.glossary-empty {
  padding: 22px;
  background: var(--panel);
  border: 1px solid rgba(80, 54, 28, .16);
  box-shadow: 0 10px 26px rgba(28, 18, 10, .08);
}

.glossary-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  padding: 16px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(54, 82, 112, .14);
  box-shadow: 0 12px 30px rgba(27, 44, 64, .07);
}

.glossary-pagination-pages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.glossary-pagination button {
  min-width: 38px;
  min-height: 36px;
  padding: 0 12px;
  color: #19324a;
  background: rgba(234, 244, 250, .9);
  border: 1px solid rgba(95, 139, 172, .3);
  border-radius: 5px;
  font: inherit;
  font-size: .86rem;
  font-weight: 850;
  cursor: pointer;
}

.glossary-pagination button:hover,
.glossary-pagination button:focus-visible,
.glossary-pagination button.is-active {
  color: #102033;
  background: linear-gradient(180deg, #f1c96d, #d89d38);
  border-color: rgba(179, 117, 16, .55);
}

.glossary-pagination button:disabled {
  opacity: .42;
  cursor: default;
}

.glossary-pagination button:disabled:hover {
  color: #19324a;
  background: rgba(234, 244, 250, .9);
  border-color: rgba(95, 139, 172, .3);
}

.glossary-pagination-status {
  width: 100%;
  color: #516074;
  font-size: .84rem;
  font-weight: 750;
  text-align: center;
}

.glossary-detail-page {
  padding: 28px 0 82px;
}

.glossary-detail-topnav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 10px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(127, 169, 199, .28);
  box-shadow: 0 14px 34px rgba(27, 39, 58, .1);
}

.glossary-detail-topnav a,
.glossary-detail-back {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  color: #102034;
  background: linear-gradient(180deg, #d9ecf8, #b8d7eb);
  border: 1px solid rgba(95, 139, 172, .36);
  font-weight: 900;
  text-decoration: none;
}

.glossary-detail-topnav a:hover,
.glossary-detail-topnav a:focus-visible,
.glossary-detail-back:hover,
.glossary-detail-back:focus-visible {
  color: #07111f;
  background: linear-gradient(180deg, #c9e5f6, #9fc7e2);
  border-color: rgba(71, 119, 156, .52);
}

.glossary-detail-hero {
  position: relative;
  isolation: isolate;
  margin-bottom: 24px;
  padding: clamp(24px, 4vw, 38px);
  color: #fff3cf;
  background:
    linear-gradient(90deg, rgba(32, 18, 11, .96), rgba(44, 26, 16, .82)),
    url("https://bnetcmsus-a.akamaihd.net/cms/template_resource/F65XK7AW4VYF1466186580055.jpg") center / cover;
  border: 1px solid rgba(80, 54, 28, .2);
  box-shadow: var(--shadow);
}

.glossary-detail-hero.has-visual-anchor {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: clamp(10px, 2vw, 22px);
  align-items: center;
  min-height: 250px;
  margin-top: 28px;
  margin-left: clamp(18px, 4vw, 54px);
  padding: clamp(26px, 4vw, 42px) clamp(24px, 4vw, 44px) clamp(26px, 4vw, 42px) clamp(82px, 10vw, 126px);
}

.glossary-detail-hero.has-visual-anchor::before {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: -1;
  border: 1px solid rgba(255, 229, 166, .14);
  pointer-events: none;
}

.glossary-hero-visual {
  position: relative;
  align-self: center;
  width: min(290px, 34vw);
  margin: -54px 0 -54px calc(clamp(82px, 10vw, 126px) * -1 - 18px);
  overflow: hidden;
  background: #21150d;
  border: 1px solid rgba(255, 226, 169, .24);
  box-shadow: 0 22px 48px rgba(10, 6, 3, .36);
}

.glossary-hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: var(--glossary-focus, 50% 28%);
  background:
    radial-gradient(circle at 50% 24%, rgba(226, 170, 64, .16), transparent 32%),
    #21150d;
}

.glossary-hero-copy {
  max-width: 820px;
}

.glossary-detail-hero h1 {
  max-width: 900px;
  margin-top: 8px;
  color: #fff8df;
  font-size: clamp(2rem, 4.4vw, 3.7rem);
  line-height: 1.02;
}

.glossary-detail-hero p {
  max-width: 78ch;
  margin-top: 12px;
  color: #f2ddb5;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.62;
}

.glossary-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 780px) minmax(270px, 320px);
  gap: clamp(22px, 3vw, 32px);
  align-items: start;
}

.glossary-detail-main.article {
  padding: clamp(24px, 3.4vw, 40px);
  font-size: clamp(1.01rem, .96rem + .18vw, 1.08rem);
  line-height: 1.72;
}

.glossary-detail-main.article h2 {
  margin: clamp(68px, 6.4vw, 92px) 0 16px;
  color: #24160f;
  font-size: clamp(1.34rem, 1.55vw, 1.7rem);
  line-height: 1.18;
  letter-spacing: 0;
}

.glossary-detail-main.article h3 {
  margin: clamp(54px, 5vw, 72px) 0 12px;
  color: #2a190f;
  font-size: clamp(1.16rem, 1.25vw, 1.38rem);
  line-height: 1.22;
}

.glossary-detail-main.article h4 {
  margin: clamp(44px, 4vw, 60px) 0 10px;
  color: #372316;
  font-size: clamp(1.05rem, 1.05vw, 1.2rem);
  line-height: 1.24;
}

.glossary-detail-main.article h2:first-child {
  margin-top: 0;
}

.glossary-detail-main.article p,
.glossary-detail-main.article li {
  max-width: 74ch;
}

.glossary-detail-main.article p + p {
  margin-top: 18px;
}

.glossary-detail-main.article :is(figure, .glossary-video-section, .glossary-video-grid) {
  max-width: none;
}

.glossary-detail-card,
.glossary-detail-side {
  background: rgba(255, 248, 235, .94);
  border: 1px solid rgba(80, 54, 28, .14);
  box-shadow: 0 12px 34px rgba(28, 18, 10, .08);
}

.glossary-detail-card {
  padding: clamp(24px, 3.4vw, 40px);
}

.glossary-detail-image,
.glossary-detail-media {
  width: min(620px, 100%);
  margin: 0 auto 30px;
  overflow: hidden;
  background: #21150d;
  border: 1px solid rgba(80, 54, 28, .18);
  box-shadow: 0 14px 34px rgba(28, 18, 10, .14);
}

.glossary-detail-media.is-portrait,
.glossary-detail-main-image.is-portrait {
  width: min(440px, 100%);
}

.glossary-detail-image img,
.glossary-detail-media img {
  display: block;
  width: 100%;
  max-height: min(420px, 58vh);
  object-fit: contain;
  object-position: var(--glossary-focus, center center);
  background:
    radial-gradient(circle at 50% 24%, rgba(226, 170, 64, .14), transparent 32%),
    #21150d;
}

.glossary-detail-image:not(.is-portrait) img {
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.glossary-detail-media.is-portrait img,
.glossary-detail-main-image.is-portrait img {
  max-height: min(520px, 68vh);
}

.glossary-detail-main-image.is-portrait {
  display: none;
}

.glossary-detail-side-image {
  display: none;
  overflow: hidden;
  margin: 0 0 18px;
  background: #21150d;
  border: 1px solid rgba(80, 54, 28, .18);
  box-shadow: 0 12px 28px rgba(28, 18, 10, .12);
}

.glossary-detail-side-image.is-portrait {
  display: block;
}

.glossary-detail-side-image img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  background:
    radial-gradient(circle at 50% 24%, rgba(226, 170, 64, .14), transparent 32%),
    #21150d;
}

.glossary-detail-side-image figcaption {
  padding: 9px 12px;
  color: #f6dfad;
  background: #21150d;
  font-size: .82rem;
  line-height: 1.4;
}

.glossary-detail-placeholder > div {
  display: grid;
  aspect-ratio: 16 / 7;
  place-items: center;
  color: #f6dfad;
  background:
    radial-gradient(circle at 24% 28%, rgba(226, 170, 64, .26), transparent 34%),
    linear-gradient(135deg, rgba(226, 170, 64, .22), rgba(23, 13, 8, .96)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 14px),
    #21150d;
}

.glossary-detail-placeholder span {
  max-width: 82%;
  color: #fff5d6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 6vw, 4.6rem);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .62);
}

.glossary-detail-image figcaption,
.glossary-detail-media figcaption {
  padding: 10px 14px;
  color: #f6dfad;
  background: #21150d;
  font-size: .9rem;
}

.glossary-detail-image figcaption a,
.glossary-detail-media figcaption a {
  color: #f6dfad;
  text-decoration-color: rgba(246, 223, 173, .55);
}

.glossary-detail-section + .glossary-detail-section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid rgba(80, 54, 28, .14);
}

.glossary-detail-section h2,
.glossary-detail-side h2 {
  margin-bottom: 10px;
  font-size: clamp(1.28rem, 2vw, 1.72rem);
  line-height: 1.12;
}

.glossary-detail-side h2 {
  font-size: clamp(1.15rem, 1.55vw, 1.45rem);
}

.glossary-detail-section p,
.glossary-detail-side p {
  color: #3b2a1d;
  font-size: 1rem;
  line-height: 1.68;
}

.glossary-detail-main.article .glossary-detail-section p {
  font-size: inherit;
  line-height: inherit;
}

.glossary-detail-section p + p {
  margin-top: 18px;
}

.glossary-detail-main.article .glossary-detail-section {
  padding-left: 0;
  border-left: 0;
}

.glossary-detail-main.article .glossary-detail-section:first-of-type {
  margin-top: 0;
}

.glossary-detail-main.article .glossary-detail-section + .glossary-detail-section {
  margin-top: clamp(74px, 7vw, 104px);
  padding-top: 0;
  border-top: 0;
}

.glossary-detail-main.article .glossary-detail-section + .glossary-detail-section h2 {
  margin-top: 0;
}

.glossary-detail-main.article :is(p, ul, ol) + h2 {
  margin-top: clamp(74px, 7vw, 104px);
}

.glossary-detail-main.article > section {
  margin: 0;
}

.glossary-detail-main.article > figure + section {
  margin-top: 44px;
}

.glossary-detail-main.article > section + section {
  margin-top: clamp(78px, 7.5vw, 112px);
}

.glossary-detail-main.article > section > h2:first-child {
  margin-top: 0;
  margin-bottom: 22px;
}

.glossary-detail-main.article .glossary-inline-link {
  color: #7c3d18;
  font-weight: 500;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  text-decoration-color: rgba(124, 61, 24, .28);
}

.glossary-detail-main.article .glossary-inline-link:hover {
  color: #5f2b12;
  text-decoration-color: currentColor;
}

.glossary-video-section {
  margin-bottom: 28px;
}

.glossary-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.glossary-video-card {
  background: rgba(42, 26, 16, .96);
  border: 1px solid rgba(226, 170, 64, .26);
  box-shadow: 0 14px 30px rgba(28, 18, 10, .16);
}

.glossary-video-frame {
  background: #0b0704;
}

.glossary-video-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.glossary-video-card h3 {
  padding: 14px 16px 0;
  color: #ffe2a2;
  font-size: 1rem;
}

.glossary-video-card p {
  padding: 8px 16px 16px;
  color: #f4dfb9;
  font-size: .95rem;
  line-height: 1.58;
}

.glossary-source-list ul {
  display: grid;
  gap: 8px;
  padding-left: 18px;
}

.glossary-source-list a {
  color: #713716;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.glossary-detail-footer {
  margin-top: clamp(34px, 5vw, 58px);
}

.glossary-media-section {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(80, 54, 28, .14);
}

.glossary-media-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.glossary-media-head h2 {
  margin: 4px 0 0;
}

.glossary-detail-main.article .glossary-media-head h2 {
  margin: 4px 0 0;
  font-size: clamp(1.24rem, 1.5vw, 1.55rem);
  line-height: 1.15;
}

.glossary-media-controls {
  display: flex;
  gap: 8px;
}

.glossary-media-controls button {
  min-height: 34px;
  padding: 0 12px;
  color: #21150d;
  background: var(--gold);
  border: 1px solid rgba(80, 54, 28, .22);
  font-weight: 850;
  cursor: pointer;
}

.glossary-media-controls button:disabled {
  cursor: default;
  opacity: .42;
}

.glossary-media-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 8px;
  grid-auto-flow: dense;
  align-items: start;
  gap: 14px;
}

.glossary-media-item {
  grid-column: span 3;
  overflow: hidden;
  margin: 0;
  background: #21150d;
  border: 1px solid rgba(80, 54, 28, .18);
  box-shadow: 0 10px 24px rgba(28, 18, 10, .1);
}

.glossary-media-item[hidden] {
  display: none;
}

.glossary-media-item.is-wide {
  grid-column: 1 / -1;
}

.glossary-media-item.is-landscape,
.glossary-media-item.is-square {
  grid-column: span 3;
}

.glossary-media-item.is-portrait {
  grid-column: span 2;
}

.glossary-media-open {
  display: grid;
  place-items: center;
  min-height: 0;
  color: inherit;
  background:
    radial-gradient(circle at 50% 25%, rgba(226, 170, 64, .12), transparent 36%),
    #21150d;
  cursor: zoom-in;
}

.glossary-media-item img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  background: #21150d;
}

.glossary-media-item figcaption {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  color: #f6dfad;
  background: #21150d;
  font-size: .86rem;
  line-height: 1.4;
}

.glossary-media-item figcaption a {
  color: #ffe3a5;
  text-decoration-color: rgba(255, 227, 165, .55);
  text-underline-offset: .2em;
}

.has-media-lightbox {
  overflow: hidden;
}

.media-lightbox[hidden] {
  display: none;
}

.media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 36px);
  background: rgba(15, 9, 5, .9);
}

.media-lightbox figure {
  display: grid;
  gap: 10px;
  max-width: min(96vw, 1400px);
  max-height: 92vh;
  margin: 0;
}

.media-lightbox img {
  display: block;
  max-width: min(96vw, 1400px);
  max-height: 84vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  background: #21150d;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .48);
}

.media-lightbox figcaption {
  max-width: min(96vw, 980px);
  margin: 0 auto;
  color: #f6dfad;
  font-size: .94rem;
  line-height: 1.45;
  text-align: center;
}

.media-lightbox-close {
  position: fixed;
  top: 16px;
  right: 16px;
  min-height: 38px;
  padding: 0 14px;
  color: #21150d;
  background: var(--gold);
  border: 1px solid rgba(255, 244, 211, .36);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
}

.glossary-source-box {
  width: min(760px, 100%);
  margin: 34px auto 0;
  padding: 14px 16px;
  color: #4d3828;
  background:
    linear-gradient(90deg, rgba(255, 248, 235, .98), rgba(247, 230, 198, .82));
  border: 1px solid rgba(80, 54, 28, .14);
  border-left: 4px solid rgba(224, 173, 76, .72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .34);
}

.glossary-source-box h2 {
  margin: 0 0 6px;
  color: #58351e;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.glossary-detail-main.article .glossary-source-box h2 {
  margin: 0 0 6px;
  font-size: .78rem;
  line-height: 1.2;
}

.glossary-source-box p {
  margin: 0 0 8px;
  font-size: .82rem;
  line-height: 1.55;
}

.glossary-detail-main.article .glossary-source-box p,
.glossary-detail-main.article .glossary-source-box a {
  max-width: none;
}

.glossary-source-box a {
  color: #713716;
  font-size: .82rem;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.glossary-detail-side {
  position: sticky;
  top: 76px;
  padding: 18px;
}

.glossary-detail-side section + section {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(80, 54, 28, .14);
}

.glossary-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.glossary-detail-tags span {
  padding: 4px 8px;
  color: #5b321a;
  background: rgba(224, 173, 76, .2);
  border: 1px solid rgba(80, 54, 28, .12);
  font-size: .78rem;
  font-weight: 850;
}

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

.glossary-related-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  min-height: 76px;
  overflow: hidden;
  color: #21150d;
  background: rgba(255, 252, 246, .74);
  border: 1px solid rgba(80, 54, 28, .12);
  border-left: 3px solid var(--gold);
  text-decoration: none;
}

.glossary-related-card:hover {
  background: #fffaf0;
  box-shadow: 0 10px 22px rgba(28, 18, 10, .1);
}

.glossary-related-media,
.glossary-related-placeholder {
  display: block;
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(16, 9, 5, .04), rgba(16, 9, 5, .18)),
    var(--glossary-img) var(--glossary-focus, center 28%) / cover no-repeat,
    #21150d;
}

.glossary-related-placeholder {
  display: grid;
  place-items: center;
  color: #f6dfad;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 900;
}

.glossary-related-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 8px 10px 9px;
}

.glossary-related-copy strong {
  font-size: .95rem;
  line-height: 1.15;
}

.glossary-related-copy span {
  color: #76533a;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.glossary-related-copy em {
  display: -webkit-box;
  overflow: hidden;
  color: #5f4d3b;
  font-size: .78rem;
  font-style: normal;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.chapter-preknowledge {
  position: sticky;
  top: 76px;
  display: block;
  margin: 0;
  padding: 16px;
  background: rgba(255, 248, 235, .94);
  border: 1px solid rgba(80, 54, 28, .14);
  box-shadow: 0 12px 32px rgba(28, 18, 10, .08);
}

.chapter-preknowledge h2 {
  margin-top: 4px;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.05;
}

.chapter-preknowledge p {
  margin: 8px 0 12px;
  color: #6f5940;
  font-size: .86rem;
  line-height: 1.45;
}

.chapter-preknowledge-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.chapter-preknowledge-list a {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px 11px;
  color: #27180f;
  background: rgba(255, 252, 246, .9);
  border-left: 3px solid var(--gold);
  text-decoration: none;
}

.chapter-preknowledge-list a:hover {
  background: #fffaf1;
}

.chapter-preknowledge-list strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: .96rem;
  line-height: 1.1;
}

.chapter-preknowledge-list span {
  color: #8b4b1f;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.chapter-preknowledge-list em {
  color: #6b5138;
  display: -webkit-box;
  overflow: hidden;
  font-size: .86rem;
  font-style: normal;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.video-note {
  margin: 0;
  padding: 0 14px 14px;
  color: #d9c49c;
  font-size: .92rem;
  line-height: 1.55;
}

.cinematic-featured-card .video-note {
  padding: 0 16px 18px;
  font-size: .98rem;
}

.glossary-mentioned-list,
.glossary-network {
  display: grid;
  gap: 9px;
}

.glossary-mentioned-list a {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  color: #2b1b13;
  background: rgba(255, 252, 246, .88);
  border-left: 3px solid var(--gold);
  text-decoration: none;
}

.glossary-mentioned-list a:hover {
  background: #fffaf1;
}

.glossary-mentioned-list strong {
  font-size: .94rem;
  line-height: 1.25;
}

.glossary-mentioned-list span {
  color: #80552d;
  font-size: .78rem;
  font-weight: 750;
}

.glossary-network > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(80, 54, 28, .12);
}

.glossary-network > div:last-child {
  border-bottom: 0;
}

.glossary-network span {
  flex: 1 0 100%;
  color: #8b4b1f;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.glossary-network a {
  padding: 5px 8px;
  color: #3d2415;
  background: rgba(226, 170, 64, .16);
  border: 1px solid rgba(226, 170, 64, .28);
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
}

.cinematic-page {
  padding: 46px 0 76px;
}

.cinematic-results {
  display: grid;
  gap: 30px;
}

.cinematic-chapter {
  padding: 22px;
  background: rgba(255, 248, 235, .9);
  border: 1px solid rgba(80, 54, 28, .14);
  box-shadow: 0 14px 34px rgba(28, 18, 10, .08);
}

.cinematic-chapter-head {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cinematic-chapter-head h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}

.cinematic-chapter-head a {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: #21150d;
  background: var(--gold);
  font-size: .82rem;
  font-weight: 900;
  text-decoration: none;
}

.cinematic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.cinematic-featured-card {
  width: min(940px, 100%);
  margin: 0 auto;
  overflow: hidden;
}

.cinematic-featured-card .video-frame {
  aspect-ratio: 16 / 9;
}

.cinematic-featured-card .video-caption {
  padding: 14px 16px 16px;
  color: #ffe2a2;
  font-size: .98rem;
  line-height: 1.35;
}

.cinematic-secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.cinematic-secondary-card {
  display: grid;
  grid-template-columns: minmax(160px, 42%) minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  background: #120d09;
  border: 1px solid rgba(255, 226, 169, .18);
  box-shadow: 0 12px 28px rgba(26, 15, 7, .14);
}

.cinematic-thumb-link {
  position: relative;
  display: block;
  min-height: 100%;
  color: #21150d;
  background:
    linear-gradient(135deg, rgba(226, 170, 64, .16), rgba(226, 170, 64, .02)),
    #1d150f;
  text-decoration: none;
}

.cinematic-thumb-link img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 138px;
  object-fit: cover;
}

.cinematic-thumb-link span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 7px;
  color: #21150d;
  background: var(--gold);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.cinematic-secondary-copy {
  padding: 14px 15px 16px;
}

.cinematic-secondary-copy h3 {
  color: #ffe2a2;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: .95rem;
  line-height: 1.28;
}

.cinematic-secondary-copy p {
  margin-top: 8px;
  color: #d9c49c;
  font-size: .84rem;
  line-height: 1.5;
}

.button,
.footer-consent-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 14px;
  color: #1f140d;
  background: var(--gold);
  border: 1px solid #b47c23;
  font: inherit;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
}

.footer-consent-link {
  min-height: 0;
  padding: 0;
  color: #7a3c1d;
  background: none;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-media-placeholder,
.consent-thumb-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 170px;
  padding: 18px;
  color: #ffe6b4;
  background:
    linear-gradient(135deg, rgba(217, 164, 65, .18), rgba(29, 21, 15, .12)),
    #120d09;
  text-align: center;
}

.consent-media-placeholder {
  gap: 8px;
}

.consent-media-placeholder strong,
.consent-media-placeholder span {
  display: block;
}

.consent-media-placeholder span {
  max-width: 38ch;
  color: #d9c49c;
  font-size: .92rem;
}

.consent-thumb-placeholder {
  min-height: 138px;
  color: #d9c49c;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.consent-panel {
  position: fixed;
  z-index: 80;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  width: min(760px, calc(100vw - 36px));
  padding: 18px;
  color: #fff4d8;
  background: #21150d;
  border: 1px solid rgba(255, 226, 169, .24);
  box-shadow: 0 22px 60px rgba(20, 12, 7, .36);
}

.consent-panel[hidden],
.consent-backdrop[hidden] {
  display: none;
}

.consent-panel h2,
.consent-dialog h2 {
  margin: 4px 0 8px;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.consent-panel p,
.consent-dialog p,
.consent-option small {
  color: #e3cfaa;
}

.consent-actions,
.consent-dialog__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.consent-dialog {
  width: min(720px, calc(100vw - 28px));
  padding: 0;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid rgba(120, 78, 34, .26);
  box-shadow: 0 22px 70px rgba(20, 12, 7, .38);
}

.consent-dialog::backdrop {
  background: rgba(20, 12, 7, .55);
}

.consent-dialog form {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.consent-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  background: #fffaf0;
  border: 1px solid rgba(120, 78, 34, .18);
}

.consent-option strong,
.consent-option small {
  display: block;
}

.consent-option input {
  width: 22px;
  height: 22px;
}

.consent-history-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.consent-history-list li {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  background: #fffaf0;
  border: 1px solid rgba(120, 78, 34, .18);
}

.consent-history-list strong,
.consent-history-list span,
.consent-history-list small {
  display: block;
}

.consent-history-list span,
.consent-history-list small {
  color: #6c5438;
}

/* Keep the consent controls aligned with the site's light-blue public theme. */
.consent-panel {
  color: #16283c;
  background: #e3f1f8;
  border-color: #86b7ce;
  box-shadow: 0 22px 60px rgba(35, 78, 106, .2);
}

.consent-panel .eyebrow,
.consent-dialog .eyebrow {
  color: #347897;
}

.consent-panel h2,
.consent-dialog h2 {
  color: #17263a;
}

.consent-panel p,
.consent-dialog p,
.consent-option small {
  color: #405d73;
}

.consent-panel .button,
.consent-dialog .button {
  color: #153249;
  background: #c9e6f2;
  border-color: #79aec6;
  box-shadow: none;
}

.consent-panel .button:hover,
.consent-panel .button:focus-visible,
.consent-dialog .button:hover,
.consent-dialog .button:focus-visible {
  color: #10273a;
  background: #b4dbe9;
  border-color: #5b9dbb;
}

.consent-panel .consent-accept-all,
.consent-dialog .consent-accept-all {
  background: #85bdd5;
  border-color: #5797b7;
}

.consent-dialog {
  color: #17263a;
  background: #e8f4f9;
  border-color: #8bbad0;
  box-shadow: 0 22px 70px rgba(35, 78, 106, .24);
}

.consent-dialog::backdrop {
  background: rgba(20, 49, 70, .48);
}

.consent-dialog a {
  color: #286d91;
}

.consent-option,
.consent-history-list li {
  background: #f7fcff;
  border-color: #bdd8e6;
}

.consent-option input {
  accent-color: #4b92b4;
}

.consent-history-list span,
.consent-history-list small {
  color: #506b7d;
}

.privacy-page .article {
  max-width: 860px;
  margin-inline: auto;
}

.legal-original-page {
  padding: 58px 0;
  background: #f7f7f7;
  color: #222;
  font-family: Arial, Helvetica, sans-serif;
}

.legal-original-card {
  width: min(100% - 32px, 1120px);
  margin-inline: auto;
  padding: 34px clamp(20px, 4vw, 56px);
  background: #fff;
  border: 1px solid #e7e2da;
  box-shadow: 0 14px 34px rgba(25, 18, 10, .08);
}

.legal-original-card,
.legal-original-card p,
.legal-original-card li {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.42;
  color: #242424;
}

.legal-original-card h1,
.legal-original-card h2,
.legal-original-card h3,
.legal-original-card h4 {
  font-family: Arial, Helvetica, sans-serif;
  color: #111;
  line-height: 1.25;
  letter-spacing: 0;
}

.legal-original-card h1 {
  margin: 0 0 .85em;
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 700;
}

.legal-original-card h2 {
  margin: 2.15em 0 .75em;
  font-size: clamp(1.42rem, 2.2vw, 2rem);
  font-weight: 700;
}

.legal-original-card h3 {
  margin: 1.8em 0 .7em;
  font-size: 1.2rem;
  font-weight: 700;
}

.legal-original-card h4 {
  margin: 1.55em 0 .55em;
  font-size: 1.05rem;
  font-weight: 700;
}

.legal-original-card a {
  color: #a46b00;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-original-card p {
  margin: 0 0 .48em;
}

.legal-original-card ul,
.legal-original-card ol {
  margin: .8em 0 1.25em 1.55em;
  padding: 0;
}

.legal-original-card li + li {
  margin-top: .35em;
}

.legal-original-card table {
  width: 100%;
  margin: 1.5em 0;
  border-collapse: collapse;
  font-size: .94rem;
}

.legal-original-card th,
.legal-original-card td {
  padding: 10px 12px;
  border: 1px solid #e1ded8;
  vertical-align: top;
}

.legal-original-card .fg-container,
.legal-original-card .container,
.legal-original-card .fg-row,
.legal-original-card .row,
.legal-original-card [class*="col-"] {
  display: block;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}

.legal-original-card .fg-col.col-md-2,
.legal-original-card .fg-col.col-xs-12.col-md-2,
.legal-original-card .fg-bg,
.legal-original-card .ffg-empty-space {
  display: none;
}

.legal-original-card .fg-col.col-md-8,
.legal-original-card .fg-col.col-xs-12.col-md-8,
.legal-original-card .ff-richtext {
  max-width: 850px;
  margin-inline: auto;
}

.legal-original-card .index,
.legal-original-card .m-elements,
.legal-original-card .glossary {
  padding: 16px 18px 16px 34px;
  background: #fafafa;
  border-left: 3px solid #dba73c;
}

.legal-original-card .seal {
  margin-top: 2.4em;
  font-size: .9rem;
  color: #555;
}

@media (max-width: 640px) {
  .legal-original-page {
    padding: 32px 0;
  }

  .legal-original-card {
    width: min(100% - 20px, 1120px);
    padding: 24px 18px;
  }

  .legal-original-card,
  .legal-original-card p,
  .legal-original-card li {
    font-size: 14px;
    line-height: 1.4;
  }

  .legal-original-card .index,
  .legal-original-card .m-elements,
  .legal-original-card .glossary {
    padding: 14px 14px 14px 28px;
  }
}

.cinematic-card {
  display: block;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  background: #120d09;
  border: 1px solid rgba(255, 226, 169, .18);
  box-shadow: 0 14px 34px rgba(26, 15, 7, .18);
}

.cinematic-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  color: #21150d;
  background: #1d150f;
  text-decoration: none;
}

.cinematic-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.cinematic-thumb span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 4px 6px;
  background: var(--gold);
  font-size: .68rem;
  font-weight: 900;
}

.cinematic-card h3 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: .98rem;
  line-height: 1.22;
}

.cinematic-card p {
  margin-top: 7px;
  color: #604832;
  font-size: .86rem;
  line-height: 1.5;
}

.site-footer {
  position: relative;
  margin-top: 0;
  padding: 44px 20px 38px;
  overflow: hidden;
  color: #f7ead0;
  background: #080807;
  text-align: center;
}

.site-footer::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 18%, rgba(255, 255, 255, .045) 18.2% 27%, transparent 27.2% 74%, rgba(255, 255, 255, .045) 74.2% 86%, transparent 86.2%),
    linear-gradient(180deg, #141414, #070707);
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 26px;
  justify-items: center;
  max-width: 960px;
  margin-inline: auto;
}

.site-footer__legal {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  color: #dca63a;
  font-weight: 600;
}

.site-footer a,
.site-footer__link {
  color: #e0a52e;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer__link:hover {
  color: #ffd47c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__consent {
  display: grid;
  gap: 7px;
}

.site-footer__consent p {
  margin: 0 0 6px;
  color: #f6f1e8;
}

.site-footer__link {
  display: block;
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  line-height: 1.25;
  cursor: pointer;
}

.site-footer__copyright {
  margin: 0;
  color: #f7f2e9;
  font-size: .72rem;
}

.privacy-float,
.site-footer__top {
  position: fixed;
  z-index: 70;
  display: grid;
  place-items: center;
  color: #fff;
  border: 0;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .24);
}

.privacy-float {
  left: 18px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  background: #1688a8;
  border-radius: 50%;
  cursor: pointer;
}

.privacy-float svg {
  width: 30px;
  height: 30px;
}

.site-footer__top {
  right: 18px;
  bottom: 18px;
  width: 36px;
  height: 34px;
  color: #c9e5f6;
  background: linear-gradient(180deg, #18314a, #102034);
  border: 1px solid rgba(127, 169, 199, .36);
  border-radius: 4px;
  font-size: 1.35rem;
  line-height: 1;
}

.site-footer__top:hover,
.site-footer__top:focus-visible {
  color: #f3f7ff;
  background: linear-gradient(180deg, #21405f, #142840);
  border-color: rgba(159, 199, 226, .58);
}

body > footer.wrap {
  padding: 28px 0 46px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .home-stage,
  .home-intro-grid,
  .layout,
  .image-row,
  .image-row.reverse {
    grid-template-columns: 1fr;
  }

  .narrative-video-grid {
    grid-template-columns: 1fr;
  }

  .glossary-wiki-overview {
    grid-template-columns: minmax(190px, .65fr) minmax(0, 1.35fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .glossary-hero h1 {
    white-space: normal;
  }

  .glossary-wiki-hub {
    display: block;
    padding: 16px;
  }

  .glossary-wiki-overview {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .glossary-wiki-intro {
    padding: 0 0 16px;
    border-right: 0;
    border-bottom: 2px solid #d9a33c;
  }

  .glossary-wiki-intro h2,
  .glossary-wiki-intro p {
    max-width: none;
  }

  .glossary-wiki-grid {
    grid-template-columns: 1fr;
  }

  .wrap {
    width: min(100% - 24px, 1120px);
  }

  .topbar .wrap {
    display: block;
  }

  .topbar nav {
    margin-top: 8px;
    gap: 8px;
  }

  .topbar nav a {
    flex: 1 1 calc(50% - 8px);
    padding: 6px 0;
  }

  .consent-panel {
    left: 12px;
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr;
    width: auto;
  }

  .consent-actions,
  .consent-dialog__foot {
    justify-content: stretch;
  }

  .consent-actions .button,
  .consent-dialog__foot .button {
    flex: 1 1 100%;
  }

  .site-footer {
    margin-top: 0;
    padding: 38px 18px 82px;
  }

  .privacy-float {
    left: 14px;
    bottom: 14px;
    width: 48px;
    height: 48px;
  }

  .site-footer__top {
    right: 14px;
    bottom: 14px;
  }

  .home-story {
    padding: 38px 0 52px;
  }

  .home-stage {
    min-height: 0;
    padding: 28px 22px 34px;
  }

  .home-stage h1,
  .glossary-hero h1,
  .glossary-detail-hero h1 {
    overflow-wrap: anywhere;
  }

  .home-stage::before {
    inset-inline: 22px;
    bottom: 22px;
  }

  .home-copy {
    padding: 22px;
  }

  .chapter-chronicle {
    padding-left: 27px;
  }

  .chapter-chronicle::before {
    left: 10px;
  }

  .chapter-chronicle a {
    grid-template-columns: minmax(76px, .28fr) minmax(0, .72fr);
    gap: 7px 12px;
    align-items: start;
    padding: 16px;
  }

  .chapter-chronicle a.has-expansion-logo {
    grid-template-columns: 76px 58px minmax(0, 1fr);
    gap: 7px 8px;
    align-items: center;
  }

  .chapter-chronicle a.has-expansion-logo > strong {
    font-size: 1.08rem;
  }

  .chapter-chronicle a > span:last-child {
    grid-column: 1 / -1;
    margin-top: 2px;
  }

  .chapter-expansion-logo {
    height: 34px;
  }

  .chapter-expansion-logo img {
    max-width: 58px;
    height: 34px;
  }

  .chapter-chronicle a::before {
    left: -25px;
    top: 20px;
    width: 14px;
    height: 14px;
  }

  .wow-start-marker {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 4px 0 8px;
  }

  .wow-start-marker::before {
    left: -28px;
    width: 17px;
    height: 17px;
  }

  .wow-start-marker__line {
    display: none;
  }

  .wow-start-marker__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-height: 0;
    padding: 15px;
  }

  .wow-start-marker__content img {
    width: min(230px, 72vw);
    max-height: 66px;
  }

  @media (max-width: 440px) {
    .chapter-chronicle a.has-expansion-logo {
      grid-template-columns: 64px 48px minmax(0, 1fr);
      gap: 7px;
    }

    .chapter-chronicle a.has-expansion-logo > strong {
      grid-column: auto;
      font-size: 1rem;
    }

    .chapter-chronicle a.has-expansion-logo .chapter-expansion-logo {
      justify-self: center;
      width: 48px;
      height: 28px;
    }

    .chapter-chronicle a.has-expansion-logo .chapter-expansion-logo img {
      max-width: 48px;
      height: 28px;
    }
  }

  .chapter-hero {
    min-height: 320px;
  }

  .chapter-hero .wrap {
    padding: 38px 0 30px;
  }

  .chapter-hero p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .layout {
    gap: 22px;
    padding: 28px 0 52px;
  }

  .article {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: clip;
    padding: 18px;
    font-size: .98rem;
    line-height: 1.72;
  }

  .narrative-chapter,
  .narrative-opening,
  .main-story-expansion,
  .story-block,
  .narrative-raid-story,
  .narrative-context,
  .narrative-depth,
  .narrative-motives,
  .narrative-thread {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .article h2,
  .main-story-section h2,
  .narrative-raid-story h2 {
    line-height: 1.12;
  }

  .narrative-opening {
    margin-bottom: 24px;
    padding-bottom: 18px;
  }

  .narrative-opening h2 {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

  .main-story-expansion {
    margin: 28px 0 28px;
    padding-top: 22px;
  }

  .main-story-section {
    margin: 26px 0;
    padding-left: 13px;
  }

  .main-story-section h2 {
    font-size: clamp(1.25rem, 6vw, 1.55rem);
  }

  .narrative-chapter p,
  .main-story-section p,
  .raid-intro,
  .raid-beat p {
    max-width: 100%;
  }

  .narrative-raid-story,
  .narrative-context {
    margin: 28px 0;
    padding: 16px;
  }

  .raid-beat {
    padding: 14px;
  }

  .video-gallery {
    grid-template-columns: 1fr;
  }

  .chapter-anchor-nav {
    flex-wrap: wrap;
    width: calc(100% + 36px);
    max-width: none;
    margin: -8px -18px 26px;
    overflow: visible;
    padding: 9px 10px;
  }

  .chapter-anchor-nav a {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
    min-height: 32px;
    padding: 7px 9px;
    font-size: .74rem;
    text-align: center;
    white-space: normal;
  }

  .chapter-anchor-nav .chapter-anchor-utility {
    flex-basis: calc(50% - 8px);
  }

  .narrative-video-group,
  .narrative-video-group.is-featured-video,
  .narrative-video-group.is-video-drawer-group,
  .narrative-video-group.is-video-inline-group,
  .narrative-video-group.is-video-tile-group {
    width: 100%;
    max-width: 100%;
    margin: 18px auto 28px;
  }

  .narrative-video-group .inline-video,
  .narrative-video-group.is-featured-video .inline-video,
  .inline-video {
    width: 100%;
    max-width: 100%;
  }

  .video-caption {
    padding: 10px 11px 12px;
  }

  .narrative-video-grid {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .narrative-video-tile .video-caption {
    min-height: 0;
  }

  .image-row {
    gap: 16px;
    margin: 26px 0;
  }

  .campaign-figure {
    margin: 26px 0 30px;
    width: 100%;
  }

  .campaign-figure img {
    aspect-ratio: 16 / 9;
  }

  .campaign-figure figcaption {
    position: static;
    padding: 12px 13px 14px;
    background: #1a0f08;
    font-size: .88rem;
    text-shadow: none;
  }

  .campaign-figure::after {
    display: none;
  }

  .chapter-visual-break {
    margin: 30px 0 26px;
  }

  .chapter-visual-break img {
    aspect-ratio: 16 / 9;
  }

  .chapter-visual-break figcaption {
    inset: auto 14px 14px 14px;
    font-size: 1.05rem;
  }

  .chapter-finale {
    margin-top: 34px;
    padding-top: 22px;
  }

  .chapter-afterword {
    padding: 17px;
  }

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

  .chapter-map-card {
    min-height: 88px;
    padding: 16px;
  }

  .chapter-glossary-trail {
    align-items: stretch;
  }

  .chapter-glossary-trail span {
    flex-basis: 100%;
  }

  .chapter-glossary-trail a {
    flex: 1 1 calc(50% - 9px);
    justify-content: center;
    text-align: center;
  }

  .glossary-page {
    padding-top: 30px;
  }

  .glossary-wiki-hub {
    padding: 16px;
  }

  .glossary-wiki-grid {
    grid-template-columns: 1fr;
  }

  .glossary-wiki-card {
    min-height: 54px;
  }

  .glossary-tools {
    position: static;
    padding: 10px;
  }

  .glossary-search {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .glossary-search input {
    min-height: 38px;
  }

  .glossary-filters button,
  .glossary-letters button {
    flex: 0 1 auto;
  }

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

  .glossary-entry {
    padding: 16px;
  }

  .glossary-entry-media {
    margin: 0 -16px 14px;
  }

  .glossary-entry-real-image,
  .glossary-entry-placeholder {
    aspect-ratio: 16 / 8.4;
  }

  .glossary-pagination {
    gap: 6px;
    padding: 12px;
  }

  .glossary-pagination button {
    min-width: 34px;
    min-height: 34px;
    padding: 0 9px;
  }

  .glossary-detail-page {
    padding-top: 20px;
  }

  .glossary-detail-topnav {
    top: 0;
    margin-bottom: 16px;
  }

  .glossary-detail-topnav a {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
    text-align: center;
  }

  .glossary-detail-hero {
    padding: 24px 18px;
  }

  .glossary-detail-hero.has-visual-anchor {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 0 0 18px;
    padding: 18px;
  }

  .glossary-hero-visual {
    width: min(360px, 100%);
    margin: 0 auto;
  }

  .glossary-hero-visual img {
    aspect-ratio: 16 / 10;
    object-position: var(--glossary-mobile-focus, 50% 18%);
  }

  .glossary-detail-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .chapter-preknowledge {
    position: static;
    order: -1;
    margin-top: 0;
    padding: 16px;
  }

  .chapter-preknowledge-list {
    grid-template-columns: 1fr;
  }

  .glossary-detail-card {
    padding: 18px;
  }

  .glossary-detail-media {
    margin-bottom: 22px;
  }

  .glossary-detail-media img {
    max-height: min(440px, 62vh);
  }

  .glossary-source-box {
    margin-top: 30px;
    padding: 15px;
  }

  .glossary-media-head {
    display: grid;
    align-items: start;
  }

  .glossary-media-controls {
    width: 100%;
  }

  .glossary-media-controls button {
    flex: 1 1 0;
  }

  .glossary-media-grid {
    grid-template-columns: 1fr;
  }

  .glossary-media-item,
  .glossary-media-item.is-wide,
  .glossary-media-item.is-landscape,
  .glossary-media-item.is-square,
  .glossary-media-item.is-portrait {
    grid-column: 1 / -1;
  }

  .glossary-detail-main-image.is-portrait {
    display: block;
  }

  .glossary-detail-main-image.is-portrait img {
    aspect-ratio: auto;
    max-height: 520px;
    object-fit: contain;
    background:
      radial-gradient(circle at 50% 24%, rgba(226, 170, 64, .14), transparent 32%),
      #21150d;
  }

  .glossary-detail-side-image.is-portrait {
    display: none;
  }

  .glossary-video-grid {
    grid-template-columns: 1fr;
  }

  .glossary-detail-side {
    position: static;
    padding: 16px;
  }

  .glossary-related-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .cinematic-page {
    padding-top: 30px;
  }

  .cinematic-chapter {
    padding: 16px;
  }

  .cinematic-chapter-head {
    display: grid;
    align-items: start;
  }

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

  .cinematic-secondary-grid {
    grid-template-columns: 1fr;
  }

  .cinematic-secondary-card {
    grid-template-columns: minmax(128px, 38%) minmax(0, 1fr);
  }

  .cinematic-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .chapter-anchor-nav a,
  .chapter-anchor-nav .chapter-anchor-utility {
    flex-basis: 100%;
  }

  .cinematic-secondary-card {
    grid-template-columns: 1fr;
  }

  .cinematic-thumb-link img {
    min-height: auto;
    aspect-ratio: 16 / 9;
  }
}

/* Ehre und StÃ¤rke landing page */
.guild-home {
  overflow: hidden;
  padding-bottom: 4rem;
  background:
    radial-gradient(circle at 10% 10%, rgba(80, 133, 150, .16), transparent 26rem),
    linear-gradient(180deg, #07090c 0%, #10131a 42%, #090b0f 86%, #050608 100%);
  color: #f4efe5;
}

.guild-home ~ .site-footer {
  margin-top: 0;
}

.guild-hero {
  position: relative;
  display: grid;
  min-height: clamp(560px, 76vh, 820px);
  overflow: hidden;
  align-items: end;
  border-bottom: 1px solid rgba(216, 169, 77, .28);
}

.guild-hero-media,
.guild-hero-poster,
.guild-hero iframe,
.guild-hero-shade {
  position: absolute;
  inset: 0;
}

.guild-hero-media {
  z-index: 0;
  background: #050607;
}

.guild-hero-poster {
  background-image: var(--hero-poster);
  background-position: center;
  background-size: cover;
  filter: saturate(1.05) contrast(1.05);
  transform: scale(1.03);
}

.guild-hero iframe {
  top: 50%;
  left: 50%;
  width: max(100%, calc(100vh * 16 / 9));
  height: max(100%, calc(100vw * 9 / 16));
  border: 0;
  opacity: .72;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.guild-hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 6, 7, .93) 0%, rgba(5, 6, 7, .58) 42%, rgba(5, 6, 7, .25) 100%),
    linear-gradient(0deg, rgba(5, 6, 7, .98) 0%, rgba(5, 6, 7, .28) 52%, rgba(5, 6, 7, .82) 100%);
}

.guild-hero-content {
  position: relative;
  z-index: 2;
  padding: 7rem 0 5rem;
}

.section-kicker,
.tile-eyebrow {
  color: #f1cf75;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.guild-hero h1 {
  max-width: 780px;
  margin: .1rem 0 1rem;
  color: #fff8e8;
  font-size: clamp(3.2rem, 7vw, 7.4rem);
  line-height: .92;
  text-shadow: 0 10px 35px rgba(0, 0, 0, .75);
}

.guild-hero-copy {
  max-width: 680px;
  color: #e4dbc9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.guild-hero-actions,
.guild-join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.6rem;
}

.guild-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: .76rem 1rem;
  border: 1px solid transparent;
  font-size: .85rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.guild-button-primary {
  border-color: rgba(241, 207, 117, .72);
  background: linear-gradient(180deg, #d4a042, #8f4a28);
  color: #150f0b;
}

.guild-button-secondary {
  border-color: rgba(244, 239, 229, .34);
  background: rgba(8, 10, 13, .54);
  color: #fff5dc;
}

.guild-quick-links {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: -3.4rem;
}

.guild-feature-tile {
  position: relative;
  display: grid;
  min-height: 260px;
  align-content: end;
  gap: .65rem;
  overflow: hidden;
  padding: 1.2rem;
  color: #f4efe5;
  background: #11161d;
  border: 1px solid rgba(244, 239, 229, .14);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
  text-decoration: none;
}

.guild-feature-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(6, 8, 11, .94) 0%, rgba(6, 8, 11, .3) 58%),
    var(--tile-bg);
  background-position: center;
  background-size: cover;
  transition: transform .18s ease, opacity .18s ease;
}

.guild-feature-tile:hover::before,
.guild-feature-tile:focus-visible::before {
  opacity: .88;
  transform: scale(1.04);
}

.guild-feature-tile > * {
  position: relative;
  z-index: 1;
}

.guild-feature-tile strong {
  color: #fff7e2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  line-height: 1.05;
}

.guild-feature-tile span:last-child {
  color: #d8d0c1;
}

.guild-feature-chronicle {
  --tile-bg: linear-gradient(135deg, rgba(127, 182, 201, .44), rgba(25, 33, 43, .4)), url("/assets/guild-tile-chroniken.jpg");
}

.guild-feature-glossary {
  --tile-bg: linear-gradient(135deg, rgba(95, 155, 105, .48), rgba(25, 33, 43, .35)), url("/assets/guild-tile-glossar.jpg");
}

.guild-feature-guild {
  --tile-bg: linear-gradient(135deg, rgba(185, 71, 50, .48), rgba(25, 33, 43, .35)), url("/assets/guild-tile-gilde.jpg");
}

.guild-intro-section,
.guild-join-section {
  display: grid;
  width: min(1120px, calc(100% - 36px));
  margin: 5rem auto;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.guild-intro-copy h2,
.guild-content-band h2,
.guild-join-copy h2 {
  margin: .1rem 0 1rem;
  color: #fff7e6;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
}

.guild-intro-copy p,
.guild-join-copy p,
.guild-principles p,
.guild-notice-panel p {
  color: #b9b2a5;
}

.guild-notice-panel {
  padding: 1.4rem;
  background:
    linear-gradient(180deg, rgba(216, 169, 77, .12), rgba(127, 182, 201, .08)),
    rgba(17, 22, 29, .9);
  border: 1px solid rgba(216, 169, 77, .34);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
}

.guild-notice-panel span {
  display: block;
  color: #7fb6c9;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.guild-notice-panel strong {
  display: block;
  margin-top: .4rem;
  color: #fff7e2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.1;
}

.guild-content-band {
  border-block: 1px solid rgba(244, 239, 229, .1);
  background:
    linear-gradient(90deg, rgba(127, 182, 201, .08), rgba(185, 71, 50, .08)),
    rgba(17, 22, 29, .72);
}

.guild-band-inner {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding: 4.5rem 0;
}

.guild-principles {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.guild-principles article {
  width: 100%;
  min-width: 0;
  min-height: 220px;
  padding: 1.15rem;
  background: rgba(8, 10, 13, .44);
  border: 1px solid rgba(244, 239, 229, .14);
}

.guild-principles h3 {
  margin: 0 0 .7rem;
  color: #f1cf75;
  font-size: 1.5rem;
}

.guild-join-section {
  margin-bottom: 0;
  padding: 2rem;
  background:
    linear-gradient(100deg, rgba(185, 71, 50, .14), rgba(127, 182, 201, .09)),
    rgba(8, 10, 13, .74);
  border: 1px solid rgba(216, 169, 77, .26);
}

.guild-join-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.content-page {
  width: 100%;
  min-height: 68vh;
  padding: 56px 0 84px;
  background:
    radial-gradient(circle at 18% 8%, rgba(127, 182, 201, .12), transparent 26rem),
    linear-gradient(180deg, #07090c 0%, #10131a 54%, #08090c 100%);
}

.content-page .article {
  width: min(1120px, calc(100% - 36px));
  margin-inline: auto;
  padding: 0;
  color: #f4efe5;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.content-page .article > .eyebrow,
.content-page .article > h1 {
  display: none;
}

.guild-page-hero {
  min-height: 300px;
  display: grid;
  align-content: end;
  padding: clamp(2rem, 6vw, 4.5rem);
  background:
    linear-gradient(100deg, rgba(5, 6, 7, .94), rgba(20, 16, 18, .78) 54%, rgba(8, 10, 13, .52)),
    radial-gradient(circle at 82% 18%, rgba(216, 169, 77, .2), transparent 28rem),
    linear-gradient(135deg, rgba(127, 182, 201, .16), rgba(185, 71, 50, .14));
  border: 1px solid rgba(216, 169, 77, .26);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .32);
}

.guild-page-hero h2 {
  max-width: 820px;
  margin-top: .45rem;
  color: #fff8e8;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  line-height: .96;
}

.guild-page-hero p:last-child {
  max-width: 760px;
  margin-top: 1.1rem;
  color: #d8d0c1;
  font-size: clamp(1.02rem, 1.8vw, 1.24rem);
}

.guild-page-grid,
.guild-page-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.4rem;
}

.guild-page-grid article,
.guild-page-steps article,
.guild-page-callout {
  padding: 1.25rem;
  background:
    linear-gradient(145deg, rgba(17, 22, 29, .94), rgba(34, 20, 18, .74)),
    rgba(8, 10, 13, .86);
  border: 1px solid rgba(244, 239, 229, .14);
}

.guild-page-grid h3,
.guild-page-steps h3,
.guild-page-callout h2 {
  color: #f1cf75;
}

.guild-page-grid p,
.guild-page-steps p,
.guild-page-callout p {
  margin-top: .7rem;
  color: #b9b2a5;
}

.guild-page-steps article {
  position: relative;
  min-height: 220px;
}

.guild-page-steps article span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 1rem;
  color: #160f0b;
  background: linear-gradient(180deg, #f1cf75, #b96c32);
  font-weight: 900;
}

.guild-page-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin-top: 1.4rem;
  border-color: rgba(216, 169, 77, .32);
}

@media (max-width: 900px) {
  .guild-quick-links,
  .guild-intro-section,
  .guild-band-inner,
  .guild-join-section,
  .guild-page-grid,
  .guild-page-steps,
  .guild-page-callout {
    grid-template-columns: 1fr;
  }

  .guild-quick-links {
    margin-top: 1rem;
  }

  .guild-principles {
    grid-template-columns: 1fr;
  }

  .guild-join-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .guild-hero {
    min-height: 610px;
  }

  .guild-hero-content {
    padding: 6rem 0 3.5rem;
  }

  .guild-hero h1 {
    font-size: clamp(2.7rem, 16vw, 4.8rem);
  }

  .guild-feature-tile {
    min-height: 230px;
  }

  .guild-intro-section,
  .guild-join-section {
    margin-block: 3.2rem;
  }
}

/* Option 7: Split Tavern Video */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background:
    linear-gradient(180deg, rgba(49, 28, 14, .96), rgba(22, 13, 8, .98)),
    #1b1009;
  color: #f8dfaa;
  border-bottom: 1px solid rgba(226, 176, 87, .34);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .32);
}

.topbar .wrap {
  width: min(1320px, calc(100% - 32px));
  min-height: 64px;
  padding: 10px 0;
}

.brand {
  color: #f8dfaa;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  letter-spacing: .01em;
}

.topbar nav {
  align-items: center;
  gap: clamp(10px, 1.7vw, 22px);
}

.topbar nav a {
  color: #ead1a2;
  font-size: .82rem;
  font-weight: 800;
}

.topbar nav a:hover,
.topbar nav a:focus-visible {
  color: #fff4d1;
}

.topbar nav a[href$="/admin/"] {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: .35rem .85rem;
  color: #f9e1ac;
  border: 1px solid rgba(226, 176, 87, .58);
  background: rgba(18, 10, 6, .5);
  box-shadow: inset 0 0 18px rgba(226, 176, 87, .08);
}

.guild-home {
  padding-bottom: 0;
  color: #f7ead0;
  background:
    linear-gradient(180deg, rgba(15, 8, 4, .15), rgba(20, 11, 6, .96) 560px, #140c07 100%),
    url("/assets/guild-tavern-hero.png") center top / cover fixed,
    #140c07;
}

.guild-home ~ .site-footer {
  background:
    linear-gradient(180deg, rgba(21, 12, 7, .98), rgba(8, 6, 5, 1)),
    #0b0705;
}

.guild-hero {
  min-height: clamp(620px, 78vh, 860px);
  align-items: center;
  border-bottom: 0;
}

.guild-hero-media {
  background: #130c08;
}

.guild-hero-poster {
  background-position: center;
  filter: saturate(1.08) contrast(1.06) brightness(.86);
  transform: scale(1.02);
}

.guild-hero iframe {
  opacity: .46;
  mix-blend-mode: screen;
  filter: sepia(.16) saturate(.95) brightness(.62);
}

.guild-hero-shade {
  background:
    linear-gradient(90deg, rgba(16, 9, 5, .94) 0%, rgba(26, 14, 8, .72) 48%, rgba(16, 9, 5, .28) 100%),
    linear-gradient(0deg, rgba(15, 8, 4, .94) 0%, rgba(18, 10, 6, .12) 48%, rgba(18, 10, 6, .78) 100%);
}

.guild-hero-content {
  width: min(1320px, calc(100% - 32px));
  padding: clamp(6rem, 11vh, 8.5rem) 0 clamp(7rem, 12vh, 10rem);
}

.guild-hero-content::before {
  content: "";
  position: absolute;
  inset: auto auto clamp(6.2rem, 11vh, 9rem) 0;
  width: min(690px, 100%);
  height: clamp(280px, 34vw, 430px);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 245, 210, .42), transparent 46%),
    linear-gradient(180deg, rgba(243, 218, 164, .96), rgba(187, 134, 66, .92));
  clip-path: polygon(2% 2%, 98% 0, 100% 93%, 95% 96%, 90% 94%, 84% 98%, 78% 95%, 72% 98%, 64% 95%, 56% 98%, 49% 95%, 41% 98%, 34% 95%, 27% 98%, 19% 95%, 12% 98%, 4% 94%, 0 88%, 0 4%);
  border: 1px solid rgba(72, 38, 13, .38);
  box-shadow: 0 26px 80px rgba(0, 0, 0, .48), inset 0 0 44px rgba(68, 35, 11, .2);
}

.guild-hero-content > * {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin-left: clamp(1rem, 4vw, 3rem);
}

.section-kicker,
.tile-eyebrow {
  color: #9a5d1f;
  letter-spacing: .16em;
}

.guild-hero h1 {
  margin-top: .65rem;
  color: #2a1608;
  font-size: clamp(3.6rem, 7.4vw, 7.9rem);
  line-height: .88;
  text-shadow: 0 1px 0 rgba(255, 249, 222, .6);
}

.guild-hero-copy {
  max-width: 560px;
  margin-top: 1rem;
  color: #3a2411;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.guild-hero-actions {
  margin-top: 1.35rem;
}

.guild-button {
  min-width: 150px;
  min-height: 44px;
  border-radius: 3px;
}

.guild-button-primary {
  border-color: rgba(79, 44, 18, .56);
  background: linear-gradient(180deg, #9b5d25, #5d3216);
  color: #fff0c2;
  box-shadow: inset 0 0 0 1px rgba(255, 224, 155, .18), 0 12px 26px rgba(59, 31, 13, .26);
}

.guild-button-secondary {
  border-color: rgba(74, 39, 14, .44);
  background: rgba(74, 39, 14, .12);
  color: #3a210f;
}

.guild-quick-links {
  width: min(1180px, calc(100% - 36px));
  gap: 1.15rem;
  margin-top: -5rem;
}

.guild-feature-tile {
  min-height: 250px;
  align-content: end;
  padding: 1.15rem;
  color: #2c180a;
  background:
    linear-gradient(180deg, rgba(244, 217, 158, .98), rgba(169, 113, 50, .98));
  border: 1px solid rgba(82, 46, 18, .42);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .4), inset 0 0 34px rgba(78, 40, 13, .22);
  clip-path: polygon(2% 1%, 98% 0, 100% 92%, 96% 96%, 90% 94%, 84% 98%, 77% 95%, 70% 98%, 62% 95%, 54% 98%, 46% 95%, 38% 98%, 30% 95%, 22% 98%, 14% 95%, 6% 97%, 0 90%, 0 4%);
}

.guild-feature-tile::before {
  inset: 12px 12px auto;
  height: 112px;
  border: 1px solid rgba(72, 38, 13, .24);
  background:
    linear-gradient(0deg, rgba(27, 13, 6, .25), rgba(27, 13, 6, .08)),
    var(--tile-bg);
  background-position: center;
  background-size: cover;
  opacity: .96;
}

.guild-feature-tile::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #d7a766, #6f3e17 72%);
  box-shadow: 0 8px 16px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 232, 174, .35);
  transform: translate(-50%, -42%);
}

.guild-feature-tile:hover::before,
.guild-feature-tile:focus-visible::before {
  opacity: 1;
  transform: none;
}

.guild-feature-tile > * {
  position: relative;
  z-index: 3;
}

.guild-feature-tile .tile-eyebrow {
  margin-top: 128px;
  color: #81511f;
}

.guild-feature-tile strong {
  color: #2d1707;
  font-size: clamp(1.7rem, 2.7vw, 2.35rem);
  text-shadow: 0 1px 0 rgba(255, 244, 207, .56);
}

.guild-feature-tile span:last-child {
  color: #4d3219;
}

.guild-feature-chronicle {
  --tile-bg: url("/assets/guild-tile-chroniken.jpg");
}

.guild-feature-guild {
  --tile-bg: url("/assets/guild-tile-gilde.jpg");
}

.guild-feature-join {
  --tile-bg: url("/assets/guild-tavern-hero.png");
}

.guild-intro-section,
.guild-join-section {
  width: min(1180px, calc(100% - 36px));
  margin: clamp(4rem, 8vw, 7rem) auto;
  padding: clamp(1.6rem, 3vw, 2.5rem);
  background:
    linear-gradient(180deg, rgba(58, 31, 14, .72), rgba(28, 15, 8, .86));
  border: 1px solid rgba(215, 166, 92, .24);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .3);
}

.guild-intro-copy h2,
.guild-content-band h2,
.guild-join-copy h2 {
  color: #ffe4ad;
}

.guild-intro-copy p,
.guild-join-copy p,
.guild-principles p,
.guild-notice-panel p {
  color: #d8c2a0;
}

.guild-notice-panel {
  background:
    linear-gradient(180deg, rgba(245, 214, 154, .98), rgba(177, 119, 52, .92));
  border-color: rgba(86, 49, 19, .4);
  color: #2d1707;
  box-shadow: inset 0 0 30px rgba(72, 38, 13, .2), 0 18px 52px rgba(0, 0, 0, .28);
}

.guild-notice-panel span,
.guild-notice-panel strong,
.guild-notice-panel p {
  color: #2d1707;
}

.guild-content-band {
  background:
    linear-gradient(180deg, rgba(235, 190, 111, .08), rgba(46, 24, 11, .58)),
    rgba(20, 11, 6, .82);
  border-block-color: rgba(215, 166, 92, .18);
}

.guild-principles article,
.guild-join-section {
  background:
    linear-gradient(180deg, rgba(245, 214, 154, .95), rgba(181, 121, 54, .88));
  border-color: rgba(86, 49, 19, .36);
  color: #2d1707;
}

.guild-principles h3,
.guild-join-copy h2,
.guild-join-copy p {
  color: #2d1707;
}

.guild-join-section .guild-button-secondary {
  color: #fff0c2;
  border-color: rgba(255, 224, 155, .34);
  background: rgba(30, 15, 7, .72);
}

@media (max-width: 900px) {
  .guild-hero-content::before {
    inset-inline: 0;
    margin-inline: auto;
  }

  .guild-hero-content > * {
    margin-inline: auto;
    text-align: center;
  }

  .guild-hero-actions {
    justify-content: center;
  }

  .guild-quick-links {
    margin-top: -3.5rem;
  }
}

@media (max-width: 620px) {
  .topbar {
    position: relative;
  }

  .topbar .wrap {
    align-items: flex-start;
  }

  .topbar nav {
    justify-content: flex-start;
  }

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

  .guild-hero-content {
    padding-top: 5rem;
  }

  .guild-hero-content::before {
    height: 410px;
    inset-bottom: 7rem;
  }

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

  .guild-feature-tile {
    min-height: 245px;
  }
}

/* Option 4: Portal hub with cloud-masked video layer */
.topbar {
  background: rgba(15, 23, 36, .96);
  color: #f5ead3;
  border-bottom: 1px solid rgba(218, 172, 82, .24);
  box-shadow: 0 14px 34px rgba(14, 22, 34, .18);
  backdrop-filter: blur(16px);
}

.topbar .wrap {
  width: min(1360px, calc(100% - 32px));
  min-height: 62px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .58rem;
  color: #f5ead3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
}

.brand-logo {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .34));
}

.topbar nav a {
  color: #e8dcc5;
  font-size: .82rem;
}

.topbar nav a:hover,
.topbar nav a:focus-visible {
  color: #fff7e5;
}

.topbar nav a[href$="/admin/"] {
  color: #1a2434;
  border-color: rgba(231, 180, 80, .88);
  background: linear-gradient(180deg, #f3c765, #d79c37);
  box-shadow: 0 10px 24px rgba(86, 54, 14, .22);
}

.topbar nav .nav-logout {
  border: 1px solid rgba(232, 220, 197, .18);
  border-radius: 4px;
  background: rgba(255, 255, 255, .045);
}

.guild-home {
  padding-bottom: 0;
  color: #1b2433;
  background:
    linear-gradient(180deg, #f5f7f7 0%, #edf2f4 55%, #e6ecef 100%);
}

.guild-home ~ .site-footer {
  background:
    linear-gradient(180deg, #101826, #080c12),
    #080c12;
}

.guild-hero {
  min-height: clamp(560px, 68vh, 760px);
  align-items: center;
  border-bottom: 1px solid rgba(36, 54, 78, .1);
  isolation: isolate;
}

.guild-hero-media {
  overflow: hidden;
  background: #e8f1f5;
}

.guild-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(90deg, #f5f7f7 0%, rgba(245, 247, 247, .98) 30%, rgba(245, 247, 247, .72) 43%, rgba(245, 247, 247, .24) 57%, rgba(245, 247, 247, 0) 70%),
    linear-gradient(0deg, #f5f7f7 0%, rgba(245, 247, 247, .96) 10%, rgba(245, 247, 247, .62) 24%, rgba(245, 247, 247, .2) 40%, rgba(245, 247, 247, 0) 56%);
}

.guild-hero-poster {
  z-index: 0;
  background-position: center;
  filter: saturate(1.04) contrast(1.02) brightness(1.03);
  opacity: 1;
  transform: scale(1.01);
  transition: opacity .5s ease;
}

.guild-hero-media[data-video-loaded="true"] .guild-hero-poster {
  opacity: 0;
}

.guild-hero iframe {
  z-index: 2;
  top: -7%;
  right: -9%;
  left: auto;
  width: min(72vw, 1120px);
  height: min(46vw, 700px);
  min-width: 560px;
  min-height: 315px;
  opacity: .74;
  mix-blend-mode: normal;
  filter: saturate(1.05) contrast(1.12) brightness(1.02);
  transform: none;
  -webkit-mask-image:
    radial-gradient(ellipse at 58% 22%, #000 0 36%, transparent 62%),
    radial-gradient(ellipse at 84% 18%, #000 0 28%, transparent 54%);
  mask-image:
    radial-gradient(ellipse at 58% 22%, #000 0 36%, transparent 62%),
    radial-gradient(ellipse at 84% 18%, #000 0 28%, transparent 54%);
  -webkit-mask-composite: source-over;
  mask-composite: add;
}

.guild-hero-shade {
  background:
    linear-gradient(90deg, rgba(245, 247, 247, .98) 0%, rgba(245, 247, 247, .88) 39%, rgba(245, 247, 247, .22) 72%, rgba(245, 247, 247, .04) 100%),
    linear-gradient(0deg, rgba(245, 247, 247, .92) 0%, rgba(245, 247, 247, .08) 44%, rgba(245, 247, 247, .26) 100%);
}

.guild-hero-content {
  width: min(1360px, calc(100% - 32px));
  padding: clamp(1.25rem, 2.25vh, 1.75rem) 0 clamp(6rem, 11vh, 8.5rem);
}

.guild-hero-content::before {
  content: none;
}

.guild-hero-content > * {
  max-width: 560px;
  margin-left: 0;
  text-align: left;
}

.section-kicker,
.tile-eyebrow {
  color: #b47a22;
  letter-spacing: .13em;
}

.guild-hero h1 {
  margin: .55rem 0 1rem;
  color: #172233;
  font-size: clamp(3.1rem, 6.4vw, 6.8rem);
  line-height: .9;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .66);
}

.guild-hero-copy {
  max-width: 540px;
  color: #344358;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.75vw, 1.28rem);
}

.guild-button {
  min-width: 148px;
  min-height: 44px;
  border-radius: 4px;
}

.guild-button-primary {
  color: #172233;
  border-color: rgba(209, 151, 45, .8);
  background: linear-gradient(180deg, #f1c96d, #d89d38);
  box-shadow: 0 12px 26px rgba(83, 55, 17, .18);
}

.guild-button-secondary {
  color: #26344a;
  border-color: rgba(38, 52, 74, .2);
  background: rgba(255, 255, 255, .62);
}

.guild-quick-links {
  width: min(1120px, calc(100% - 36px));
  gap: 1rem;
  margin-top: -4.2rem;
}

@media (min-width: 1800px) {
  .guild-hero iframe {
    top: -6%;
    right: -1%;
    width: min(60vw, 1540px);
    height: min(33.75vw, 866px);
    opacity: .86;
    -webkit-mask-image:
      radial-gradient(ellipse at 56% 23%, #000 0 48%, transparent 74%),
      radial-gradient(ellipse at 86% 18%, #000 0 38%, transparent 66%);
    mask-image:
      radial-gradient(ellipse at 56% 23%, #000 0 48%, transparent 74%),
      radial-gradient(ellipse at 86% 18%, #000 0 38%, transparent 66%);
  }

  .guild-hero-media::after {
    background:
      linear-gradient(90deg, #f5f7f7 0%, rgba(245, 247, 247, .98) 31%, rgba(245, 247, 247, .76) 43%, rgba(245, 247, 247, .34) 56%, rgba(245, 247, 247, 0) 70%),
      linear-gradient(0deg, #f5f7f7 0%, rgba(245, 247, 247, .96) 12%, rgba(245, 247, 247, .68) 25%, rgba(245, 247, 247, .28) 39%, rgba(245, 247, 247, 0) 55%);
  }

  .guild-hero-shade {
    background:
      linear-gradient(90deg, rgba(245, 247, 247, .98) 0%, rgba(245, 247, 247, .84) 35%, rgba(245, 247, 247, .12) 66%, rgba(245, 247, 247, 0) 100%),
      linear-gradient(0deg, rgba(245, 247, 247, .9) 0%, rgba(245, 247, 247, .06) 42%, rgba(245, 247, 247, .16) 100%);
  }
}

@media (min-width: 2400px) {
  .guild-hero iframe {
    right: 1%;
    width: min(54vw, 1700px);
    height: min(30.375vw, 956px);
  }
}

.guild-feature-tile {
  min-height: 236px;
  padding: 1.18rem;
  overflow: hidden;
  align-content: start;
  grid-template-rows: auto auto auto auto;
  color: #1b2433;
  clip-path: none;
  border: 1px solid rgba(25, 38, 56, .12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(246, 248, 248, .9)),
    #fff;
  box-shadow: 0 24px 70px rgba(27, 39, 58, .14);
}

.guild-feature-tile::before {
  display: none;
}

.guild-feature-tile::after {
  content: "";
  position: relative;
  top: auto;
  left: auto;
  z-index: 2;
  display: block;
  order: -1;
  width: 100%;
  height: 104px;
  margin: 0 0 1rem;
  border: 1px solid rgba(180, 122, 34, .24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(239, 198, 105, .22), rgba(82, 120, 147, .12)),
    #f4f7f8;
  box-shadow: inset 0 0 24px rgba(180, 122, 34, .08);
  transform: none;
}

.guild-feature-tile .tile-eyebrow {
  order: 0;
  margin-top: 0;
  color: #a36d20;
}

.guild-feature-tile strong {
  order: 1;
  color: #172233;
  font-size: clamp(1.5rem, 2.1vw, 2rem);
  text-shadow: none;
}

.guild-feature-tile span:last-child {
  order: 2;
  color: #4e5d70;
}

.guild-feature-tile:hover,
.guild-feature-tile:focus-visible {
  border-color: rgba(180, 122, 34, .34);
  transform: translateY(-2px);
}

.guild-feature-tile:hover::before,
.guild-feature-tile:focus-visible::before {
  transform: none;
}

.guild-feature-chronicle::after {
  background:
    linear-gradient(135deg, rgba(239, 198, 105, .2), rgba(82, 120, 147, .1)),
    url("/assets/guild-card-chroniken.png") center / cover;
}

.guild-feature-guild::after {
  background:
    linear-gradient(135deg, rgba(239, 198, 105, .2), rgba(82, 120, 147, .1)),
    url("/assets/guild-card-gilde.png") center / cover;
}

.guild-feature-join::after {
  background:
    linear-gradient(135deg, rgba(239, 198, 105, .2), rgba(82, 120, 147, .1)),
    url("/assets/guild-card-beitritt.png") center / cover;
}

.guild-feature-guild {
  order: 1;
}

.guild-feature-join {
  order: 2;
}

.guild-feature-chronicle {
  order: 3;
}

.guild-intro-section,
.guild-join-section {
  width: min(1120px, calc(100% - 36px));
  margin: clamp(4rem, 8vw, 6rem) auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.guild-intro-copy h2,
.guild-content-band h2,
.guild-join-copy h2 {
  color: #172233;
}

.guild-intro-copy p,
.guild-join-copy p,
.guild-principles p,
.guild-notice-panel p {
  color: #516074;
}

.guild-notice-panel,
.guild-principles article,
.guild-join-section {
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(25, 38, 56, .11);
  border-radius: 8px;
  color: #172233;
  box-shadow: 0 18px 50px rgba(27, 39, 58, .1);
}

.guild-notice-panel span,
.guild-notice-panel strong,
.guild-notice-panel p,
.guild-principles h3,
.guild-join-copy h2,
.guild-join-copy p {
  color: #172233;
}

.guild-content-band {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .38), rgba(230, 236, 239, .7));
  border-block-color: rgba(25, 38, 56, .08);
}

.guild-principles article {
  min-height: 180px;
}

.guild-join-section {
  padding: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 4rem;
}

.guild-join-section .guild-button-secondary {
  color: #26344a;
  border-color: rgba(38, 52, 74, .18);
  background: rgba(255, 255, 255, .7);
}

@media (max-width: 900px) {
  .guild-hero-shade {
    background:
      linear-gradient(180deg, rgba(245, 247, 247, .72) 0%, rgba(245, 247, 247, .96) 58%, rgba(245, 247, 247, .98) 100%);
  }

  .guild-hero-content > * {
    margin-inline: auto;
    text-align: center;
  }

  .guild-hero-actions {
    justify-content: center;
  }

  .guild-quick-links {
    margin-top: -2.7rem;
  }
}

@media (max-width: 620px) {
  .topbar {
    position: relative;
  }

  .topbar .wrap {
    align-items: flex-start;
  }

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

  .guild-hero iframe {
    right: -40%;
    width: 720px;
    height: 405px;
    opacity: .56;
  }

  .guild-hero-content {
    padding-top: 1.15rem;
  }

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

  .guild-feature-tile {
    min-height: 210px;
  }
}

/* Values section fantasy backdrop */
.guild-content-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(12, 18, 28, .64) 0%, rgba(12, 18, 28, .36) 42%, rgba(12, 18, 28, .16) 100%),
    linear-gradient(0deg, rgba(12, 18, 28, .58), rgba(12, 18, 28, .04) 48%, rgba(12, 18, 28, .32)),
    url("/assets/guild-values-bg.png") center 47% / cover no-repeat;
  border-block-color: rgba(232, 188, 98, .22);
}

.guild-band-inner {
  position: relative;
  z-index: 1;
}

.guild-content-band .section-kicker {
  color: #f0bc58;
}

.guild-content-band h2 {
  color: #fff7e6;
  text-shadow: 0 12px 34px rgba(0, 0, 0, .38);
}

.guild-content-band .guild-principles article {
  background: rgba(255, 255, 255, .88);
  border-color: rgba(255, 255, 255, .34);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .28);
  backdrop-filter: blur(8px);
}

.guild-content-band .guild-principles h3 {
  color: #142033;
}

.guild-content-band .guild-principles p {
  color: #344358;
}

@media (max-width: 900px) {
  .guild-content-band {
    background:
      linear-gradient(180deg, rgba(12, 18, 28, .42), rgba(12, 18, 28, .28)),
      url("/assets/guild-values-bg.png") center / cover no-repeat;
  }
}

/* Compact mobile navigation */
@media (max-width: 620px) {
  .topbar .wrap {
    display: grid;
    width: min(100% - 28px, 420px);
    grid-template-columns: 1fr;
    gap: .75rem;
    align-items: stretch;
    padding: .85rem 0 .95rem;
  }

  .brand {
    display: inline-flex;
    justify-self: start;
    font-size: 1.08rem;
    line-height: 1.1;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .topbar nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
    margin: 0;
  }

  .topbar nav a {
    display: inline-flex;
    min-width: 0;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: .52rem .58rem;
    border: 1px solid rgba(232, 220, 197, .16);
    border-radius: 6px;
    background: rgba(255, 255, 255, .055);
    color: #f1e4cc;
    font-size: .8rem;
    line-height: 1.1;
    text-align: center;
  }

  .topbar nav a[href$="/admin/"],
  .topbar nav .nav-logout {
    grid-column: 1 / -1;
    min-height: 42px;
    border-radius: 6px;
    font-size: .86rem;
  }
}

/* Make the consented cloud video noticeably visible on mobile. */
@media (max-width: 620px) {
  .guild-hero-media[data-video-loaded="true"] ~ .guild-hero-shade {
    background:
      linear-gradient(180deg, rgba(245, 247, 247, .16) 0%, rgba(245, 247, 247, .32) 42%, rgba(245, 247, 247, .88) 84%, rgba(245, 247, 247, .97) 100%);
  }

  .guild-hero-media[data-video-loaded="true"] iframe {
    top: -8%;
    right: -45%;
    width: 900px;
    height: 506px;
    min-width: 900px;
    min-height: 506px;
    opacity: .98;
    pointer-events: none;
    filter: saturate(1.22) contrast(1.2) brightness(1.04);
    -webkit-mask-image:
      linear-gradient(180deg, #000 0 48%, rgba(0, 0, 0, .72) 60%, transparent 82%),
      radial-gradient(ellipse at 58% 24%, #000 0 42%, transparent 68%);
    mask-image:
      linear-gradient(180deg, #000 0 48%, rgba(0, 0, 0, .72) 60%, transparent 82%),
      radial-gradient(ellipse at 58% 24%, #000 0 42%, transparent 68%);
  }
}

/* Public account login */
.public-login-page {
  min-height: 100vh;
  margin: 0;
  color: #f7efd9;
  background:
    linear-gradient(180deg, rgba(8, 10, 15, .12), #080a0f 86%),
    url("/dungeons-raids/assets/dungeon-panorama.png") center top / cover fixed,
    #080a0f;
}

.public-login-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 211, 105, .12), transparent 38%),
    radial-gradient(circle at 82% 18%, rgba(95, 78, 185, .24), transparent 34%),
    rgba(3, 5, 9, .44);
  pointer-events: none;
}

.public-login-shell {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.public-login-card {
  display: grid;
  width: min(468px, 100%);
  gap: 1.1rem;
  padding: clamp(1.45rem, 3vw, 1.75rem);
  background: rgba(12, 16, 24, .92);
  border: 1px solid rgba(255, 212, 107, .28);
  border-radius: 8px;
  box-shadow: 0 22px 80px rgba(0, 0, 0, .48);
  backdrop-filter: blur(14px);
}

.public-login-card h1 {
  margin: -.2rem 0 .2rem;
  color: #fff7e6;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4vw, 2.45rem);
  line-height: 1;
}

.public-login-card label {
  display: grid;
  gap: .45rem;
  color: #d8d0c1;
  font-weight: 800;
}

.public-login-card input {
  width: 100%;
  min-height: 49px;
  padding: 0 .85rem;
  color: #f7efd9;
  background: rgba(4, 7, 12, .62);
  border: 1px solid rgba(232, 214, 167, .18);
  border-radius: 8px;
  font: inherit;
}

.public-login-card input:focus {
  border-color: rgba(255, 212, 107, .68);
  outline: 2px solid rgba(255, 212, 107, .2);
  outline-offset: 2px;
}

.public-login-card button {
  width: 100%;
  min-height: 50px;
  margin-top: 1rem;
}

.public-login-error {
  margin: 0;
  padding: .75rem .85rem;
  color: #ffe4dc;
  background: rgba(127, 29, 29, .34);
  border: 1px solid rgba(239, 124, 98, .38);
  border-radius: 8px;
  font-weight: 750;
}

.public-login-switch {
  margin: -.15rem 0 0;
  color: #d8d0c1;
  text-align: center;
}

.public-login-switch a {
  color: #ffd46b;
  font-weight: 850;
  text-decoration: none;
}

.public-login-switch a:hover,
.public-login-switch a:focus-visible {
  color: #fff7e6;
}

@media (max-width: 620px) {
  .public-login-page {
    background-position: center top;
    background-attachment: scroll;
  }

  .public-login-shell {
    align-items: start;
    padding-top: 18vh;
  }
}

/* Gilde page: isolated profile/wiki layout */
.content-page--gilde {
  width: 100%;
  min-height: 70vh;
  padding: 0 0 80px;
  color: #172235;
  background:
    radial-gradient(circle at 88% 4%, rgba(214, 164, 65, .16), transparent 26rem),
    linear-gradient(180deg, #f5f7f7 0%, #eef3f5 48%, #e4ebef 100%);
}

.content-page--gilde .article {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.content-page--gilde .article > .eyebrow,
.content-page--gilde .article > h1 {
  display: none;
}

.content-page--gilde :is(.guild-page-stage, .guild-page-band, .guild-page-split, .guild-page-callout--bright) {
  all: unset;
  display: contents;
}

.guild-profile-hero,
.guild-profile-band__inner,
.guild-profile-activity,
.guild-profile-cta {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.guild-profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(1.8rem, 4vw, 3.2rem);
  align-items: start;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4.25rem);
}

.guild-profile-hero__copy,
.guild-profile-activity > div:first-child,
.guild-profile-cta > div:first-child {
  max-width: 760px;
}

.guild-profile-hero__copy h2,
.guild-profile-band__intro h2,
.guild-profile-activity h2,
.guild-profile-cta h2 {
  margin-top: .55rem;
  color: #172235;
  font-size: clamp(2.15rem, 4.2vw, 4.15rem);
  line-height: 1;
  letter-spacing: 0;
}

.guild-profile-hero__copy p:not(.section-kicker),
.guild-profile-band__intro p,
.guild-profile-activity p,
.guild-profile-cta p {
  max-width: 700px;
  margin-top: 1rem;
  color: #46556b;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.72;
}

.guild-profile-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin: 1.6rem 0 0;
}

.guild-profile-facts div,
.guild-profile-principles article,
.guild-profile-list article {
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(29, 43, 63, .12);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(28, 42, 61, .1);
}

.guild-profile-facts div {
  min-height: 82px;
  padding: .9rem 1rem;
}

.guild-profile-facts dt,
.guild-profile-principles span {
  color: #9b6615;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.guild-profile-facts dd {
  margin: .35rem 0 0;
  color: #172235;
  font-weight: 850;
  line-height: 1.28;
}

.guild-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.55rem;
}

.guild-profile-hero__media {
  position: sticky;
  top: 86px;
  overflow: hidden;
  min-height: 430px;
  margin: 0;
  border: 1px solid rgba(29, 43, 63, .14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(15, 23, 36, .02), rgba(15, 23, 36, .2)),
    url("/assets/guild-card-gilde.png") center / cover no-repeat;
  box-shadow: 0 24px 70px rgba(28, 42, 61, .16);
}

.guild-profile-hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(9, 14, 22, .82));
}

.guild-profile-hero__media span {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 212, 107, .4);
  border-radius: 8px;
  background: linear-gradient(135deg, #f2ca69, #c57d2f);
}

.guild-profile-hero__media figcaption {
  position: absolute;
  right: 1.1rem;
  bottom: 1rem;
  left: 1.1rem;
  color: #fff7e8;
  font-size: .95rem;
  font-weight: 800;
  line-height: 1.45;
}

.guild-profile-band {
  background:
    linear-gradient(105deg, rgba(16, 25, 39, .96), rgba(28, 42, 59, .92)),
    url("/assets/guild-values-bg.png") center / cover no-repeat;
  border-block: 1px solid rgba(214, 164, 65, .24);
}

.guild-profile-band__inner {
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(0, 1.35fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  padding: clamp(2.8rem, 6vw, 4.8rem) 0;
}

.guild-profile-band .section-kicker,
.guild-profile-cta .section-kicker {
  color: #ffd46b;
}

.guild-profile-band__intro h2,
.guild-profile-band__intro p {
  color: #fff7e8;
}

.guild-profile-band__intro p {
  color: #ded4c3;
}

.guild-profile-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
}

.guild-profile-principles article {
  min-height: 220px;
  padding: 1.2rem;
}

.guild-profile-principles h3 {
  margin-top: .9rem;
  color: #172235;
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
}

.guild-profile-principles p {
  margin-top: .65rem;
  color: #46556b;
  line-height: 1.62;
}

.guild-profile-activity {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  margin-top: clamp(2.8rem, 6vw, 4.8rem);
}

.guild-profile-list {
  display: grid;
  gap: .8rem;
}

.guild-profile-list article {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1rem 1.1rem;
}

.guild-profile-list strong {
  color: #172235;
  font-size: 1rem;
}

.guild-profile-list span {
  color: #46556b;
  line-height: 1.6;
}

.guild-profile-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  margin-top: clamp(2.8rem, 6vw, 4.8rem);
  padding: clamp(1.4rem, 3.5vw, 2.5rem);
  color: #fff7e8;
  background: linear-gradient(110deg, rgba(15, 23, 36, .97), rgba(32, 45, 63, .9));
  border: 1px solid rgba(214, 164, 65, .3);
  border-radius: 8px;
  box-shadow: 0 22px 64px rgba(28, 42, 61, .16);
}

.guild-profile-cta h2 {
  color: #fff7e8;
}

.guild-profile-cta p {
  color: #e0d5c4;
}

@media (max-width: 980px) {
  .guild-profile-hero,
  .guild-profile-band__inner,
  .guild-profile-activity,
  .guild-profile-cta {
    grid-template-columns: 1fr;
  }

  .guild-profile-hero__media {
    position: relative;
    top: auto;
    min-height: 360px;
  }

  .guild-profile-principles {
    grid-template-columns: 1fr;
  }

  .guild-profile-principles article {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .content-page--gilde {
    padding-bottom: 54px;
  }

  .guild-profile-hero,
  .guild-profile-band__inner,
  .guild-profile-activity,
  .guild-profile-cta {
    width: min(100% - 28px, 420px);
  }

  .guild-profile-hero {
    padding-top: 2.4rem;
  }

  .guild-profile-hero__copy h2,
  .guild-profile-band__intro h2,
  .guild-profile-activity h2,
  .guild-profile-cta h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .guild-profile-facts,
  .guild-profile-list article {
    grid-template-columns: 1fr;
  }

  .guild-profile-hero__media {
    min-height: 310px;
  }

  .guild-profile-actions .guild-button {
    width: 100%;
    justify-content: center;
  }
}

/* Beitritt page: aligned with the profile/wiki layout */
.content-page--beitritt {
  width: 100%;
  min-height: 70vh;
  padding: 0 0 80px;
  color: #172235;
  background:
    radial-gradient(circle at 12% 6%, rgba(88, 139, 159, .14), transparent 26rem),
    linear-gradient(180deg, #f5f7f7 0%, #eef3f5 48%, #e4ebef 100%);
}

.content-page--beitritt .article {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.content-page--beitritt .article > .eyebrow,
.content-page--beitritt .article > h1 {
  display: none;
}

.content-page--beitritt :is(.guild-page-hero, .guild-page-grid, .guild-page-steps, .guild-page-callout) {
  all: unset;
  display: contents;
}

.join-profile-hero,
.join-profile-steps,
.join-profile-fit,
.join-profile-cta {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.join-profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(1.8rem, 4vw, 3.2rem);
  align-items: stretch;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4.25rem);
}

.join-profile-hero__copy h2 {
  margin-top: .55rem;
  color: #172235;
  font-size: clamp(2.15rem, 3.6vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.join-profile-section-head h2,
.join-profile-cta h2 {
  margin-top: .55rem;
  color: #172235;
  font-size: clamp(1.9rem, 2.8vw, 2.8rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.join-profile-hero__copy p:not(.section-kicker),
.join-profile-section-head p:not(.section-kicker),
.join-profile-cta p {
  max-width: 700px;
  margin-top: 1rem;
  color: #46556b;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.72;
}

.join-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.55rem;
}

.join-profile-card {
  display: grid;
  align-content: end;
  min-height: 340px;
  padding: 1.35rem;
  color: #fff7e8;
  background:
    linear-gradient(180deg, rgba(14, 22, 35, .1), rgba(14, 22, 35, .88)),
    url("/assets/guild-card-beitritt.png") center / cover no-repeat;
  border: 1px solid rgba(29, 43, 63, .14);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(28, 42, 61, .16);
}

.join-profile-card span {
  color: #ffd46b;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.join-profile-card strong {
  margin-top: .5rem;
  color: #fff7e8;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.05;
}

.join-profile-card p {
  margin-top: .85rem;
  color: #e2d7c6;
  line-height: 1.58;
}

.join-profile-steps {
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(0, 1.35fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  margin-top: clamp(1rem, 3vw, 2rem);
}

.join-profile-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
}

.join-profile-step-grid article,
.join-profile-fit__panel {
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(29, 43, 63, .12);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(28, 42, 61, .1);
}

.join-profile-step-grid article {
  min-height: 236px;
  padding: 1.2rem;
}

.join-profile-step-grid span {
  color: #9b6615;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.join-profile-step-grid h3 {
  margin-top: .9rem;
  color: #172235;
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
}

.join-profile-step-grid p {
  margin-top: .65rem;
  color: #46556b;
  line-height: 1.62;
}

.join-profile-fit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
  margin-top: clamp(2.8rem, 6vw, 4.8rem);
}

.join-profile-fit__panel {
  padding: clamp(1.25rem, 2.6vw, 1.8rem);
}

.join-profile-fit__panel ul {
  display: grid;
  gap: .75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.join-profile-fit__panel li {
  position: relative;
  padding-left: 1.35rem;
  color: #3d4c62;
  line-height: 1.58;
}

.join-profile-fit__panel li::before {
  content: "";
  position: absolute;
  top: .62em;
  left: 0;
  width: .48rem;
  height: .48rem;
  background: #d99d31;
  transform: rotate(45deg);
}

.join-profile-fit__panel--no li::before {
  background: #6d7f91;
}

.join-profile-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  margin-top: clamp(2.8rem, 6vw, 4.8rem);
  padding: clamp(1.4rem, 3.5vw, 2.5rem);
  color: #fff7e8;
  background: linear-gradient(110deg, rgba(15, 23, 36, .97), rgba(32, 45, 63, .9));
  border: 1px solid rgba(214, 164, 65, .3);
  border-radius: 8px;
  box-shadow: 0 22px 64px rgba(28, 42, 61, .16);
}

.join-profile-cta .section-kicker {
  color: #ffd46b;
}

.join-profile-cta h2 {
  color: #fff7e8;
}

.join-profile-cta p {
  color: #e0d5c4;
}

@media (max-width: 980px) {
  .join-profile-hero,
  .join-profile-steps,
  .join-profile-step-grid,
  .join-profile-fit,
  .join-profile-cta {
    grid-template-columns: 1fr;
  }

  .join-profile-card {
    min-height: 320px;
  }

  .join-profile-step-grid article {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .content-page--beitritt {
    padding-bottom: 54px;
  }

  .join-profile-hero,
  .join-profile-steps,
  .join-profile-fit,
  .join-profile-cta {
    width: min(100% - 28px, 420px);
  }

  .join-profile-hero {
    padding-top: 2.4rem;
  }

  .join-profile-hero__copy h2 {
    font-size: clamp(2rem, 9.5vw, 2.55rem);
  }

  .join-profile-section-head h2,
  .join-profile-cta h2 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .join-profile-card {
    min-height: 300px;
  }

  .join-profile-actions .guild-button {
    width: 100%;
    justify-content: center;
  }
}

/* Global construction ribbon */
.construction-banner {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2147483000;
  width: 336px;
  height: 336px;
  overflow: hidden;
  pointer-events: none;
}

.construction-banner span {
  position: absolute;
  top: 68px;
  left: -104px;
  display: block;
  width: 460px;
  padding: .96rem 0;
  color: #141a22;
  background:
    repeating-linear-gradient(135deg, rgba(20, 26, 34, .18) 0 9px, transparent 9px 18px),
    linear-gradient(180deg, #ffd76f, #e2a633);
  border-block: 1px solid rgba(255, 247, 226, .58);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .28);
  font-size: 1.56rem;
  font-weight: 950;
  letter-spacing: .09em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-45deg);
  transform-origin: center;
}

@media (max-width: 620px) {
  .construction-banner {
    width: 248px;
    height: 248px;
  }

  .construction-banner span {
    top: 52px;
    left: -92px;
    width: 350px;
    padding-block: .76rem;
    font-size: 1.12rem;
  }
}

.chronicle-shell {
  background:
    radial-gradient(circle at 18% 0%, rgba(235, 214, 170, .34), transparent 260px),
    linear-gradient(180deg, #f5f7f7 0%, #edf2f4 48%, #e6ecef 100%);
}

.chronicle-subnav {
  position: sticky;
  top: 0;
  z-index: 90;
  background:
    linear-gradient(110deg, rgba(15, 23, 36, .98), rgba(31, 45, 64, .94)),
    url("/assets/guild-values-bg.png") center / cover;
  border-bottom: 1px solid rgba(214, 164, 65, .28);
  box-shadow: 0 14px 34px rgba(12, 18, 28, .18);
}

.chronicle-subnav__inner {
  display: flex;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  padding-block: 9px;
  scrollbar-width: thin;
}

.chronicle-subnav a {
  flex: 0 0 auto;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: #f5ead3;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: .88rem;
  font-weight: 900;
  text-decoration: none;
}

.chronicle-subnav a:hover,
.chronicle-subnav a:focus-visible,
.chronicle-subnav a[aria-current="page"] {
  color: #101826;
  border-color: rgba(244, 201, 109, .62);
  background: linear-gradient(180deg, #f1c96d, #d89d38);
}

.chronicle-shell .home-story {
  background:
    linear-gradient(180deg, rgba(245, 247, 247, .78), #f5f7f7 320px, #edf2f4 72%, #e6ecef),
    url("https://i.ytimg.com/vi/SewcUECs8Xg/maxresdefault.jpg") center 28% / cover no-repeat;
}

.chronicle-shell .home-stage {
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  padding-inline: 0;
}

.chronicle-shell .home-stage-copy {
  padding-left: 42px;
}

.chronicle-shell .home-intro-grid {
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  grid-template-rows: auto 1fr;
  align-items: stretch;
}

.chronicle-shell .home-intro-grid .home-copy {
  grid-row: 1 / span 2;
}

.chronicle-shell .home-glossary-teaser {
  align-self: stretch;
}

.chronicle-shell .home-cinematics-teaser {
  grid-column: 2;
  align-self: stretch;
}

.chronicle-shell .home-copy,
.chronicle-shell .article,
.chronicle-shell .glossary-entry-card,
.chronicle-shell .glossary-detail-card,
.chronicle-shell .cinematic-chapter {
  background: rgba(255, 255, 255, .78);
  border-color: rgba(25, 38, 56, .12);
  box-shadow: 0 18px 50px rgba(27, 39, 58, .1);
}

.chronicle-shell .home-stage-meta,
.chronicle-shell .home-glossary-teaser,
.chronicle-shell .home-cinematics-teaser,
.chronicle-shell .glossary-empty,
.chronicle-shell .chapter-nav a {
  color: #f7ecd5;
  background:
    linear-gradient(110deg, rgba(15, 23, 36, .97), rgba(32, 45, 63, .9)),
    url("/assets/guild-values-bg.png") center / cover;
  border-color: rgba(214, 164, 65, .28);
  box-shadow: 0 18px 44px rgba(19, 30, 45, .18);
}

.chronicle-shell .home-stage-meta span,
.chronicle-shell .home-stage-meta small,
.chronicle-shell .home-glossary-teaser p,
.chronicle-shell .home-cinematics-teaser span:last-of-type {
  color: #d8deea;
}

.chronicle-shell .home-stage-meta strong,
.chronicle-shell .home-glossary-teaser h2,
.chronicle-shell .home-cinematics-teaser strong {
  color: #fff7e8;
}

.chronicle-shell .home-stage-meta {
  background:
    linear-gradient(110deg, rgba(49, 31, 22, .97), rgba(78, 54, 39, .92)),
    url("https://blz-contentstack-images.akamaized.net/v3/assets/blt3452e3b114fab0cd/blt1293dc96274487a1/605e55b8c0625f0ca747a84a/NVMY5Y41YZ9J1541609533301.jpg?auto=webp&quality=40") center / cover;
  border-color: rgba(226, 176, 87, .34);
  box-shadow: 0 18px 44px rgba(53, 35, 23, .2);
}

.chronicle-shell .home-glossary-teaser,
.chronicle-shell .home-cinematics-teaser {
  color: #f3f7ff;
  background:
    linear-gradient(110deg, rgba(12, 28, 47, .98), rgba(27, 55, 82, .92)),
    url("/assets/guild-values-bg.png") center / cover;
  border-color: rgba(127, 169, 199, .38);
  box-shadow: 0 18px 44px rgba(20, 52, 82, .22);
}

.chronicle-shell .home-stage-meta span,
.chronicle-shell .home-stage-meta small {
  color: #eadbc0;
}

.chronicle-shell .home-glossary-teaser p,
.chronicle-shell .home-cinematics-teaser span:last-of-type {
  color: #dbe8f4;
}

.chronicle-shell .home-glossary-teaser .eyebrow,
.chronicle-shell .home-cinematics-teaser .eyebrow {
  color: #78acd0;
}

.chronicle-shell .home-glossary-teaser a,
.chronicle-shell .home-cinematics-teaser em,
.chronicle-shell .chapter-nav a:hover,
.chronicle-shell .chapter-nav a:focus-visible {
  background: linear-gradient(180deg, #f1c96d, #d89d38);
  color: #101826;
}

.chronicle-shell .glossary-tools,
.chronicle-shell .cinematic-tools,
.chronicle-shell .official-media-tools {
  background: rgba(255, 255, 255, .92);
  border-color: rgba(25, 38, 56, .12);
  box-shadow: 0 18px 50px rgba(27, 39, 58, .1);
}

.chronicle-shell .glossary-search {
  color: #172233;
}

.chronicle-shell .glossary-search input {
  background: #fff;
  border-color: rgba(127, 169, 199, .32);
}

.chronicle-shell .glossary-tools button {
  color: #172233;
  background: #fff;
  border-color: rgba(127, 169, 199, .28);
}

.chronicle-shell .glossary-tools button:hover,
.chronicle-shell .glossary-tools button:focus-visible {
  border-color: rgba(127, 169, 199, .5);
  background: #f8fcff;
}

.chronicle-shell .glossary-tools button.is-active {
  color: #101826;
  background: linear-gradient(180deg, #f1c96d, #d89d38);
  border-color: rgba(179, 117, 16, .55);
}

.chronicle-shell .glossary-count {
  color: #435a73;
}

.chronicle-shell .glossary-wiki-hub {
  background:
    linear-gradient(90deg, rgba(232, 242, 247, .96) 0 31%, rgba(255, 255, 255, .94) 31% 100%);
  border-color: rgba(54, 82, 112, .18);
  box-shadow: 0 18px 50px rgba(27, 39, 58, .1);
}

.chronicle-shell .glossary-wiki-intro p {
  color: #516074;
}

.chronicle-shell .glossary-wiki-card {
  color: #172233;
  background: rgba(255, 255, 255, .82);
  border-color: rgba(127, 169, 199, .32);
  box-shadow: none;
}

.chronicle-shell .glossary-wiki-card strong {
  color: #667b8d;
  background: transparent;
}

.chronicle-shell .glossary-wiki-card:hover,
.chronicle-shell .glossary-wiki-card:focus-visible,
.chronicle-shell .glossary-wiki-card.is-active,
.chronicle-shell .glossary-wiki-card[aria-pressed="true"] {
  color: #172233;
  background: #fffaf0;
  border-color: rgba(183, 122, 34, .72);
}

.chronicle-shell .glossary-wiki-card:hover strong,
.chronicle-shell .glossary-wiki-card:focus-visible strong,
.chronicle-shell .glossary-wiki-card.is-active strong,
.chronicle-shell .glossary-wiki-card[aria-pressed="true"] strong {
  color: #7b4a11;
  background: transparent;
}

@media (max-width: 640px) {
  .chronicle-shell .glossary-wiki-hub {
    background: rgba(255, 255, 255, .94);
  }
}

.chronicle-shell .glossary-entry {
  background:
    linear-gradient(180deg, rgba(246, 250, 252, .96), rgba(232, 240, 245, .9));
  border-color: rgba(54, 82, 112, .16);
  border-left-color: #7fa9c7;
  box-shadow: 0 16px 40px rgba(27, 44, 64, .1);
}

.chronicle-shell .glossary-entry-media,
.chronicle-shell .glossary-entry.has-media .glossary-entry-media,
.chronicle-shell .glossary-entry-placeholder {
  background:
    linear-gradient(135deg, rgba(127, 169, 199, .24), rgba(15, 23, 36, .84)),
    #101826;
  border-color: rgba(127, 169, 199, .22);
}

.chronicle-shell .glossary-entry-real-image {
  background:
    linear-gradient(180deg, rgba(16, 9, 5, .04), rgba(16, 9, 5, .18)),
    var(--glossary-img) var(--glossary-focus, center 32%) / cover no-repeat,
    #101826;
}

.chronicle-shell .glossary-entry-real-image.is-portrait {
  background:
    linear-gradient(180deg, rgba(16, 9, 5, .04), rgba(16, 9, 5, .18)),
    var(--glossary-img) var(--glossary-focus, center 18%) / cover no-repeat,
    #101826;
}

.chronicle-shell .glossary-entry-placeholder span {
  color: #e9f3f8;
}

.chronicle-shell .glossary-entry h3 {
  color: #172233;
}

.chronicle-shell .glossary-entry span,
.chronicle-shell .glossary-entry p {
  color: #516074;
}

.chronicle-shell .glossary-entry-link {
  color: #102033;
  background: linear-gradient(180deg, #d9eaf3, #b9d2e4);
  border-color: rgba(54, 82, 112, .22);
}

.chronicle-shell .glossary-entry-link:hover,
.chronicle-shell .glossary-entry-link:focus-visible {
  color: #0f1724;
  background: linear-gradient(180deg, #f1c96d, #d89d38);
}

.chronicle-shell .glossary-detail-hero {
  color: #f7ecd5;
  background:
    linear-gradient(110deg, rgba(15, 23, 36, .98), rgba(30, 47, 68, .92)),
    url("/assets/guild-values-bg.png") center / cover;
  border-color: rgba(127, 169, 199, .22);
  box-shadow: 0 24px 62px rgba(18, 33, 51, .2);
}

.chronicle-shell .glossary-detail-hero.has-visual-anchor::before {
  border-color: rgba(185, 210, 228, .18);
}

.chronicle-shell .glossary-detail-hero h1 {
  color: #fff7e8;
}

.chronicle-shell .glossary-detail-hero p {
  color: #d8deea;
}

.chronicle-shell .glossary-detail-hero .eyebrow {
  color: #f3c765;
}

.chronicle-shell .glossary-hero-visual,
.chronicle-shell .glossary-detail-image,
.chronicle-shell .glossary-detail-media,
.chronicle-shell .glossary-detail-side-image {
  background:
    radial-gradient(circle at 50% 18%, rgba(127, 169, 199, .22), transparent 34%),
    #101826;
  border-color: rgba(185, 210, 228, .24);
  box-shadow: 0 20px 48px rgba(16, 32, 51, .24);
}

.chronicle-shell .glossary-hero-visual img,
.chronicle-shell .glossary-detail-image img,
.chronicle-shell .glossary-detail-media img,
.chronicle-shell .glossary-detail-side-image img {
  background:
    radial-gradient(circle at 50% 24%, rgba(127, 169, 199, .16), transparent 32%),
    #101826;
}

.chronicle-shell .glossary-detail-image figcaption,
.chronicle-shell .glossary-detail-media figcaption,
.chronicle-shell .glossary-detail-side-image figcaption {
  background: #101826;
  color: #d8deea;
}

.chronicle-shell .glossary-detail-side {
  background:
    linear-gradient(180deg, rgba(241, 248, 252, .98), rgba(225, 238, 246, .92));
  border-color: rgba(127, 169, 199, .26);
  box-shadow: 0 18px 48px rgba(27, 44, 64, .12);
}

.chronicle-shell .glossary-detail-side section + section {
  border-top-color: rgba(127, 169, 199, .24);
}

.chronicle-shell .glossary-detail-side h2,
.chronicle-shell .glossary-detail-side p {
  color: #172233;
}

.chronicle-shell .glossary-detail-side .glossary-forum-callout {
  padding: 22px 20px 20px;
  border: 1px solid rgba(139, 190, 221, .42);
  border-top: 3px solid #83b9d8;
  border-radius: 4px;
  background:
    linear-gradient(135deg, rgba(13, 37, 59, .98), rgba(31, 69, 98, .95)),
    url("/assets/guild-values-bg.png") center / cover;
  color: #edf6fc;
  box-shadow: 0 15px 34px rgba(20, 43, 63, .2);
}

.chronicle-shell .glossary-detail-side .glossary-forum-callout .eyebrow {
  display: block;
  margin-bottom: 9px;
  color: #9fd5f0;
  font-size: .75rem;
}

.chronicle-shell .glossary-detail-side .glossary-forum-callout h2 {
  margin: 0 0 11px;
  color: #fff7e8;
  font-size: 1.48rem;
  line-height: 1.12;
}

.chronicle-shell .glossary-detail-side .glossary-forum-callout p {
  margin: 0 0 18px;
  color: #d7e6f0;
  font-size: .96rem;
  line-height: 1.58;
}

.chronicle-shell .glossary-forum-callout .glossary-forum-link {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 15px;
  border: 1px solid #d39825;
  border-color: #d39825;
  background: linear-gradient(180deg, #f2c45f, #e4a52f);
  color: #15243a;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(7, 22, 35, .2);
}

.chronicle-shell .glossary-forum-callout .glossary-forum-link:hover,
.chronicle-shell .glossary-forum-callout .glossary-forum-link:focus-visible {
  background: linear-gradient(180deg, #f8d174, #ecb13e);
  box-shadow: 0 10px 22px rgba(7, 22, 35, .26);
}

.chronicle-shell .glossary-detail-side a {
  color: #8b4f18;
}

.chronicle-shell .glossary-mentioned-list a,
.chronicle-shell .glossary-related-card {
  color: #172233;
  background: rgba(249, 252, 254, .82);
  border-left-color: #7fa9c7;
}

.chronicle-shell .glossary-mentioned-list a:hover,
.chronicle-shell .glossary-related-card:hover {
  background: #f7fbfd;
  box-shadow: 0 10px 24px rgba(27, 44, 64, .1);
}

.chronicle-shell .glossary-mentioned-list span,
.chronicle-shell .glossary-detail-tags span {
  color: #435a73;
}

.chronicle-shell .glossary-detail-tags span {
  background: rgba(127, 169, 199, .18);
  border-color: rgba(127, 169, 199, .22);
}

.chronicle-shell .official-media-era-head {
  padding: 18px;
  color: #f7ecd5;
  background:
    linear-gradient(110deg, rgba(15, 23, 36, .97), rgba(32, 45, 63, .9)),
    url("/assets/guild-values-bg.png") center / cover;
  border: 1px solid rgba(214, 164, 65, .28);
  box-shadow: 0 18px 44px rgba(19, 30, 45, .16);
}

.chronicle-shell .official-media-era-head h2 {
  color: #fff7e8;
}

.chronicle-shell .official-media-era-head p {
  color: #d8deea;
}

.chronicle-shell .official-media-era-head strong {
  color: #f3c765;
}

.official-media-page {
  padding: 46px 0 76px;
}

.official-media-hero {
  max-width: none;
  margin-bottom: 28px;
}

.official-media-hero h1 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  line-height: .98;
  color: var(--ink);
}

.official-media-hero p {
  max-width: none;
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
  white-space: nowrap;
}

.cinematic-page .glossary-hero p {
  white-space: nowrap;
}

@media (max-width: 860px) {
  .official-media-hero p,
  .cinematic-page .glossary-hero p {
    white-space: normal;
  }
}

.official-media-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin: 30px 0;
  padding: 18px;
  border: 1px solid rgba(18, 26, 38, .12);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 18px 42px rgba(18, 26, 38, .08);
}

.official-media-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.official-media-filter-row button {
  min-height: 42px;
  border: 1px solid rgba(18, 26, 38, .16);
  background: rgba(255, 255, 255, .86);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
  padding: 0 14px;
}

.official-media-filter-row button span {
  color: var(--gold-dark);
}

.official-media-filter-row button.active {
  border-color: rgba(179, 117, 16, .55);
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: #13171d;
}

.official-media-groups {
  display: grid;
  gap: 34px;
}

.official-media-era {
  display: grid;
  gap: 18px;
}

.official-media-era-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  border-bottom: 1px solid rgba(18, 26, 38, .14);
  padding-bottom: 14px;
}

.official-media-era-head h2 {
  margin: 6px 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 54px);
  line-height: .95;
  color: var(--ink);
}

.official-media-era-head p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.official-media-era-head strong {
  flex: 0 0 auto;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .76rem;
}

.official-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.official-media-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  border: 1px solid rgba(18, 26, 38, .14);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 18px 42px rgba(18, 26, 38, .08);
  overflow: hidden;
}

.official-media-card[hidden],
[data-media-group][hidden],
#official-media-empty[hidden] {
  display: none !important;
}

.official-media-thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(232, 190, 95, .22), rgba(132, 170, 188, .26));
}

.official-media-thumb-link {
  display: block;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.official-media-thumb-link img {
  transition: transform 180ms ease;
}

.official-media-thumb-link:hover img {
  transform: scale(1.025);
}

.official-media-thumb-link:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}

.official-media-thumb img,
.official-media-thumb .consent-thumb-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: flex;
}

.official-media-placeholder {
  display: grid;
  place-items: center;
  min-height: 100%;
  color: var(--gold-dark);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.official-media-copy {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px;
}

.official-media-type {
  color: var(--gold-dark);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .72rem;
}

.official-media-copy h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.05;
}

.official-media-copy p,
.official-media-copy small {
  color: var(--muted);
  line-height: 1.65;
}

.official-media-copy p {
  margin: 0;
}

.official-media-copy small {
  display: block;
}

.official-media-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}

.official-media-source {
  color: var(--gold-dark);
  font-weight: 900;
}

@media (max-width: 980px) {
  .official-media-tools,
  .official-media-era-head {
    display: grid;
    grid-template-columns: 1fr;
  }

  .official-media-filter-row {
    justify-content: flex-start;
  }

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

@media (max-width: 640px) {
  .official-media-page {
    padding-top: 34px;
  }

  .official-media-grid {
    grid-template-columns: 1fr;
  }

  .official-media-filter-row button {
    flex: 1 1 calc(50% - 8px);
  }
}

/* Sticky double navigation for chronicle pages. */
:root {
  --eus-mainnav-height: 62px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 140;
}

.chronicle-subnav {
  top: var(--eus-mainnav-height);
  z-index: 130;
  background:
    linear-gradient(110deg, rgba(36, 54, 78, .96), rgba(58, 82, 110, .9)),
    url("/assets/guild-values-bg.png") center / cover;
  border-bottom-color: rgba(230, 199, 137, .36);
  box-shadow: 0 12px 28px rgba(18, 29, 44, .16);
}

.chronicle-subnav a {
  color: #f7efe0;
}

.chronicle-subnav a:hover,
.chronicle-subnav a:focus-visible,
.chronicle-subnav a[aria-current="page"] {
  border-color: rgba(245, 207, 126, .72);
}

/* Chapter detail pages: light blue/white theme. */
.chapter-hero-card {
  background:
    linear-gradient(110deg, rgba(16, 32, 52, .96), rgba(30, 56, 82, .86));
  border-color: rgba(127, 169, 199, .34);
  box-shadow: 0 26px 70px rgba(27, 39, 58, .26);
}

/* Chapter navigation: retain the shared blue shell without turning the chapter
   outline into a horizontal scroller. Long chapter names wrap into clear rows. */
.chronicle-shell .chapter-anchor-nav {
  position: static;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0 0 28px;
  padding: 10px 12px;
  overflow: visible;
  scrollbar-width: auto;
}

.chronicle-shell .chapter-anchor-nav::before {
  flex: 0 0 auto;
  padding-right: 5px;
}

.chronicle-shell .chapter-anchor-nav a,
.chronicle-shell .chapter-anchor-nav .chapter-anchor-utility {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 280px;
  min-height: 34px;
  white-space: normal;
  text-align: center;
}

.chronicle-shell .chapter-anchor-nav::-webkit-scrollbar {
  display: none;
}

/* A chapter begins with its official cinematic. The wide treatment deliberately
   distinguishes this introduction from later, contextual story scenes. */
.narrative-video-group.is-intro-cinematic {
  width: min(100%, 960px);
  max-width: 960px;
  margin: 8px auto 46px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(18, 33, 51, .1), rgba(255, 255, 255, .72));
  border: 1px solid rgba(127, 169, 199, .32);
  box-shadow: 0 18px 44px rgba(27, 39, 58, .14);
}

.narrative-video-group.is-intro-cinematic .inline-video,
.narrative-video-group.is-intro-cinematic .video-card {
  width: 100%;
  max-width: none;
}

.narrative-video-group.is-intro-cinematic .video-caption {
  padding: 15px 18px 17px;
  font-size: .98rem;
}

.narrative-video-group.is-story-cinematic {
  width: min(100%, 820px);
  max-width: 820px;
  margin: 30px auto 38px;
}

@media (max-width: 760px) {
  .chronicle-shell .chapter-anchor-nav {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100% + 20px);
    margin: 0 -10px 22px;
    padding: 10px;
    gap: 7px;
  }

  .chronicle-shell .chapter-anchor-nav::before {
    grid-column: 1 / -1;
    padding: 2px 2px 5px;
  }

  .chronicle-shell .chapter-anchor-nav a,
  .chronicle-shell .chapter-anchor-nav .chapter-anchor-utility {
    display: flex;
    width: 100%;
    max-width: none;
    min-height: 38px;
    justify-content: center;
    padding: 8px 9px;
    line-height: 1.18;
    white-space: normal;
  }

  .narrative-video-group.is-intro-cinematic {
    width: 100%;
    margin: 2px auto 32px;
    padding: 6px;
  }

  .narrative-video-group.is-intro-cinematic .video-caption {
    padding: 12px 13px 14px;
    font-size: .92rem;
  }
}

@media (max-width: 380px) {
  .chronicle-shell .chapter-anchor-nav {
    grid-template-columns: 1fr;
  }

  .chronicle-shell .chapter-anchor-nav::before {
    grid-column: auto;
  }
}

.chapter-hero-facts a {
  color: #f3f7ff;
  background: rgba(201, 229, 246, .1);
  border-color: rgba(201, 229, 246, .28);
}

.chapter-hero-facts a:hover {
  color: #102034;
  background: #c9e5f6;
}

.article {
  background: rgba(255, 255, 255, .92);
  border-color: rgba(127, 169, 199, .22);
  box-shadow: 0 22px 58px rgba(27, 39, 58, .12);
}

.chapter-anchor-nav {
  top: calc(var(--eus-mainnav-height) + 56px);
  z-index: 120;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-color: rgba(201, 229, 246, .55) transparent;
  scrollbar-width: thin;
  background:
    linear-gradient(110deg, rgba(18, 33, 51, .96), rgba(37, 61, 86, .92));
  border-color: rgba(127, 169, 199, .34);
  box-shadow: 0 16px 34px rgba(27, 39, 58, .16);
}

.chapter-anchor-nav::-webkit-scrollbar {
  height: 5px;
}

.chapter-anchor-nav::-webkit-scrollbar-track {
  background: transparent;
}

.chapter-anchor-nav::-webkit-scrollbar-thumb {
  background: rgba(201, 229, 246, .5);
}

.chapter-anchor-nav::before,
.chapter-anchor-nav a,
.chapter-anchor-nav .chapter-anchor-utility {
  flex: 0 0 auto;
  white-space: nowrap;
}

.chapter-anchor-nav::before {
  color: #c9e5f6;
}

.chapter-anchor-nav a {
  color: #f3f7ff;
  background: rgba(201, 229, 246, .1);
  border-color: rgba(201, 229, 246, .24);
}

.chapter-anchor-nav a:hover,
.chapter-anchor-nav a:focus-visible {
  color: #102034;
  background: #c9e5f6;
}

.chapter-anchor-nav .chapter-anchor-utility {
  color: #102034;
  background: linear-gradient(180deg, #d9ecf8, #b8d7eb);
  border-color: rgba(95, 139, 172, .42);
}

.chapter-anchor-nav .chapter-anchor-utility:hover,
.chapter-anchor-nav .chapter-anchor-utility:focus-visible {
  background: linear-gradient(180deg, #c9e5f6, #9fc7e2);
}

.article h2[id] {
  scroll-margin-top: calc(var(--eus-mainnav-height) + 126px);
}

.narrative-storyline,
.narrative-context,
.narrative-raid-story,
.lore-aside,
.image-row,
.chapter-finale {
  color: #1d2b3f;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, .96), rgba(244, 248, 250, .9)),
    linear-gradient(90deg, rgba(127, 169, 199, .14), transparent);
  border-color: rgba(127, 169, 199, .22);
  box-shadow: 0 18px 46px rgba(27, 39, 58, .1);
}

.narrative-storyline,
.narrative-context,
.narrative-raid-story,
.lore-aside,
.image-row {
  border-left-color: #7fa9c7;
}

.narrative-raid-story {
  border-top-color: #7fa9c7;
}

.story-expansion,
.main-story-expansion,
.narrative-opening,
.chapter-finale {
  border-color: rgba(127, 169, 199, .2);
}

.chapter-context {
  color: #3d4c62;
  border-left-color: #7fa9c7;
}

.narrative-kicker,
.lore-aside span,
.expansion-kicker {
  color: #47779c;
}

.expansion-kicker {
  background: rgba(201, 229, 246, .48);
  border-left-color: #7fa9c7;
}

.narrative-context h2,
.narrative-context p,
.raid-intro,
.lore-aside,
.lore-aside p,
.chapter-preknowledge p {
  color: #3d4c62;
}

.raid-beat,
.beat,
.side-panel,
.chapter-preknowledge,
.chapter-preknowledge-list a {
  background: rgba(255, 255, 255, .88);
  border-color: rgba(127, 169, 199, .22);
  box-shadow: 0 14px 34px rgba(27, 39, 58, .08);
}

.raid-beat,
.beat,
.chapter-preknowledge-list a {
  border-left-color: #7fa9c7;
}

.chapter-preknowledge-list a:hover {
  background: #f7fbfd;
}

.chapter-preknowledge-list span {
  color: #47779c;
}

.chapter-preknowledge-list em {
  color: #5b6b80;
}

.image-row::after {
  border-color: rgba(127, 169, 199, .14);
}

.lore-image {
  background:
    linear-gradient(135deg, rgba(127, 169, 199, .2), rgba(16, 32, 52, .94)),
    #102034;
  border-color: rgba(127, 169, 199, .28);
  box-shadow:
    0 18px 38px rgba(27, 39, 58, .16),
    0 0 0 8px rgba(244, 248, 250, .82);
}

.video-card,
.chapter-map-card,
.chapter-nav a {
  color: #f3f7ff;
  background:
    linear-gradient(180deg, rgba(16, 32, 52, .98), rgba(10, 19, 32, .98));
  border: 1px solid rgba(127, 169, 199, .28);
  box-shadow: 0 14px 32px rgba(20, 52, 82, .18);
}

.video-caption {
  color: #f3f7ff;
}

.video-caption span,
.video-note {
  color: #dbe8f4;
}

.chapter-map-card span {
  color: #9fc7e2;
}

.chapter-map-card strong {
  color: #fff;
}

.chapter-map-card:hover,
.chapter-nav a:hover,
.chapter-nav a:focus-visible {
  color: #102034;
  background: linear-gradient(180deg, #d9ecf8, #b8d7eb);
  border-color: rgba(95, 139, 172, .42);
  box-shadow: 0 18px 38px rgba(27, 39, 58, .14);
}

@media (max-width: 620px) {
  :root {
    --eus-mainnav-height: 188px;
  }

  .chronicle-shell .home-stage {
    padding-inline: 0;
  }

  .chronicle-shell .home-stage-copy {
    padding-inline: 22px;
  }

  .chronicle-shell .home-intro-grid .home-copy,
  .chronicle-shell .home-cinematics-teaser {
    grid-row: auto;
    grid-column: auto;
  }
}

/* Mobile shell repair: keep the shared site roof compact and predictable. */
@media (max-width: 620px) {
  :root {
    --eus-mainnav-height: 91px;
  }

  .topbar {
    position: sticky;
    top: 0;
    z-index: 140;
  }

  .topbar .wrap {
    display: grid;
    width: min(100% - 24px, 430px);
    grid-template-columns: 1fr;
    gap: 6px;
    align-items: center;
    padding: 8px 0 7px;
  }

  .brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    justify-self: start;
    gap: 7px;
    font-size: .98rem;
    line-height: 1;
    white-space: nowrap;
  }

  .brand span {
    display: block;
    white-space: nowrap;
  }

  .brand-logo {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
  }

  .topbar nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 7px;
    width: 100%;
    margin: 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 0 0 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .topbar nav::-webkit-scrollbar {
    display: none;
  }

  .topbar nav a,
  .topbar nav a[href$="/admin/"],
  .topbar nav .nav-logout {
    flex: 0 0 auto;
    min-width: max-content;
    min-height: 34px;
    grid-column: auto;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: .78rem;
    line-height: 1;
    white-space: nowrap;
  }

  .chronicle-subnav {
    top: var(--eus-mainnav-height);
    z-index: 130;
  }

  .chronicle-subnav__inner {
    width: min(100% - 20px, 430px);
    gap: 7px;
    padding-block: 7px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .chronicle-subnav__inner::-webkit-scrollbar {
    display: none;
  }

  .chronicle-subnav a {
    min-height: 34px;
    padding: 0 12px;
    font-size: .78rem;
  }

  .chapter-anchor-nav {
    position: static;
    width: 100%;
    margin: 0 0 22px;
    padding: 9px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: thin;
  }

  .chapter-anchor-nav::before,
  .chapter-anchor-nav a,
  .chapter-anchor-nav .chapter-anchor-utility {
    flex: 0 0 auto;
    min-height: 32px;
    white-space: nowrap;
  }

  .article h2[id] {
    scroll-margin-top: calc(var(--eus-mainnav-height) + 56px);
  }

  /* The chronicle shell defines a desktop split layout later in this file.
     Reassert the single-column mobile layout after those desktop rules. */
  .chronicle-shell .home-stage,
  .chronicle-shell .home-intro-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 16px;
  }

  .chronicle-shell .home-stage {
    padding-block: 24px 22px;
  }

  .chronicle-shell .home-stage-copy {
    padding-inline: 20px;
  }

  .chronicle-shell .home-stage-meta {
    margin-inline: 20px;
  }

  .chronicle-shell .home-intro-grid .home-copy,
  .chronicle-shell .home-cinematics-teaser {
    grid-row: auto;
    grid-column: auto;
  }
}

@media (max-width: 380px) {
  :root {
    --eus-mainnav-height: 92px;
  }

  .brand {
    font-size: .96rem;
  }

  .topbar nav a,
  .topbar nav a[href$="/admin/"],
  .topbar nav .nav-logout {
    padding-inline: 10px;
    font-size: .74rem;
  }
}

/* Selected guild identity and history elements */
.brand .brand-copy {
  display: grid;
  gap: 1px;
  align-items: center;
  line-height: 1;
}

.brand-copy strong {
  color: #fff7e5;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-copy small {
  color: #b7c9d3;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.guild-story-band {
  margin-top: 4.5rem;
  padding: 4.8rem 0 5.2rem;
  color: #182426;
  background: rgba(255, 255, 255, .9);
  border-block: 1px solid rgba(25, 38, 56, .09);
}

.guild-story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr);
  gap: 4.5rem;
  align-items: start;
}

.guild-story-copy {
  max-width: 760px;
}

.guild-story-copy .section-kicker,
.guild-now-panel > span,
.guild-now-panel dt {
  color: #7b3c45;
}

.guild-story-copy h2 {
  max-width: 720px;
  margin-top: .65rem;
  color: #182426;
  font-size: 3.15rem;
  line-height: 1.02;
}

.guild-story-copy p:not(.section-kicker) {
  max-width: 720px;
  margin-top: 1.3rem;
  color: #52636a;
  font-size: 1rem;
  line-height: 1.8;
}

.guild-now-panel {
  padding: .65rem 0 .5rem 1.8rem;
  border-left: 4px solid #dea13a;
}

.guild-now-panel > span {
  display: block;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.guild-now-panel > strong {
  display: block;
  margin-top: .55rem;
  color: #21453e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  line-height: 1.15;
}

.guild-now-panel > p {
  margin-top: .9rem;
  color: #52636a;
  line-height: 1.72;
}

.guild-now-panel dl {
  display: grid;
  margin: 1.65rem 0 0;
}

.guild-now-panel dl div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: .8rem;
  align-items: start;
  padding: .75rem 0;
  border-top: 1px solid #d4ddd8;
}

.guild-now-panel dt {
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.guild-now-panel dd {
  margin: 0;
  color: #182426;
  font-size: .92rem;
  font-weight: 850;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .guild-story-layout {
    grid-template-columns: 1fr;
    gap: 2.7rem;
  }

  .guild-now-panel {
    max-width: 680px;
  }
}

@media (max-width: 620px) {
  .brand-copy {
    gap: 0;
  }

  .brand-copy strong {
    font-size: .93rem;
  }

  .brand-copy small {
    font-size: .5rem;
  }

  .guild-story-band {
    margin-top: 3.3rem;
    padding: 3.4rem 0 3.7rem;
  }

  .guild-story-copy h2 {
    font-size: 2.2rem;
    line-height: 1.05;
  }

  .guild-story-copy p:not(.section-kicker) {
    font-size: .95rem;
    line-height: 1.72;
  }

  .guild-now-panel {
    padding-left: 1.2rem;
  }

  .guild-now-panel > strong {
    font-size: 1.55rem;
  }

  .guild-now-panel dl div {
    grid-template-columns: 62px minmax(0, 1fr);
  }
}

/* Chapter navigation: a compact chapter index instead of a horizontal slider.
   Long section titles share a predictable grid, while the return link remains
   in a quiet header row. */
.chronicle-shell .chapter-anchor-nav {
  position: static;
  z-index: 1;
  width: 100%;
  margin: 0 0 28px;
  padding: 0;
  overflow: visible;
  background: linear-gradient(110deg, rgba(18, 33, 51, .98), rgba(37, 61, 86, .96));
  border: 1px solid rgba(127, 169, 199, .38);
  box-shadow: 0 16px 34px rgba(27, 39, 58, .16);
  scrollbar-width: auto;
}

.chronicle-shell .chapter-anchor-nav::before,
.chronicle-shell .chapter-anchor-nav::-webkit-scrollbar {
  display: none;
}

.chapter-anchor-nav__top {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 12px 7px 14px;
  border-bottom: 1px solid rgba(201, 229, 246, .18);
}

.chapter-anchor-nav__label {
  color: #c9e5f6;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.15;
  text-transform: uppercase;
}

.chronicle-shell .chapter-anchor-nav .chapter-anchor-utility {
  flex: 0 0 auto;
  min-height: 30px;
  padding: 6px 10px;
  color: #102034;
  background: #d9ecf8;
  border: 1px solid rgba(201, 229, 246, .7);
  font-size: .75rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.chronicle-shell .chapter-anchor-nav .chapter-anchor-utility:hover,
.chronicle-shell .chapter-anchor-nav .chapter-anchor-utility:focus-visible {
  color: #102034;
  background: #f3f7ff;
}

.chapter-anchor-nav__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 9px 10px 10px;
}

.chronicle-shell .chapter-anchor-nav .chapter-anchor-nav__links a {
  display: flex;
  min-width: 0;
  min-height: 38px;
  align-items: center;
  justify-content: flex-start;
  padding: 7px 10px;
  color: #edf6fc;
  background: rgba(201, 229, 246, .055);
  border: 1px solid rgba(201, 229, 246, .22);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .75rem;
  font-weight: 800;
  line-height: 1.18;
  text-align: left;
  text-decoration: none;
  white-space: normal;
}

.chronicle-shell .chapter-anchor-nav .chapter-anchor-nav__links a::before {
  width: 4px;
  height: 4px;
  flex: 0 0 4px;
  margin-right: 7px;
  background: #89b9d9;
  border-radius: 999px;
  content: "";
}

.chronicle-shell .chapter-anchor-nav .chapter-anchor-nav__links a:hover,
.chronicle-shell .chapter-anchor-nav .chapter-anchor-nav__links a:focus-visible {
  color: #102034;
  background: #d9ecf8;
  border-color: #d9ecf8;
}

.chronicle-shell .chapter-anchor-nav .chapter-anchor-nav__links a:hover::before,
.chronicle-shell .chapter-anchor-nav .chapter-anchor-nav__links a:focus-visible::before {
  background: #47779c;
}

@media (max-width: 760px) {
  .chronicle-shell .chapter-anchor-nav {
    width: calc(100% + 20px);
    margin: 0 -10px 22px;
  }

  .chapter-anchor-nav__top {
    min-height: 42px;
    padding: 8px 10px 7px 12px;
  }

  .chapter-anchor-nav__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 8px 9px 9px;
  }

  .chronicle-shell .chapter-anchor-nav .chapter-anchor-nav__links a {
    min-height: 42px;
    padding: 8px 9px;
    font-size: .74rem;
  }
}

@media (max-width: 400px) {
  .chapter-anchor-nav__links {
    grid-template-columns: 1fr;
  }
}

/* On phones the chapter outline competes with the story for scarce vertical
   space. Desktop and tablet readers keep the index; mobile readers start
   directly with the chapter text. */
@media (max-width: 760px) {
  .chronicle-shell .chapter-anchor-nav {
    display: none;
  }
}

/* The construction notice shares the first mobile header row with the guild
   identity. The diagonal desktop ribbon remains unchanged. */
@media (max-width: 620px) {
  .topbar .wrap {
    grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  }

  .topbar .brand {
    grid-row: 1;
    grid-column: 1;
  }

  .topbar .construction-banner {
    position: static;
    grid-row: 1;
    grid-column: 2;
    justify-self: end;
    width: auto;
    height: auto;
    overflow: visible;
  }

  .topbar .construction-banner span,
  body > .construction-banner span {
    position: static;
    display: inline-flex;
    width: auto;
    min-height: 26px;
    align-items: center;
    justify-content: center;
    padding: 6px 9px;
    border: 1px solid rgba(255, 247, 226, .5);
    border-radius: 3px;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .22);
    font-size: .62rem;
    letter-spacing: .055em;
    line-height: 1;
    transform: none;
    white-space: nowrap;
  }

  .topbar nav {
    grid-row: 2;
    grid-column: 1 / -1;
  }

  body > .construction-banner {
    top: 10px;
    right: 12px;
    left: auto;
    width: auto;
    height: auto;
    overflow: visible;
  }
}

/* Dungeon & Raids: one glossary-powered archive instead of duplicated lore. */
.chronicle-shell .raid-wiki-page {
  padding: 42px 0 82px;
}

.raid-wiki-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 26px;
}

.raid-wiki-hero h1 {
  margin: 8px 0 0;
  color: #172235;
  font-size: clamp(2.35rem, 5vw, 4.55rem);
  line-height: .98;
  white-space: nowrap;
}

.raid-wiki-hero p {
  max-width: none;
  margin: 14px 0 0;
  color: #455f7c;
  font-size: 1.06rem;
  line-height: 1.68;
}

.raid-wiki-summary {
  display: grid;
  gap: 7px;
  padding: 19px 20px;
  color: #eaf5fb;
  background:
    linear-gradient(135deg, rgba(17, 42, 66, .96), rgba(36, 78, 108, .94)),
    var(--chronicle-atmosphere) center / cover no-repeat;
  border: 1px solid rgba(127, 169, 199, .58);
  border-radius: 6px;
  box-shadow: 0 18px 42px rgba(20, 49, 75, .2);
}

.raid-wiki-summary strong {
  color: #fff7e6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  line-height: 1;
}

.raid-wiki-summary span {
  color: #c9e5f6;
  font-size: .94rem;
  font-weight: 850;
}

.raid-wiki-summary small {
  padding-top: 8px;
  color: #a9cee4;
  border-top: 1px solid rgba(201, 229, 246, .24);
  font-size: .78rem;
  font-weight: 750;
  line-height: 1.35;
}

.chronicle-shell .raid-wiki-tools {
  margin-bottom: 28px;
  padding: 13px 14px;
  background: rgba(250, 253, 255, .9);
  border: 1px solid rgba(105, 150, 181, .28);
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(27, 58, 84, .08);
}

.raid-wiki-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.raid-wiki-filters button {
  min-height: 31px;
  padding: 0 10px;
  color: #24425f;
  background: #edf6fb;
  border: 1px solid rgba(105, 150, 181, .38);
  border-radius: 4px;
  font: inherit;
  font-size: .78rem;
  font-weight: 850;
  cursor: pointer;
}

.raid-wiki-filters button:hover,
.raid-wiki-filters button:focus-visible,
.raid-wiki-filters button.is-active {
  color: #102034;
  background: #f1c96d;
  border-color: rgba(179, 117, 16, .58);
}

.raid-wiki-directory {
  margin-bottom: 38px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(232, 244, 251, .9), rgba(248, 252, 255, .9));
  border: 1px solid rgba(105, 150, 181, .28);
  border-radius: 6px;
}

.raid-wiki-section-head {
  display: flex;
  gap: 26px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 18px;
}

.raid-wiki-section-head h2 {
  margin: 7px 0 0;
  color: #172235;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.04;
}

.raid-wiki-section-head p {
  max-width: 540px;
  margin: 0;
  color: #516d89;
  font-size: .92rem;
  line-height: 1.58;
}

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

.raid-wiki-dungeon-group {
  min-width: 0;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(105, 150, 181, .3);
  border-left: 3px solid #7fa9c7;
  border-radius: 3px;
}

.raid-wiki-dungeon-group summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(94px, 124px);
  grid-template-areas:
    "title logo"
    "meta logo"
    "toggle logo";
  column-gap: 10px;
  row-gap: 3px;
  min-height: 94px;
  padding: 11px 12px;
  color: #1b344d;
  cursor: pointer;
  list-style: none;
}

.raid-wiki-dungeon-group summary::-webkit-details-marker {
  display: none;
}

.raid-wiki-dungeon-group summary::after {
  grid-area: toggle;
  width: fit-content;
  color: #5f89a8;
  content: "Dungeons anzeigen";
  font-size: .7rem;
  font-weight: 800;
}

.raid-wiki-dungeon-group[open] summary::after {
  content: "Dungeon-Liste schließen";
}

.raid-wiki-dungeon-group summary > .raid-wiki-dungeon-title {
  grid-area: title;
  font-size: .88rem;
  font-weight: 900;
  line-height: 1.25;
}

.raid-wiki-dungeon-group summary small {
  grid-area: meta;
  color: #59728b;
  font-size: .73rem;
  font-weight: 750;
}

.raid-wiki-expansion-logo {
  grid-area: logo;
  justify-self: end;
  align-self: center;
  display: block;
  width: min(100%, 118px);
  max-height: 48px;
  object-fit: contain;
  object-position: right center;
  filter: drop-shadow(0 3px 6px rgba(27, 52, 77, .16));
}

.raid-wiki-dungeon-group ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0 12px 13px;
  list-style: none;
}

.raid-wiki-dungeon-group li,
.raid-wiki-dungeon-group a {
  color: #36546e;
  font-size: .82rem;
  line-height: 1.35;
}

.raid-wiki-dungeon-group a {
  color: #1d628e;
  font-weight: 800;
  text-decoration-color: rgba(29, 98, 142, .4);
}

.raid-wiki-raids {
  display: grid;
  gap: 28px;
}

.raid-wiki-raids > .raid-wiki-section-head {
  margin-bottom: -4px;
}

.raid-wiki-expansion {
  display: block;
}

.raid-wiki-expansion:not(:first-of-type) {
  margin-top: 8px;
  padding-top: 30px;
  border-top: 2px solid rgba(92, 142, 176, .46);
}

.raid-wiki-expansion > summary {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 16px;
  background: linear-gradient(105deg, rgba(216, 236, 247, .94), rgba(249, 252, 254, .9));
  border: 1px solid rgba(105, 150, 181, .36);
  border-left: 5px solid #6e9fbe;
  border-radius: 5px;
  box-shadow: 0 10px 24px rgba(37, 74, 103, .08);
  cursor: pointer;
  list-style: none;
}

.raid-wiki-expansion > summary::-webkit-details-marker {
  display: none;
}

.raid-wiki-expansion > summary::after {
  width: 9px;
  height: 9px;
  margin-left: 2px;
  border-right: 2px solid #527b99;
  border-bottom: 2px solid #527b99;
  content: "";
  transform: rotate(45deg) translateY(-2px);
  transition: transform .18s ease;
}

.raid-wiki-expansion[open] > summary::after {
  transform: rotate(225deg) translate(-1px, -2px);
}

.raid-wiki-expansion > summary:focus-visible {
  outline: 3px solid rgba(226, 169, 63, .58);
  outline-offset: 3px;
}

.raid-wiki-expansion > summary > div {
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.raid-wiki-expansion-year {
  color: #ad7216;
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .08em;
}

.raid-wiki-expansion h3 {
  margin: 0;
  color: #1b334b;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.05;
}

.instance-wiki-expansion-title {
  display: flex;
  min-width: 0;
  gap: 10px;
  align-items: center;
}

.instance-wiki-expansion-title-logo {
  display: block;
  width: auto;
  max-width: min(220px, 32vw);
  height: 2rem;
  max-height: 42px;
  object-fit: contain;
  object-position: left center;
}

.raid-wiki-expansion-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.raid-wiki-expansion > summary small {
  color: #5c7892;
  font-size: .78rem;
  font-weight: 850;
  white-space: nowrap;
}

.raid-wiki-expansion > .raid-wiki-grid {
  margin-top: 15px;
}

.raid-wiki-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.raid-wiki-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(105, 150, 181, .34);
  border-top: 3px solid #7fa9c7;
  border-radius: 6px;
  box-shadow: 0 13px 29px rgba(26, 56, 81, .09);
}

.raid-wiki-card[hidden],
.raid-wiki-expansion[hidden],
.raid-wiki-dungeon-group[hidden] {
  display: none;
}

.raid-wiki-card-media {
  display: block;
  overflow: hidden;
  background: #1b344d;
}

.raid-wiki-card-media .glossary-entry-real-image {
  aspect-ratio: 16 / 7;
  transition: transform .18s ease;
}

.raid-wiki-card-media:hover .glossary-entry-real-image,
.raid-wiki-card-media:focus-visible .glossary-entry-real-image {
  transform: scale(1.025);
}

.raid-wiki-card-media--placeholder {
  aspect-ratio: 16 / 7;
  background:
    linear-gradient(135deg, rgba(18, 43, 66, .85), rgba(29, 65, 93, .7)),
    linear-gradient(180deg, rgba(12, 24, 39, .06), rgba(12, 24, 39, .42)),
    url("/assets/guild-tile-dungeons-raids.png") center 52% / cover no-repeat;
}

.raid-wiki-card-media--placeholder:hover,
.raid-wiki-card-media--placeholder:focus-visible {
  filter: brightness(1.08);
}

.raid-wiki-card-copy {
  display: flex;
  min-height: 0;
  flex: 0 0 auto;
  flex-direction: column;
  padding: 17px;
}

.raid-wiki-card-meta {
  display: flex;
  gap: 8px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}

.raid-wiki-card-meta span {
  color: #5b7b95;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .065em;
  line-height: 1.2;
  text-transform: uppercase;
}

.raid-wiki-card-meta small {
  color: #ad7216;
  font-size: .72rem;
  font-weight: 900;
}

.raid-wiki-card h4 {
  margin: 0;
  color: #172235;
  font-size: 1.36rem;
  line-height: 1.08;
}

.raid-wiki-card h4 a {
  color: inherit;
  text-decoration: none;
}

.raid-wiki-card h4 a:hover,
.raid-wiki-card h4 a:focus-visible {
  color: #2b6289;
  text-decoration: underline;
  text-decoration-color: #e2a93f;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.raid-wiki-card-copy > p {
  margin: 10px 0 0;
  color: #49627b;
  font-size: .91rem;
  line-height: 1.57;
}

.raid-wiki-card-copy > p.raid-wiki-pending {
  color: #63788b;
  font-style: italic;
}

.raid-wiki-lore {
  margin-top: 11px;
  border-top: 1px solid rgba(105, 150, 181, .24);
}

.raid-wiki-lore summary {
  padding-top: 10px;
  color: #2b6289;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 900;
}

.raid-wiki-lore p {
  margin: 8px 0 0;
  color: #506b84;
  font-size: .86rem;
  line-height: 1.58;
}

.raid-wiki-bosses {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(105, 150, 181, .24);
}

.raid-wiki-bosses > strong {
  display: block;
  margin-bottom: 8px;
  color: #25445f;
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.raid-wiki-bosses ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.raid-wiki-bosses a {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  padding: 4px 7px;
  color: #214e70;
  background: #e9f4fa;
  border: 1px solid rgba(105, 150, 181, .32);
  border-radius: 3px;
  font-size: .75rem;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
}

.raid-wiki-bosses a:hover,
.raid-wiki-bosses a:focus-visible {
  color: #102034;
  background: #d5eaf6;
}

.raid-wiki-bosses p {
  margin: 0;
  color: #64798d;
  font-size: .8rem;
  font-style: italic;
  line-height: 1.42;
}

.raid-wiki-card-link {
  display: inline-flex;
  width: fit-content;
  min-height: 33px;
  align-items: center;
  margin-top: auto;
  padding-top: 14px;
  color: #1d5f88;
  font-size: .82rem;
  font-weight: 900;
  text-decoration: none;
}

.raid-wiki-card-link:hover,
.raid-wiki-card-link:focus-visible {
  color: #102034;
  text-decoration: underline;
  text-decoration-color: #e2a93f;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.raid-wiki-empty {
  margin: 0;
  padding: 20px;
  color: #405e79;
  background: #edf6fb;
  border: 1px solid rgba(105, 150, 181, .32);
  border-radius: 5px;
  text-align: center;
}

@media (max-width: 1000px) {
  .raid-wiki-dungeon-grid,
  .raid-wiki-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .chronicle-shell .raid-wiki-page {
    padding-top: 28px;
  }

  .raid-wiki-hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .raid-wiki-hero h1 {
    white-space: normal;
  }

  .raid-wiki-summary {
    max-width: 340px;
  }

  .raid-wiki-section-head {
    display: grid;
    gap: 10px;
    align-items: start;
  }

  .raid-wiki-directory {
    padding: 18px;
  }
}

@media (max-width: 560px) {
  .raid-wiki-dungeon-grid,
  .raid-wiki-grid {
    grid-template-columns: 1fr;
  }

  .raid-wiki-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .raid-wiki-filters button {
    flex: 0 0 auto;
  }

  .raid-wiki-expansion > summary,
.raid-wiki-expansion > summary > div {
    align-items: flex-start;
  }

  .raid-wiki-expansion > summary {
    flex-direction: column;
    gap: 6px;
  }

  .raid-wiki-expansion > summary > div {
    flex-direction: column;
    gap: 3px;
  }

  .raid-wiki-expansion > summary::after {
    position: absolute;
    right: 18px;
    top: 25px;
  }

  .raid-wiki-expansion > summary {
    position: relative;
    padding-right: 42px;
  }
}

/* Chronicle landing: retain the illustration while bringing the opener into
   the shared blue Ehre-und-Staerke palette. Gold remains a small accent only. */
.chronicle-shell .home-stage {
  color: #f3f7ff;
  background:
    radial-gradient(circle at 72% 24%, rgba(111, 164, 207, .22), transparent 35%),
    linear-gradient(90deg, rgba(12, 28, 47, .97), rgba(17, 42, 67, .88) 48%, rgba(16, 39, 63, .43)),
    url("https://blz-contentstack-images.akamaized.net/v3/assets/blt3452e3b114fab0cd/blt1293dc96274487a1/605e55b8c0625f0ca747a84a/NVMY5Y41YZ9J1541609533301.jpg?auto=webp&quality=75") center / cover no-repeat;
  border-color: rgba(127, 169, 199, .42);
  box-shadow: 0 26px 70px rgba(19, 40, 62, .24);
}

.chronicle-shell .home-stage::before {
  background: linear-gradient(90deg, #e4b04b, rgba(151, 201, 232, .42));
}

.chronicle-shell .home-stage h1 {
  color: #fff7e8;
}

.chronicle-shell .home-stage .eyebrow {
  color: #9fcfe9;
}

.chronicle-shell .home-lead {
  color: #dceaf5;
}

.chronicle-shell .home-stage-meta {
  color: #f3f7ff;
  background:
    linear-gradient(135deg, rgba(15, 35, 56, .96), rgba(35, 75, 109, .91)),
    url("/assets/guild-values-bg.png") center / cover;
  border-color: rgba(127, 169, 199, .48);
  box-shadow: 0 18px 44px rgba(13, 34, 56, .28);
}

.chronicle-shell .home-stage-meta span,
.chronicle-shell .home-stage-meta small {
  color: #bcdced;
}

.chronicle-shell .home-stage-meta strong {
  color: #fff7e8;
}

/* Linked content: instance articles, editorial sources and guild profiles. */
.content-source-box {
  margin-top: 32px;
  padding: 20px 22px;
  background: #eef7fc;
  border: 1px solid rgba(105, 150, 181, .38);
  border-left: 4px solid #7fa9c7;
  border-radius: 5px;
}

.content-source-box h2 {
  margin: 0 0 12px;
  color: #1b344d;
  font-size: 1.2rem;
}

.content-source-box ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.content-source-box li {
  display: grid;
  gap: 3px;
}

.content-source-box a {
  width: fit-content;
  color: #1d628e;
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.content-source-box span {
  color: #58718a;
  font-size: .88rem;
  line-height: 1.45;
}

.instance-detail-page {
  padding: 38px 0 82px;
}

.instance-detail-topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.instance-detail-topnav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  color: #244f70;
  background: #f5fbff;
  border: 1px solid rgba(105, 150, 181, .38);
  border-radius: 4px;
  font-size: .78rem;
  font-weight: 850;
  text-decoration: none;
}

.instance-detail-topnav a:hover,
.instance-detail-topnav a:focus-visible {
  color: #102034;
  background: #e0f0fa;
}

.instance-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  overflow: hidden;
  min-height: 300px;
  background: #10253b;
  border: 1px solid rgba(105, 150, 181, .52);
  border-top: 4px solid #7fa9c7;
  box-shadow: 0 22px 48px rgba(23, 50, 75, .16);
}

.instance-detail-hero-copy {
  align-self: center;
  padding: clamp(28px, 5vw, 58px);
  color: #eaf5fb;
}

.instance-detail-hero-copy .eyebrow {
  color: #9fcfe9;
}

.instance-detail-hero h1 {
  margin: 9px 0 0;
  color: #fff7e8;
  font-size: clamp(2.15rem, 4.3vw, 4rem);
  line-height: 1;
}

.instance-detail-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: #d8e8f3;
  font-size: 1.02rem;
  line-height: 1.7;
}

.instance-detail-hero-visual {
  min-height: 300px;
  margin: 0;
  background: #183850;
}

.instance-detail-hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.instance-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 28px;
  align-items: start;
  margin-top: 28px;
}

.instance-detail-story {
  min-width: 0;
  padding: clamp(24px, 3vw, 38px);
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(105, 150, 181, .28);
  box-shadow: 0 14px 34px rgba(27, 58, 84, .08);
}

.instance-detail-story > .eyebrow {
  display: block;
  margin-bottom: 14px;
  color: #547c9a;
}

.instance-detail-side {
  display: grid;
  gap: 16px;
}

.instance-detail-side section {
  padding: 20px;
  background: #eaf5fb;
  border: 1px solid rgba(105, 150, 181, .36);
  border-left: 4px solid #7fa9c7;
}

.instance-detail-side h2 {
  margin: 0 0 13px;
  color: #1b344d;
  font-size: 1.22rem;
}

.instance-detail-term-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.instance-detail-term-list a {
  padding: 6px 8px;
  color: #1f4e70;
  background: #fff;
  border: 1px solid rgba(105, 150, 181, .4);
  border-radius: 3px;
  font-size: .78rem;
  font-weight: 850;
  line-height: 1.25;
  text-decoration: none;
}

.instance-detail-term-list a:hover,
.instance-detail-term-list a:focus-visible {
  color: #102034;
  background: #d7eaf6;
}

.instance-detail-related-list,
.instance-detail-videos {
  display: grid;
  gap: 9px;
}

.instance-detail-related-list a {
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  color: #1d4a6b;
  background: rgba(255, 255, 255, .74);
  border: 1px solid rgba(105, 150, 181, .3);
  text-decoration: none;
}

.instance-detail-related-list a:hover,
.instance-detail-related-list a:focus-visible {
  background: #fff;
  border-color: #7fa9c7;
}

.instance-detail-related-list span,
.instance-detail-videos span {
  color: #5f7a93;
  font-size: .72rem;
  font-weight: 800;
}

.instance-detail-videos a {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  column-gap: 10px;
  color: #1d4a6b;
  text-decoration: none;
}

.instance-detail-videos img {
  grid-row: span 2;
  width: 88px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #17344d;
}

.instance-detail-videos strong {
  align-self: end;
  font-size: .82rem;
  line-height: 1.3;
}

.instance-detail-videos span {
  align-self: start;
}

.members-current__profiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  width: min(1180px, calc(100% - 36px));
  margin: 32px auto 0;
}

.member-profile-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(190px, 42%) minmax(0, 1fr);
  height: 380px;
  min-width: 0;
  overflow: hidden;
  color: #385a74;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(105, 150, 181, .34);
  border-top: 3px solid #7fa9c7;
  border-radius: 6px;
  box-shadow: 0 18px 38px rgba(27, 58, 84, .11);
}

.member-profile-card:has(.member-profile-card__details[open]) {
  height: auto;
  min-height: 380px;
  overflow: visible;
}

.member-profile-card__visual {
  position: relative;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(210, 231, 241, .8), rgba(157, 196, 216, .45)),
    #dcecf4;
}

.member-profile-card__visual::after {
  position: absolute;
  z-index: 2;
  top: 0;
  right: -1px;
  width: 34px;
  height: 100%;
  content: "";
  background: rgba(255, 255, 255, .96);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.member-profile-card__portrait {
  position: absolute;
  inset: 0;
}

.member-profile-card__portrait img,
.member-profile-card__initial {
  display: grid;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: #f7fbff;
  background:
    radial-gradient(circle at 50% 25%, rgba(126, 181, 207, .84), transparent 40%),
    linear-gradient(145deg, #1d4a6b, #769eb7);
  border: 0;
  border-radius: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 7vw, 6.2rem);
  font-weight: 800;
  object-fit: cover;
  object-position: center top;
}

.member-profile-card__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 27px 26px 22px 22px;
}

.member-profile-card__header {
  padding-bottom: 17px;
  border-bottom: 1px solid rgba(105, 150, 181, .28);
}

.member-profile-card__identity {
  min-width: 0;
}

.member-profile-card__role {
  display: block;
  margin-bottom: 8px;
  color: #7a4f17;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.member-profile-card h3 {
  margin: 0;
  color: #1b344d;
  font-size: clamp(1.55rem, 2.3vw, 2rem);
  line-height: 1.06;
  overflow-wrap: anywhere;
}

.member-profile-card__body {
  display: grid;
  align-content: start;
  flex: 1;
  min-height: 0;
  padding-top: 18px;
}

.member-profile-card__meta {
  margin: 0 0 11px;
  color: #5b7f9d;
  font-size: .78rem;
  font-weight: 800;
}

.member-profile-card__meta a {
  margin-left: 4px;
  color: #8b5b19;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.member-profile-card__meta a:hover,
.member-profile-card__meta a:focus-visible {
  color: #b06f12;
}

.member-profile-card__description {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #38536a;
  font-size: .91rem;
  line-height: 1.58;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
}

.member-profile-card__description--empty {
  color: #718595;
  font-style: italic;
}

.member-profile-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid rgba(105, 150, 181, .2);
}

.member-profile-card__footer > small {
  color: #5b7f9d;
  font-size: .78rem;
  font-weight: 800;
}

.member-profile-card__details {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  color: #38536a;
}

.member-profile-card__details summary {
  display: block;
  cursor: pointer;
  color: #38536a;
  font-size: .91rem;
  font-weight: 400;
  line-height: 1.58;
  list-style: none;
}

.member-profile-card__details summary::-webkit-details-marker {
  display: none;
}

.member-profile-card__read-less,
.member-profile-card__details[open] .member-profile-card__description--preview {
  display: none;
}

.member-profile-card__description--preview {
  display: inline;
  overflow: visible;
  color: #38536a;
  font-size: .91rem;
  font-weight: 400;
  line-height: 1.58;
}

.member-profile-card__read-more,
.member-profile-card__read-less {
  color: #38536a;
  font-size: .84rem;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.member-profile-card__details summary span.member-profile-card__read-more {
  display: inline;
}

.member-profile-card__description--full {
  display: none;
  overflow: visible;
  margin: 0;
  color: #38536a;
  font-size: .91rem;
  line-height: 1.58;
  -webkit-line-clamp: unset;
}

.member-profile-card__details[open] summary {
  order: 2;
  margin-top: 10px;
}

.member-profile-card__details[open] .member-profile-card__read-less {
  display: inline;
}

.member-profile-card__details[open] .member-profile-card__description--full {
  display: block;
  order: 1;
}

.content-page--vermisst .missing-member-card__year {
  margin: .5rem 0 0;
  color: #b27223;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .03em;
}

/* Keep the instance count in one calm right-hand column, independent of the
   expansion title length. The disclosure arrow remains its own control. */
.raid-wiki-expansion > summary {
  position: relative;
  padding-right: 106px;
}

.raid-wiki-expansion > summary::after {
  position: absolute;
  right: 19px;
  top: 50%;
  margin: 0;
}

.raid-wiki-expansion-meta {
  position: absolute;
  right: 49px;
  top: 50%;
  min-width: 42px;
  justify-content: flex-end;
  transform: translateY(-50%);
}

.raid-wiki-expansion > summary small {
  text-align: right;
}

@media (max-width: 900px) {
  .instance-detail-hero,
  .instance-detail-layout {
    grid-template-columns: 1fr;
  }

  .instance-detail-hero-visual,
  .instance-detail-hero-visual img {
    min-height: 220px;
  }

  .members-current__profiles {
    grid-template-columns: 1fr;
  }

  .member-profile-card {
    grid-template-columns: minmax(240px, 44%) minmax(0, 1fr);
    height: 370px;
  }

  .member-profile-card:has(.member-profile-card__details[open]) {
    min-height: 370px;
  }
}

@media (max-width: 600px) {
  .instance-detail-page {
    padding-top: 24px;
  }

  .instance-detail-hero-copy,
  .instance-detail-story {
    padding: 22px;
  }

  .instance-detail-hero h1 {
    font-size: 2.25rem;
  }

  .instance-detail-side section {
    padding: 17px;
  }

  .members-current__profiles {
    grid-template-columns: 1fr;
  }

  .member-profile-card {
    grid-template-columns: 1fr;
    grid-template-rows: 230px minmax(0, 1fr);
    height: 540px;
  }

  .member-profile-card:has(.member-profile-card__details[open]) {
    min-height: 540px;
  }

  .member-profile-card__visual {
    min-height: 230px;
  }

  .member-profile-card__visual::after {
    top: auto;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: 25px;
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
  }

  .member-profile-card__content {
    padding: 22px 21px 19px;
  }

  .member-profile-card h3 {
    font-size: 1.65rem;
  }

  .member-profile-card__description {
    -webkit-line-clamp: 6;
  }
}

@media (max-width: 560px) {
  .raid-wiki-expansion > summary {
    min-height: 64px;
    padding-right: 106px;
  }

  .raid-wiki-expansion > summary::after {
    top: 50%;
    transform: rotate(45deg) translate(-2px, -2px);
  }

  .raid-wiki-expansion[open] > summary::after {
    transform: rotate(225deg) translate(1px, 1px);
  }

  .raid-wiki-expansion-meta {
    top: 50%;
  }
}

/* Instance accordions: smooth disclosure with a compact mobile overview. */
.raid-wiki-expansion > .raid-wiki-expansion-panel,
.raid-wiki-expansion:not([open]) > .raid-wiki-expansion-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .24s ease, opacity .18s ease;
}

.raid-wiki-expansion[open] > .raid-wiki-expansion-panel {
  grid-template-rows: 1fr;
  opacity: 1;
}

.raid-wiki-expansion.is-closing > .raid-wiki-expansion-panel {
  grid-template-rows: 0fr;
  opacity: 0;
}

.raid-wiki-expansion-panel > .raid-wiki-grid {
  min-height: 0;
  padding-top: 0;
  overflow: hidden;
  transition: padding-top .24s ease;
}

.raid-wiki-expansion[open] > .raid-wiki-expansion-panel > .raid-wiki-grid {
  padding-top: 15px;
}

.raid-wiki-expansion.is-closing > .raid-wiki-expansion-panel > .raid-wiki-grid {
  padding-top: 0;
}

@media (max-width: 600px) {
  .raid-wiki-expansion {
    scroll-margin-top: calc(var(--eus-mainnav-height, 91px) + 54px);
  }

  .raid-wiki-expansion:not(:first-of-type) {
    margin-top: 5px;
    padding-top: 13px;
    border-top-width: 1px;
  }

  .raid-wiki-expansion > summary {
    display: grid;
    min-height: 76px;
    grid-template-columns: minmax(0, 1fr) 18px;
    grid-template-areas:
      "title toggle"
      "meta toggle";
    gap: 6px 12px;
    align-items: center;
    padding: 13px 14px;
    scroll-margin-top: calc(var(--eus-mainnav-height, 91px) + 54px);
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(105, 150, 181, .18);
  }

  .raid-wiki-expansion[open] > summary {
    position: sticky;
    top: calc(var(--eus-mainnav-height, 91px) + 47px);
    z-index: 24;
    background: linear-gradient(105deg, #d8ecf7, #f9fcfe);
    border-color: rgba(76, 127, 162, .55);
    box-shadow: 0 10px 22px rgba(27, 58, 84, .16);
  }

  .raid-wiki-expansion > summary > div {
    display: grid;
    grid-area: title;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    align-items: center;
  }

  .raid-wiki-expansion-year {
    align-self: start;
    padding-top: 3px;
    font-size: .7rem;
  }

  .instance-wiki-expansion-title {
    flex-wrap: wrap;
    gap: 4px 8px;
  }

  .raid-wiki-expansion h3 {
    font-size: 1.15rem;
    line-height: 1.1;
  }

  .instance-wiki-expansion-title-logo {
    max-width: 88px;
    height: 24px;
    max-height: 24px;
  }

  .raid-wiki-expansion-meta {
    position: static;
    grid-area: meta;
    min-width: 0;
    gap: 8px;
    justify-content: flex-start;
    transform: none;
  }

  .raid-wiki-expansion-meta::after {
    color: #376786;
    content: "Anzeigen";
    font-size: .7rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .raid-wiki-expansion[open] .raid-wiki-expansion-meta::after {
    content: "Schlie\00df en";
  }

  .raid-wiki-expansion > summary small {
    text-align: left;
  }

  .raid-wiki-expansion > summary::after {
    position: static;
    grid-area: toggle;
    align-self: center;
    justify-self: end;
    margin: 0;
    transform: rotate(45deg) translate(-2px, -2px);
  }

  .raid-wiki-expansion[open] > summary::after {
    transform: rotate(225deg) translate(1px, 1px);
  }

  .raid-wiki-expansion[open] > .raid-wiki-expansion-panel > .raid-wiki-grid {
    padding-top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .raid-wiki-expansion > .raid-wiki-expansion-panel,
  .raid-wiki-expansion-panel > .raid-wiki-grid {
    transition: none;
  }
}
/* Bot trap: real visitors never need this field. */
.registration-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* WoW Wiki landing and the separated chronicle overview. */
.wiki-home {
  color: #18253a;
}

.chronicle-shell .wiki-home-hero {
  padding: 44px 0 40px;
  background:
    linear-gradient(180deg, rgba(245, 247, 247, .78), #f5f7f7 320px, #edf2f4 68%, #edf3f6 100%),
    url("https://i.ytimg.com/vi/SewcUECs8Xg/maxresdefault.jpg") center 28% / cover no-repeat;
}

.wiki-home-stage-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.wiki-home-stage-link .home-stage {
  transition: box-shadow .18s ease;
}

.wiki-home-stage-link:hover .home-stage,
.wiki-home-stage-link:focus-visible .home-stage {
  box-shadow: 0 32px 78px rgba(28, 18, 10, .34);
}

.wiki-home-stage-link:focus-visible {
  outline: 3px solid #d9a441;
  outline-offset: 5px;
}

.wiki-home-paths,
.wiki-home-story,
.wiki-home-resources,
.wiki-home-seo {
  padding: 68px 0;
}

.wiki-home-paths {
  padding-top: 40px;
  background: linear-gradient(180deg, #edf3f6 0, #ebf2f5 24%, #e6eef2 100%);
  border-bottom: 1px solid rgba(94, 137, 169, .18);
}

.wiki-section-heading {
  display: block;
  margin-bottom: 28px;
  text-align: center;
}

.wiki-section-heading h2 {
  margin: 0;
  color: #17243a;
  font-size: clamp(2rem, 3.3vw, 3.3rem);
  line-height: 1.02;
  white-space: nowrap;
}

.wiki-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.wiki-path-card {
  min-height: 286px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  color: #eef7ff;
  background:
    linear-gradient(135deg, rgba(12, 31, 51, .98), rgba(30, 65, 94, .93)),
    url("/assets/guild-values-bg.png") center / cover;
  border: 1px solid rgba(118, 170, 205, .45);
  border-top: 4px solid #7eb0d1;
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(24, 48, 70, .16);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.wiki-path-card:hover,
.wiki-path-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(151, 201, 232, .75);
  box-shadow: 0 24px 50px rgba(24, 48, 70, .24);
}

.wiki-path-card:focus-visible {
  outline: 3px solid #d9a441;
  outline-offset: 3px;
}

.wiki-path-card .eyebrow {
  color: #9fcce8;
}

.wiki-path-card h2 {
  margin: 12px 0 10px;
  color: #fff7e8;
  font-size: clamp(1.7rem, 2.25vw, 2.25rem);
  line-height: 1.05;
}

.wiki-path-card p {
  margin: 0;
  color: #d8e7f2;
  line-height: 1.65;
}

.wiki-path-card strong {
  margin-top: auto;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  color: #101826;
  background: linear-gradient(180deg, #f1c96d, #d89d38);
  font-size: .9rem;
  font-weight: 900;
}

.wiki-home-story {
  background: rgba(255, 255, 255, .72);
}

.wiki-home-story__inner {
  display: grid;
  grid-template-columns: minmax(270px, .78fr) minmax(480px, 1.22fr);
  gap: 64px;
  align-items: start;
}

.wiki-home-story h2,
.wiki-home-resource-card h2,
.wiki-home-seo h2 {
  margin-top: 10px;
  color: #17243a;
  font-size: clamp(2rem, 3.2vw, 3.15rem);
  line-height: 1.05;
}

.wiki-home-story__copy {
  padding-left: 34px;
  border-left: 3px solid #7fa9c7;
  color: #3d546d;
  font-size: 1.03rem;
  line-height: 1.8;
}

.wiki-home-story__copy p + p {
  margin-top: 18px;
}

.wiki-home-resources {
  background: linear-gradient(180deg, #edf3f6, #e7eef2);
  border-top: 1px solid rgba(94, 137, 169, .18);
}

.wiki-home-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 22px;
}

.wiki-home-resource-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 38px;
  color: #e9f3fa;
  background:
    linear-gradient(125deg, rgba(12, 30, 48, .99), rgba(27, 59, 86, .94)),
    url("/assets/guild-values-bg.png") center / cover;
  border: 1px solid rgba(118, 170, 205, .44);
  border-top: 4px solid #7eb0d1;
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(24, 48, 70, .15);
}

.wiki-home-resource-card--forum {
  background:
    linear-gradient(125deg, rgba(18, 40, 61, .98), rgba(42, 75, 101, .94)),
    url("/assets/guild-values-bg.png") center / cover;
}

.wiki-home-resource-card--cinematics {
  background:
    linear-gradient(125deg, rgba(13, 35, 56, .99), rgba(35, 70, 98, .94)),
    url("/assets/guild-values-bg.png") center / cover;
}

.wiki-home-resource-card .eyebrow {
  color: #9fcce8;
}

.wiki-home-resource-card h2 {
  color: #fff7e8;
  font-size: clamp(1.85rem, 2.35vw, 2.65rem);
}

.wiki-home-resource-card p {
  margin-top: 14px;
  margin-bottom: 28px;
  color: #d7e7f2;
  font-size: 1.02rem;
  line-height: 1.7;
}

.wiki-home-resource-card .wiki-home-button {
  margin-top: auto;
}

.wiki-home-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  color: #11243a;
  background: #d9ecf8;
  border: 1px solid rgba(164, 207, 234, .7);
  border-radius: 4px;
  font-size: .9rem;
  font-weight: 900;
  text-decoration: none;
}

.wiki-home-button:hover,
.wiki-home-button:focus-visible {
  background: #f2f8fc;
}

.wiki-home-seo {
  background: rgba(255, 255, 255, .8);
  border-top: 1px solid rgba(94, 137, 169, .18);
}

.wiki-home-seo__inner {
  max-width: 1120px;
}

.wiki-home-seo h2 {
  max-width: 980px;
}

.wiki-home-seo__copy {
  max-width: 1000px;
  margin-top: 28px;
  color: #405870;
  font-size: 1.03rem;
  line-height: 1.82;
}

.wiki-home-seo__copy p + p {
  margin-top: 18px;
}

.wiki-home-seo__copy h3 {
  margin: 42px 0 14px;
  color: #1b2c43;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.16;
}

.wiki-home-seo__copy h3 + p {
  margin-top: 0;
}

.wiki-home-button--gold {
  color: #152033;
  background: linear-gradient(180deg, #f1c96d, #d89d38);
  border-color: rgba(177, 121, 29, .48);
}

.wiki-home-button--gold:hover,
.wiki-home-button--gold:focus-visible {
  background: linear-gradient(180deg, #f7d781, #e6ad44);
}

.chronicle-overview-page {
  padding-bottom: 78px;
}

.chronicle-overview-intro {
  padding-top: 46px;
  padding-bottom: 28px;
}

.chronicle-overview-intro h1 {
  max-width: none;
  margin: 0;
  color: #17243a;
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  line-height: .98;
  white-space: nowrap;
}

.chronicle-overview-intro p {
  max-width: none;
  margin-top: 14px;
  color: #465d74;
  font-size: 1.08rem;
  line-height: 1.75;
  white-space: nowrap;
}

.chronicle-overview-timeline {
  padding-top: 14px;
}

.chronicle-overview-purpose {
  max-width: 1080px;
  margin: 18px 0 36px;
  color: #465d74;
  font-size: 1.05rem;
  line-height: 1.78;
}

.chronicle-overview-purpose p {
  margin: 0;
}

.chronicle-overview-purpose p + p {
  margin-top: 14px;
}

@media (max-width: 860px) {
  .wiki-home-story__inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .wiki-home-resource-grid {
    grid-template-columns: 1fr;
  }

  .wiki-path-grid {
    grid-template-columns: 1fr;
  }

  .wiki-path-card {
    min-height: 230px;
  }

  .wiki-home-story__copy {
    padding-left: 0;
    padding-top: 22px;
    border-left: 0;
    border-top: 3px solid #7fa9c7;
  }
}

@media (max-width: 620px) {
  .wiki-home-hero {
    padding: 38px 0 52px;
  }

  .wiki-home-paths,
  .wiki-home-story,
  .wiki-home-resources,
  .wiki-home-seo {
    padding: 44px 0;
  }

  .wiki-section-heading h2,
  .wiki-home-story h2,
  .wiki-home-resource-card h2,
  .wiki-home-seo h2 {
    font-size: 2.05rem;
  }

  .wiki-section-heading h2 {
    white-space: normal;
  }

  .wiki-path-card {
    min-height: 0;
    padding: 23px;
  }

  .wiki-path-card strong {
    margin-top: 18px;
  }

  .wiki-home-resource-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .wiki-home-resource-card {
    min-height: 0;
    padding: 26px;
  }

  .wiki-home-button {
    width: 100%;
  }

  .chronicle-overview-page {
    padding-bottom: 52px;
  }

  .chronicle-overview-intro {
    padding-top: 38px;
    padding-bottom: 28px;
  }

  .chronicle-overview-intro h1 {
    font-size: 2.4rem;
    white-space: normal;
  }

  .chronicle-overview-intro p {
    white-space: normal;
  }

  .chronicle-overview-timeline {
    padding-top: 2px;
  }
}
