:root {
  --night: #091729;
  --ink: #17232b;
  --paper: #f4ead7;
  --paper-light: #fffaf0;
  --gold: #d7a64b;
  --gold-bright: #f0cb75;
  --ember: #bd5c35;
  --wine: #713b42;
  --alliance: #123f79;
  --alliance-bright: #2f6cad;
  --silver: #dce7ec;
  --line: rgba(87, 61, 33, 0.22);
  --shadow: 0 24px 70px rgba(5, 17, 24, 0.24);
}

* { box-sizing: border-box; }

.module-withdrawn-screen { display: none; }
.love-family-withdrawn body > :not(.module-withdrawn-screen) { display: none !important; }
.love-family-withdrawn .module-withdrawn-screen {
  min-height: 100vh;
  display: grid;
  place-content: center;
  gap: 14px;
  padding: 32px;
  color: #f7eed5;
  background: #0a1d2d;
  text-align: center;
}
.love-family-withdrawn .module-withdrawn-screen p,
.love-family-withdrawn .module-withdrawn-screen h1,
.love-family-withdrawn .module-withdrawn-screen span { margin: 0; }
.love-family-withdrawn .module-withdrawn-screen p {
  color: #d5b15a;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.love-family-withdrawn .module-withdrawn-screen h1 {
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.04;
}
.love-family-withdrawn .module-withdrawn-screen span { color: rgba(247, 238, 213, 0.75); }
.love-family-withdrawn .module-withdrawn-screen a {
  justify-self: center;
  margin-top: 12px;
  padding: 11px 18px;
  border: 1px solid rgba(213, 177, 90, 0.65);
  color: #f7eed5;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at 12% 8%, rgba(215, 166, 75, 0.16), transparent 28rem), linear-gradient(180deg, #f7efe1 0%, #ede0ca 55%, #f8f1e5 100%);
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  line-height: 1.7;
}
a { color: inherit; }
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 100; background: rgba(11, 23, 32, 0.12); }
.scroll-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--ember), var(--gold-bright)); }

.site-header {
  position: sticky; top: 0; z-index: 50; min-height: 76px;
  display: flex; align-items: center; gap: 24px;
  padding: 12px clamp(22px, 5vw, 80px); color: #f9efd9;
  background: rgba(11, 23, 32, 0.94); border-bottom: 1px solid rgba(240, 203, 117, 0.28);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: max-content; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--gold); border-radius: 50%; background: radial-gradient(circle, rgba(31,72,128,0.62), rgba(6,20,33,0.96) 72%); box-shadow: inset 0 0 0 4px rgba(215, 166, 75, 0.08); }
.brand-mark svg { width: 88%; height: 88%; display: block; }.alliance-shield { fill: #16477f; stroke: #e1b84d; stroke-width: 2; }.alliance-mane { fill: #d9ab3f; }.alliance-face { fill: #f3d77b; }.alliance-detail { fill: none; stroke: #17365f; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 0.98rem; letter-spacing: 0.12em; }
.brand small { color: #b9c9c5; font-size: 0.68rem; letter-spacing: 0.08em; }
nav { display: flex; justify-content: center; gap: clamp(12px, 2vw, 30px); margin-left: auto; }
nav a { color: #d9dedb; text-decoration: none; font-size: 0.86rem; letter-spacing: 0.08em; }
nav a:hover, nav a:focus-visible { color: var(--gold-bright); }
.offline-badge { padding: 5px 9px; border: 1px solid rgba(240, 203, 117, 0.46); color: var(--gold-bright); font: 700 0.65rem/1 Arial, sans-serif; letter-spacing: 0.12em; text-transform: uppercase; }
.research-home-link { min-width: max-content; text-decoration: none; letter-spacing: 0.08em; transition: color 160ms ease, border-color 160ms ease, background 160ms ease; }
.research-home-link::before { content: "\21A9"; margin-right: 0.5em; font-size: 1.15em; font-weight: 900; line-height: 0; }
.research-home-link:hover, .research-home-link:focus-visible { color: #fff4d8; border-color: var(--gold-bright); background: rgba(215,166,75,0.12); outline: none; }
.language-switch { display: inline-flex; align-items: center; gap: 4px; min-width: max-content; padding: 3px; border: 1px solid rgba(240, 203, 117, 0.34); color: #94a6a8; background: rgba(255,255,255,0.03); font: 700 0.66rem/1 Arial, sans-serif; letter-spacing: 0.08em; }
.language-switch button { padding: 6px 7px; border: 0; color: inherit; background: transparent; font: inherit; cursor: pointer; }
.language-switch button:hover, .language-switch button:focus-visible { color: #fff4d8; outline: none; }
.language-switch button.is-active { color: var(--gold-bright); background: rgba(215,166,75,0.12); }
.menu-toggle { display: none; }

main { overflow: hidden; }
section { scroll-margin-top: 76px; }
.hero { min-height: clamp(500px, 66vh, 680px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr); align-items: center; gap: clamp(24px, 4vw, 60px); padding: clamp(32px, 3.5vw, 54px) clamp(24px, 7vw, 118px) clamp(32px, 3.5vw, 54px) clamp(24px, 4vw, 68px); position: relative; isolation: isolate; background: #f7efe1; }
.hero-scene { position: absolute; inset: 0 0 0 38%; z-index: -2; width: 62%; height: 100%; object-fit: cover; object-position: center; background: #f7efe1; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.16) 5%, rgba(0,0,0,0.72) 13%, #000 22%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.16) 5%, rgba(0,0,0,0.72) 13%, #000 22%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(247,239,225,1) 0%, rgba(247,239,225,0.99) 26%, rgba(247,239,225,0.95) 36%, rgba(247,239,225,0.84) 46%, rgba(247,239,225,0.64) 56%, rgba(247,239,225,0.4) 66%, rgba(247,239,225,0.18) 78%, rgba(247,239,225,0.04) 91%, rgba(247,239,225,0.01) 100%); }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 16px; color: var(--wine); font: 800 0.76rem/1.2 Arial, sans-serif; letter-spacing: 0.18em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 2px; font-size: clamp(4rem, 9vw, 8.2rem); line-height: 0.98; letter-spacing: -0.065em; color: var(--night); }
html[lang="en"] h1 { font-size: clamp(3.6rem, 5.2vw, 5.4rem); line-height: 0.94; white-space: nowrap; }
.english-title { margin-bottom: 20px; color: var(--ember); font-size: clamp(1.1rem, 1.8vw, 1.7rem); font-style: italic; letter-spacing: 0.08em; }
.hero-intro { max-width: 760px; font-size: clamp(1rem, 1.25vw, 1.22rem); color: #3e4a4e; }
.hero-cast { margin-top: 18px; margin-bottom: 34px; }
.hero-cast-list { display: flex; align-items: center; gap: 10px; }
.cast-member { position: relative; isolation: isolate; flex: 0 0 auto; width: 58px; height: 58px; margin: 0; overflow: visible; border: 2px solid rgba(255,250,240,0.92); border-radius: 50%; background: #f7efe1; box-shadow: 0 0 0 1px rgba(113,59,66,0.38), 0 8px 18px rgba(9,23,41,0.18); cursor: default; transition: transform 0.26s cubic-bezier(0.2,0.75,0.25,1), box-shadow 0.26s ease; }
.cast-member img { position: relative; z-index: 1; width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 50%; }
.cast-member:first-child { margin-left: 0; }
.cast-member:hover, .cast-member:focus-visible { z-index: 10; transform: translateY(-4px) scale(1.22); box-shadow: 0 0 0 2px rgba(240,203,117,0.7), 0 14px 26px rgba(9,23,41,0.26); outline: none; }
.cast-paladin img { object-position: 51% 35%; transform: scale(1.12); transform-origin: 51% 35%; }
.cast-elf img { object-position: 50% 34%; transform: scale(1.12); transform-origin: 50% 34%; }
.cast-kids img { object-position: 49% 40%; transform: scale(1.14); transform-origin: 49% 40%; }
.cast-kids figcaption { position: absolute; top: calc(100% + 7px); left: 50%; z-index: 5; width: max-content; transform: translateX(-50%); white-space: nowrap; padding: 3px 6px; border: 1px solid rgba(240,203,117,0.72); border-radius: 999px; color: #fff3d7; background: rgba(8,24,40,0.94); box-shadow: 0 5px 12px rgba(9,23,41,0.2); font: 800 0.44rem/1.1 Arial, sans-serif; letter-spacing: 0.065em; text-transform: uppercase; }
.cast-cats img { object-position: 50% 39%; transform: rotate(-3deg) scale(1.16); transform-origin: 50% 39%; }
.hero-volumes { display: grid; grid-template-columns: 1fr; gap: 8px; max-width: 520px; margin: 18px 0 14px; }
.volume-cover { min-height: 76px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 13px 16px 12px 24px; text-decoration: none; border: 1px solid rgba(93,65,37,0.25); box-shadow: 0 10px 24px rgba(55,37,21,0.1); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.volume-cover::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 8px; width: 2px; background: currentColor; opacity: 0.34; }
.volume-cover small, .volume-cover strong { display: block; }
.volume-cover small { font: 800 0.61rem/1.25 Arial,sans-serif; letter-spacing: 0.14em; text-transform: uppercase; }
.volume-cover strong { margin-top: 6px; font-size: 1.05rem; line-height: 1.15; }
.volume-cover:hover, .volume-cover:focus-visible { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(55,37,21,0.16); outline: none; }
.volume-real { color: var(--night); background: linear-gradient(135deg, rgba(255,250,240,0.96), rgba(236,215,181,0.88)); }
.volume-real small { color: var(--wine); }
.volume-virtual { color: #fff3d7; background: linear-gradient(120deg, rgba(8,24,40,0.97), rgba(18,63,121,0.9)), url("https://img4.nga.cn/proxy/cache_attach/ftitle/f7.1920x252.kydW6g.230308.jpg") center / cover; }
.volume-virtual small { color: var(--gold-bright); }

.world-window { min-height: 430px; margin: 0; position: relative; z-index: 1; overflow: visible; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.world-window::after { content: none; }
.window-caption { position: absolute; inset: auto 24px 24px auto; z-index: 2; width: min(620px, 72%); padding: 18px 20px; color: #fff3db; background: linear-gradient(90deg, rgba(9,22,28,0.3) 0%, rgba(9,22,28,0.68) 48%, rgba(9,22,28,0.94) 100%); border-left: 2px solid var(--gold); text-shadow: 0 1px 8px rgba(0,0,0,0.72); }
.window-caption small, .window-caption strong { display: block; }.window-caption small { color: var(--gold-bright); text-transform: uppercase; letter-spacing: 0.16em; }.window-caption strong { margin-top: 5px; font-size: 1.05rem; }

section:not(.hero) { padding: clamp(58px, 7vw, 100px) clamp(24px, 7vw, 118px); }
.section-heading { max-width: 1100px; margin-bottom: 40px; }.section-heading.compact { max-width: 820px; }
.section-heading h2, .about-panel h2 { margin-bottom: 18px; color: var(--night); font-size: clamp(2.3rem, 4.4vw, 4.2rem); line-height: 1.06; letter-spacing: -0.045em; }
.chapter-section .section-heading, .notes-section .section-heading { max-width: 1180px; }
.section-heading > p:last-child, .about-panel > p { color: #566165; font-size: 1.04rem; }

.world-real { color: var(--ink); }
.chapter-section { color: var(--ink); background: linear-gradient(135deg, #fffaf0 0%, #f3e8d3 58%, #fbf4e8 100%); position: relative; }
.chapter-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 18%, rgba(215,166,75,0.18), transparent 32rem); pointer-events: none; }
.chapter-section .eyebrow { color: var(--wine); }.chapter-section .section-heading h2 { color: var(--night); }.chapter-section .section-heading > p:last-child { color: #566165; }
.chapter-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.chapter-card { min-height: 422px; padding: 30px; border: 0; background-position: center; background-size: cover; position: relative; isolation: isolate; overflow: hidden; }
.chapter-card::before { content: ""; position: absolute; z-index: -1; inset: 0; background: transparent; box-shadow: inset 0 0 15px 3px rgba(247,239,225,0.22); }
.scene-light { background-image: url("https://www.pcgames.de/screenshots/1280x/2019/10/WoW-Classic-Gilde-buffed.jpg"); background-position: center 66%; }
.scene-stormwind { background-image: url("https://i0.wp.com/static.wowhead.com/uploads/screenshots/normal/21565.jpg"); background-position: center 44%; }
.scene-companions { background-image: url("https://wow.zamimg.com/uploads/screenshots/normal/1172034-rations-and-revelations.jpg"); background-position: center 50%; }
.chapter-card::after { content: ""; position: absolute; inset: 0; border: 0; pointer-events: none; }
.chapter-card-link { position: absolute; z-index: 5; inset: 0; }
.chapter-card-link:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: -6px; }
.chapter-number { position: absolute; top: 20px; left: 30px; color: var(--gold); font-size: 3.4rem; font-style: italic; line-height: 1; }.card-label { position: absolute; top: 82px; left: 30px; right: 30px; margin: 0; color: #c9d7d4; font: 700 0.7rem/1 Arial,sans-serif; letter-spacing: 0.16em; text-transform: uppercase; }.chapter-card h3 { position: absolute; top: 31px; left: 112px; right: 20px; margin: 0; color: #fff5dc; font-size: clamp(0.82rem, 1.25vw, 1.25rem); line-height: 1.08; white-space: nowrap; text-shadow: 0 2px 14px rgba(0,0,0,0.72); }.chapter-footer { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; min-height: 62px; padding: 10px 22px 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: end; background: rgba(4,13,22,0.5); }.chapter-footer p { align-self: start; margin: 0; color: #f0f1ed; font-size: 0.72rem; line-height: 1.32; text-shadow: 0 1px 5px rgba(0,0,0,0.68); }.status { padding-bottom: 0.08em; color: var(--gold-bright); font: 700 0.64rem/1 Arial,sans-serif; letter-spacing: 0.12em; text-align: right; text-transform: uppercase; white-space: nowrap; }

.trials-section { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(480px, 0.95fr); gap: clamp(36px, 5vw, 72px); align-items: center; color: var(--ink); background-position: center; background-size: cover; position: relative; isolation: isolate; }
.scene-trials { background-image: url("https://wow.zamimg.com/uploads/blog/images/16514-stress-test-de-wow-classic-contenu-debloque-dans-la-fourchette-1-15.jpg"); }
.trials-section::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(100deg, rgba(255,250,240,0.99) 10%, rgba(244,234,215,0.96) 54%, rgba(244,234,215,0.86)); }
.trials-section::before { content: none; }
.trials-copy, .trial-grid { position: relative; }.trials-section .eyebrow { color: var(--wine); }.trials-section h2 { margin-bottom: 22px; color: var(--night); font-size: clamp(2.5rem, 3.6vw, 3.5rem); line-height: 1.07; letter-spacing: -0.045em; }.trials-copy > p:not(.eyebrow) { color: #4f5d62; font-size: 1.04rem; }.trials-copy .trials-note { margin-top: 26px; padding-left: 16px; border-left: 2px solid var(--gold); color: #667579; font-size: 0.83rem; }
.trial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }.trial-card { min-height: 290px; padding: 22px 18px; background-position: center; background-size: cover; border: 0; position: relative; isolation: isolate; overflow: hidden; }.trial-card::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(6,18,31,0.55) 0%, rgba(6,18,31,0.12) 30%, rgba(6,18,31,0.05) 58%, rgba(6,18,31,0.78) 100%); box-shadow: inset 0 0 20px 5px rgba(244,234,215,0.34); }.scene-guard { background: #e3f5ff; }.scene-guard::after { content: ""; position: absolute; z-index: -2; inset: -4px; background: url("https://wow.zamimg.com/uploads/screenshots/normal/152513-cuna-del-invierno.jpg") center 48% / cover no-repeat; filter: hue-rotate(-52deg) saturate(0.48) brightness(1.42) contrast(0.9); transform: scale(1.02); }.scene-fellowship { background-image: url("https://www.buffed.de/screenshots/1280x/2018/11/wow_classic_demo_dwarf_paladin_westfall_004-buffed.jpg"); background-position: center 62%; }.scene-endurance { background-image: url("https://wow.zamimg.com/uploads/screenshots/normal/550887-stranglethorn-vale.jpg"); background-position: center 42%; }.trial-card span { position: absolute; top: 20px; left: 18px; color: var(--gold-bright); font: 700 0.72rem/1 Arial,sans-serif; letter-spacing: 0.12em; }.trial-card h3 { position: absolute; top: 52px; left: 18px; right: 18px; margin: 0; color: #fff5dc; font-size: clamp(1.18rem, 1.45vw, 1.42rem); line-height: 1.12; text-align: center; text-shadow: 0 2px 12px rgba(0,0,0,0.72); text-wrap: balance; }.trial-card p { position: absolute; left: 18px; right: 18px; bottom: 18px; margin: 0; color: #f4f4ec; font-size: 0.76rem; line-height: 1.45; text-align: center; text-shadow: 0 1px 8px rgba(0,0,0,0.78); text-wrap: pretty; }

.trial-card p { text-align: left; text-align-last: left; white-space: pre-line; text-wrap: auto; }

.homecoming-section { display: grid; grid-template-columns: minmax(420px, 1.06fr) minmax(0, 0.94fr); gap: clamp(45px, 7vw, 110px); align-items: center; background: #eee3cf; }
.homecoming-art { min-height: 560px; margin: 0; position: relative; overflow: hidden; background: #eee3cf; border: 0; box-shadow: none; }
.homecoming-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(0.92) contrast(1.03); }
.azeroth-routes { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
.route-network { fill: none; stroke: rgba(242,196,91,0.82); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 3 14; }
.route-ports { fill: #f4cf73; stroke: rgba(72,40,16,0.9); stroke-width: 4; }
.route-ship { fill: rgba(255,226,154,0.92); stroke: rgba(74,42,16,0.9); stroke-width: 2.5; stroke-linejoin: round; }
.homecoming-art figcaption { position: absolute; z-index: 3; inset: auto 0 0; display: flex; align-items: end; justify-content: space-between; gap: 18px; padding: 48px 22px 18px; color: #fff1d0; background: linear-gradient(transparent, rgba(7,18,28,0.9)); text-transform: uppercase; }
.homecoming-art figcaption strong { font: 800 0.78rem/1.4 Arial,"Noto Sans SC",sans-serif; letter-spacing: 0.12em; }
.homecoming-art figcaption span { color: var(--gold-bright); font: 700 0.6rem/1.4 Arial,sans-serif; letter-spacing: 0.14em; text-align: right; }
.homecoming-art::before { content: ""; position: absolute; z-index: 2; inset: -1px; box-shadow: inset 0 0 22px 7px rgba(238,227,207,0.58); pointer-events: none; }
.homecoming-copy { max-width: 820px; }.homecoming-copy h2 { margin-bottom: 24px; color: var(--night); font-size: clamp(2rem, 2.4vw, 4rem); line-height: 1.04; letter-spacing: -0.05em; }.homecoming-copy > p:not(.eyebrow) { max-width: 760px; color: #536166; font-size: 1.06rem; text-wrap: pretty; }.homecoming-copy blockquote { max-width: 760px; margin: 34px 0; padding: 20px 0 20px 24px; border-left: 2px solid var(--gold); color: #30424d; font-size: 1.14rem; font-style: italic; text-wrap: pretty; overflow-wrap: normal; }.text-link { color: var(--alliance); text-decoration: none; font: 800 0.82rem/1 Arial,sans-serif; letter-spacing: 0.08em; text-transform: uppercase; }.text-link span { display: inline-block; margin-left: 6px; transition: transform 0.2s ease; }.text-link:hover span, .text-link:focus-visible span { transform: translateX(5px); }

@media (min-width: 981px) {
  .world-window { position: static; }
  .hero-volumes { transform: translateY(58px); }
  html[lang="en"] .chapter-section .section-heading h2,
  html[lang="en"] .nga-cover-copy h3 { white-space: nowrap; }
}

.notes-section { display: grid; grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr); gap: clamp(44px, 6vw, 96px); align-items: start; overflow: hidden; background: var(--paper-light); }.notes-section .section-heading { margin: 0; }.photo-galleries { min-width: 0; }.photo-category-tabs { display: flex; gap: 6px; margin-bottom: 24px; overflow-x: auto; scrollbar-width: none; }.photo-category-tabs::-webkit-scrollbar { display: none; }.photo-category-tabs button { flex: 0 0 auto; padding: 10px 12px; border: 0; border-bottom: 2px solid transparent; color: #7a756d; background: transparent; font: 700 0.66rem/1.2 Arial,sans-serif; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }.photo-category-tabs button:hover, .photo-category-tabs button:focus-visible { color: var(--alliance); }.photo-category-tabs button.is-active { color: var(--wine); border-bottom-color: var(--gold); }.photo-gallery { min-width: 0; }.photo-gallery[hidden] { display: none; }.photo-gallery-header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }.photo-gallery-header span { color: var(--wine); font: 700 0.67rem/1 Arial,sans-serif; letter-spacing: 0.13em; text-transform: uppercase; }.photo-gallery-header h3 { margin: 7px 0 0; color: var(--night); font-size: clamp(1.45rem, 2.2vw, 2rem); }.photo-gallery-controls { display: flex; gap: 8px; flex: 0 0 auto; }.photo-gallery-controls button { width: 42px; height: 42px; border: 1px solid #b9aa8e; border-radius: 50%; color: var(--night); background: rgba(255,255,255,0.58); font: 600 1.05rem/1 Arial,sans-serif; cursor: pointer; transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease; }.photo-gallery-controls button:hover, .photo-gallery-controls button:focus-visible { color: #fff; background: var(--alliance); transform: translateY(-2px); }.photo-gallery-controls button:disabled { opacity: 0.34; cursor: default; transform: none; }.photo-gallery-track { display: grid; grid-auto-flow: column; grid-auto-columns: max-content; gap: 16px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-behavior: smooth; scroll-snap-type: inline mandatory; scrollbar-width: none; cursor: grab; touch-action: pan-x pan-y; }.photo-gallery-track::-webkit-scrollbar { display: none; }.photo-gallery-track.is-dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; }.photo-slide { position: relative; width: max-content; min-height: 360px; margin: 0; overflow: hidden; scroll-snap-align: start; background: transparent; }.photo-slide img { width: auto; max-width: none; height: 100%; min-height: 360px; display: block; object-fit: contain; transition: transform 0.45s ease; }.photo-slide:hover img { transform: scale(1.025); }.photo-slide::after { content: ""; position: absolute; inset: auto 0 0; height: 42%; background: linear-gradient(180deg, transparent, rgba(4,13,22,0.84)); pointer-events: none; }.photo-slide figcaption { position: absolute; z-index: 1; right: 18px; bottom: 16px; left: 18px; display: flex; align-items: end; justify-content: space-between; gap: 16px; color: #fff6df; }.photo-slide figcaption strong { font-size: 0.95rem; line-height: 1.12; }.photo-slide figcaption span { color: var(--gold-bright); font: 700 0.7rem/1 Arial,sans-serif; letter-spacing: 0.12em; }.photo-slide-cat { background: transparent; }.photo-slide-cat img { object-position: center 35%; }.photo-slide-cat-close img { transform: none; }.photo-slide-cat-close:hover img { transform: scale(1.025); }

.notes-section { grid-template-columns: minmax(240px, 0.48fr) minmax(0, 1.52fr); gap: clamp(36px, 4.5vw, 72px); }
.notes-section .section-heading h2 { font-size: clamp(2.2rem, 3.6vw, 3.7rem); }
html[lang="zh-CN"] .notes-section .section-heading h2 { font-size: clamp(2.1rem, 3.35vw, 3.4rem); white-space: nowrap; }
.photo-gallery-track { grid-auto-rows: 360px; }
.photo-slide { height: 360px; min-height: 0; }
.photo-slide img { height: 100%; min-height: 0; }
.photo-slide-contain { background: transparent; }
.photo-slide-contain img { object-fit: contain; }
.photo-slide-contain:hover img { transform: none; }
.photo-slide-friends-lake img { object-position: center 20%; }
.photo-slide-friends-motto img { object-position: center bottom; }
.photo-slide-cat-real img { object-position: center center; }
.photo-slide-cat-real.cat-focus-top img { object-position: center 32%; }
.photo-slide-cat-real.cat-focus-bottom img { object-position: center bottom; }
.photo-slide-cat-video video { width: auto; max-width: none; height: 100%; display: block; object-fit: contain; background: transparent; }
.photo-slide-cat-video figcaption { pointer-events: none; padding-bottom: 34px; }
.photo-thumbnail-nav { display: flex; gap: 9px; margin-top: 14px; padding: 4px 2px 5px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; scroll-behavior: smooth; }
.photo-thumbnail-nav::-webkit-scrollbar { display: none; }
.photo-fixed-scrollbar { position: relative; height: 14px; margin: 2px 2px 7px; cursor: pointer; touch-action: none; }
.photo-fixed-scrollbar::before { content: ""; position: absolute; inset: 6px 0 auto; height: 2px; border-radius: 999px; background: rgba(188,168,117,0.2); }
.photo-fixed-scrollbar[hidden] { display: none; }
.photo-fixed-scrollbar-thumb { position: absolute; top: 3px; left: 0; width: 112px; max-width: 100%; height: 8px; border-radius: 999px; background: #bca875; box-shadow: 0 1px 3px rgba(68,48,20,0.24); cursor: grab; transition: background 0.18s ease, box-shadow 0.18s ease; will-change: transform; }
.photo-fixed-scrollbar:hover .photo-fixed-scrollbar-thumb, .photo-fixed-scrollbar:focus-visible .photo-fixed-scrollbar-thumb { background: #a98b47; box-shadow: 0 1px 4px rgba(68,48,20,0.34); }
.photo-fixed-scrollbar:focus-visible { outline: 2px solid var(--alliance); outline-offset: 1px; }
.photo-fixed-scrollbar-thumb.is-dragging { cursor: grabbing; background: #947635; }
.photo-thumbnail { position: relative; flex: 0 0 76px; height: 56px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 4px; background: #142334; box-shadow: 0 0 0 1px rgba(18,35,52,0.14); cursor: pointer; opacity: 0.66; transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.photo-thumbnail:hover { opacity: 0.94; transform: translateY(-2px); }
.photo-thumbnail:focus-visible { outline: 2px solid var(--alliance); outline-offset: 2px; opacity: 1; }
.photo-thumbnail.is-active { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(181,139,47,0.2); opacity: 1; }
.photo-thumbnail img, .photo-thumbnail video { width: 100%; height: 100%; display: block; object-fit: cover; }
.photo-thumbnail-number { position: absolute; right: 3px; bottom: 3px; min-width: 22px; padding: 3px 4px 2px; border-radius: 2px; color: #fff5dc; background: rgba(4,13,22,0.8); font: 700 0.58rem/1 Arial,sans-serif; letter-spacing: 0.05em; text-align: center; }
.photo-thumbnail-play { position: absolute; inset: 50% auto auto 50%; width: 24px; height: 24px; border-radius: 50%; color: #fff; background: rgba(4,13,22,0.72); font: 700 0.62rem/24px Arial,sans-serif; text-align: center; transform: translate(-50%,-50%); }
.photo-gallery-tail { width: 0; height: 1px; display: block; pointer-events: none; }
.photo-gallery-overview-button { width: auto !important; min-width: 118px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 999px !important; font: 700 0.63rem/1 Arial,sans-serif !important; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.photo-gallery-overview-button b { min-width: 22px; padding: 3px 5px; border-radius: 999px; color: #fff7e6; background: var(--alliance); font-size: 0.58rem; }
.photo-overview-dialog { width: min(1120px, 94vw); max-width: none; max-height: 88vh; padding: 0; overflow: hidden; border: 1px solid rgba(240,203,117,0.46); border-radius: 18px; color: #f8f1df; background: #07131f; box-shadow: 0 32px 90px rgba(2,8,14,0.62); }
.photo-overview-dialog::backdrop { background: rgba(2,8,14,0.78); backdrop-filter: blur(8px); }
.photo-overview-panel { display: grid; grid-template-rows: auto minmax(0,1fr); max-height: 88vh; }
.photo-overview-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 22px 18px; border-bottom: 1px solid rgba(240,203,117,0.22); background: linear-gradient(135deg, #0b1d2c, #101825); }
.photo-overview-kicker { display: block; margin-bottom: 5px; color: var(--gold-bright); font: 700 0.6rem/1 Arial,sans-serif; letter-spacing: 0.14em; text-transform: uppercase; }
.photo-overview-header h3 { margin: 0; color: #fff5dc; font-size: clamp(1.35rem, 2.4vw, 2rem); }
.photo-overview-actions { display: flex; align-items: center; gap: 12px; }
.photo-overview-count { min-width: 42px; padding: 7px 10px; border-radius: 999px; color: #fff4d5; background: rgba(255,255,255,0.1); font: 700 0.7rem/1 Arial,sans-serif; text-align: center; }
.photo-overview-close { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.24); border-radius: 50%; color: #fff; background: rgba(255,255,255,0.08); font: 400 1.45rem/1 Arial,sans-serif; cursor: pointer; }
.photo-overview-close:hover, .photo-overview-close:focus-visible { color: #07131f; background: var(--gold-bright); outline: none; }
.photo-overview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(82px, 1fr)); grid-auto-rows: max-content; align-content: start; gap: 4px; padding: 4px; overflow-y: auto; overscroll-behavior: contain; background: #030a11; }
.photo-overview-item { position: relative; aspect-ratio: 1; min-width: 0; padding: 0; overflow: hidden; border: 0; background: #132333; cursor: pointer; }
.photo-overview-item img, .photo-overview-item video { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 0.22s ease, opacity 0.22s ease; }
.photo-overview-item:hover img, .photo-overview-item:hover video, .photo-overview-item:focus-visible img, .photo-overview-item:focus-visible video { transform: scale(1.06); opacity: 0.84; }
.photo-overview-item:focus-visible { z-index: 1; outline: 3px solid var(--gold-bright); outline-offset: -3px; }
.photo-overview-item.is-active { box-shadow: inset 0 0 0 4px var(--gold-bright); }
.photo-overview-item-number { position: absolute; right: 4px; bottom: 4px; min-width: 24px; padding: 4px 5px 3px; border-radius: 3px; color: #fff; background: rgba(3,10,17,0.78); font: 700 0.56rem/1 Arial,sans-serif; letter-spacing: 0.05em; text-align: center; }
.photo-overview-item-play { position: absolute; inset: 50% auto auto 50%; width: 30px; height: 30px; border-radius: 50%; color: #fff; background: rgba(3,10,17,0.72); font: 700 0.7rem/30px Arial,sans-serif; transform: translate(-50%,-50%); }
body.photo-overview-open { overflow: hidden; }
.photo-slide.is-lightbox-enabled { cursor: zoom-in; }
.photo-slide.is-lightbox-enabled:focus-visible { outline: 3px solid var(--alliance); outline-offset: -3px; }
.photo-gallery-track.is-dragging .photo-slide.is-lightbox-enabled { cursor: grabbing; }
.photo-lightbox-dialog { width: min(1500px, 96vw); max-width: none; height: min(94vh, 1040px); max-height: none; padding: 0; overflow: hidden; border: 1px solid rgba(240,203,117,0.4); border-radius: 16px; color: #fff5df; background: #020810; box-shadow: 0 34px 110px rgba(0,0,0,0.78); }
.photo-lightbox-dialog::backdrop { background: rgba(1,5,10,0.9); backdrop-filter: blur(10px); }
.photo-lightbox-panel { position: relative; display: grid; grid-template-rows: minmax(0,1fr) auto; width: 100%; height: 100%; }
.photo-lightbox-stage { position: relative; min-height: 0; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at center, rgba(27,48,69,0.62), #020810 72%); }
.photo-lightbox-image { display: block; width: auto; max-width: 100%; height: auto; max-height: calc(min(94vh, 1040px) - 74px); object-fit: contain; user-select: none; -webkit-user-drag: none; }
.photo-lightbox-caption { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 24px; border-top: 1px solid rgba(240,203,117,0.2); background: #07131f; }
.photo-lightbox-caption strong { font-size: clamp(1rem, 1.8vw, 1.35rem); line-height: 1.2; }
.photo-lightbox-caption span { flex: 0 0 auto; color: var(--gold-bright); font: 700 0.72rem/1 Arial,sans-serif; letter-spacing: 0.12em; }
.photo-lightbox-close { position: absolute; z-index: 4; top: 14px; right: 14px; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,0.32); border-radius: 50%; color: #fff; background: rgba(3,10,17,0.76); font: 400 1.7rem/1 Arial,sans-serif; cursor: pointer; box-shadow: 0 8px 22px rgba(0,0,0,0.28); }
.photo-lightbox-close:hover, .photo-lightbox-close:focus-visible { color: #07131f; background: var(--gold-bright); outline: none; }
.photo-lightbox-nav { position: absolute; z-index: 3; top: 0; bottom: 0; width: 34%; padding: 0; border: 0; color: #fff; background: transparent; cursor: pointer; opacity: 0.76; transition: opacity 0.2s ease, background 0.2s ease; }
.photo-lightbox-nav span { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid rgba(255,255,255,0.26); border-radius: 50%; background: rgba(3,10,17,0.58); font: 300 3rem/1 Georgia,serif; box-shadow: 0 8px 22px rgba(0,0,0,0.24); }
.photo-lightbox-prev { left: 0; display: flex; align-items: center; justify-content: flex-start; padding-left: 22px; }
.photo-lightbox-next { right: 0; display: flex; align-items: center; justify-content: flex-end; padding-right: 22px; }
.photo-lightbox-prev:hover, .photo-lightbox-prev:focus-visible { opacity: 1; background: linear-gradient(90deg, rgba(3,10,17,0.7), transparent); outline: none; }
.photo-lightbox-next:hover, .photo-lightbox-next:focus-visible { opacity: 1; background: linear-gradient(270deg, rgba(3,10,17,0.7), transparent); outline: none; }
.photo-lightbox-nav:disabled { opacity: 0; pointer-events: none; }
body.photo-lightbox-open { overflow: hidden; }

.gallery-section { color: #fff4dc; background: radial-gradient(circle at 82% 12%, rgba(47,108,173,0.2), transparent 34rem), linear-gradient(180deg, #0b1b2d 0%, #071522 100%); }
.gallery-section .section-heading .eyebrow { color: var(--gold-bright); }
.gallery-section .section-heading h2 { color: #fff5df; }
.gallery-section .section-heading > p:last-child { color: #b8c7cb; }
.nga-collection { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(280px, 0.8fr) minmax(520px, 1.2fr); gap: clamp(28px, 4vw, 62px); align-items: end; min-height: 430px; margin: 0 0 18px; padding: clamp(34px, 5vw, 68px); overflow: hidden; color: #fff4dc; background: #0a1828 url("https://img4.nga.cn/proxy/cache_attach/ftitle/f7.1920x252.kydW6g.230308.jpg") center top / 100% auto no-repeat; border: 1px solid rgba(69,48,28,0.34); box-shadow: 0 24px 56px rgba(45,30,18,0.2); }
.nga-collection::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(5,15,27,0.22) 0%, rgba(7,21,35,0.84) 40%, rgba(7,21,35,0.97) 100%), linear-gradient(95deg, rgba(5,15,27,0.78), rgba(8,24,39,0.42)); }
.nga-collection::after { content: ""; position: absolute; z-index: -1; inset: 14px; border: 1px solid rgba(240,203,117,0.22); pointer-events: none; }
.nga-cover-copy { max-width: 620px; }
.nga-kicker { margin-bottom: 16px; color: var(--gold-bright); font: 800 0.72rem/1.25 Arial,sans-serif; letter-spacing: 0.18em; text-transform: uppercase; }
.nga-cover-copy h3 { margin-bottom: 18px; color: #fff5df; font-size: clamp(2.3rem, 2.8vw, 5.2rem); line-height: 0.98; letter-spacing: -0.05em; }
html[lang="zh-CN"] .nga-cover-copy h3 { font-size: clamp(2.65rem, 4.5vw, 4.75rem); white-space: nowrap; }
.nga-intro { width: min(570px, 100%); color: #c8d3d2; font-size: 1rem; text-wrap: pretty; }
.nga-platform { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; color: var(--gold-bright); text-decoration: none; font: 800 0.72rem/1 Arial,sans-serif; letter-spacing: 0.12em; text-transform: uppercase; }
.nga-platform b { display: inline-grid; place-items: center; min-width: 34px; height: 23px; padding: 0 6px; color: #f3dfaf; border: 1px solid rgba(240,203,117,0.62); background: rgba(89,24,4,0.58); font-size: 0.62rem; letter-spacing: 0.08em; }
.nga-platform:hover, .nga-platform:focus-visible { color: #fff7e4; }
.nga-class-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.nga-class { width: 100%; min-height: 118px; padding: 18px; position: relative; overflow: hidden; color: #fff8e8; text-decoration: none; text-align: left; font: inherit; cursor: pointer; border: 1px solid rgba(255,255,255,0.18); background: rgba(8,20,31,0.72); backdrop-filter: blur(8px); transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease; }
.nga-class:hover, .nga-class:focus-visible { transform: translateY(-3px); border-color: var(--class-color); background: color-mix(in srgb, var(--class-color) 18%, rgba(8,20,31,0.86)); outline: none; }
.nga-class.is-active { transform: translateY(-3px); border-color: var(--class-color); background: color-mix(in srgb, var(--class-color) 22%, rgba(8,20,31,0.9)); box-shadow: inset 0 -3px 0 var(--class-color), 0 12px 26px rgba(0,0,0,0.2); }
.nga-class small, .nga-class strong, .class-talent { display: block; }
.nga-class small { color: var(--class-color); font: 800 0.65rem/1 Arial,sans-serif; letter-spacing: 0.14em; }
.nga-class strong { margin-top: 20px; font-size: 1.05rem; }
.class-talent { margin-top: 4px; color: #aebfc1; font: 700 0.62rem/1 Arial,sans-serif; letter-spacing: 0.12em; text-transform: uppercase; }
.class-symbol { position: absolute; top: 12px; right: 13px; width: 43px; height: 43px; display: block; overflow: hidden; color: var(--class-color); border: 2px solid color-mix(in srgb, var(--class-color) 68%, #f6e5bd 12%); border-radius: 50%; background: rgba(4,13,23,0.82); box-shadow: 0 0 0 2px rgba(4,13,23,0.72), 0 5px 14px rgba(0,0,0,0.28); opacity: 0.9; transition: opacity 0.2s ease, transform 0.25s ease, box-shadow 0.2s ease; }
.class-symbol img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 50%; filter: saturate(0.9) contrast(1.06); }
.nga-class:hover .class-symbol, .nga-class:focus-visible .class-symbol { opacity: 1; transform: scale(1.08); box-shadow: 0 0 0 2px rgba(4,13,23,0.76), 0 0 16px color-mix(in srgb, var(--class-color) 48%, transparent); }
.nga-class.warlock { --class-color: #a879d6; }.nga-class.priest { --class-color: #d7c7f1; }.nga-class.mage { --class-color: #69c9e8; }.nga-class.paladin { --class-color: #f0b7cd; }.nga-class.rogue { --class-color: #f4dc72; }.nga-class.warrior { --class-color: #d97a6d; }
section.nga-class-detail { --detail-color: #f0cb75; position: relative; max-height: 0; margin: 0 0 18px; padding: 0; overflow: hidden; opacity: 0; transform: translateY(-12px); color: #fff4dc; border: 1px solid color-mix(in srgb, var(--detail-color) 42%, rgba(255,255,255,0.14)); background: #071522; box-shadow: 0 22px 48px rgba(0,0,0,0.2); transition: max-height 0.34s ease, opacity 0.24s ease, transform 0.34s ease; }
.nga-class-detail[hidden] { display: none; }
.nga-class-detail.is-open { max-height: 680px; opacity: 1; transform: translateY(0); }
.nga-class-detail[data-active-class="warlock"] { --detail-color: #a879d6; }.nga-class-detail[data-active-class="priest"] { --detail-color: #d7c7f1; }.nga-class-detail[data-active-class="mage"] { --detail-color: #69c9e8; }.nga-class-detail[data-active-class="paladin"] { --detail-color: #f0b7cd; }.nga-class-detail[data-active-class="rogue"] { --detail-color: #f4dc72; }.nga-class-detail[data-active-class="warrior"] { --detail-color: #d97a6d; }
.nga-class-detail-inner { display: grid; grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr); min-height: 330px; }
.nga-class-detail-close { position: absolute; top: 16px; right: 18px; z-index: 6; width: 36px; height: 36px; display: grid; place-items: center; padding: 0; color: #fff4dc; cursor: pointer; border: 1px solid rgba(255,255,255,0.24); border-radius: 50%; background: rgba(4,13,23,0.72); font: 400 1.35rem/1 Arial,sans-serif; transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.nga-class-detail-close:hover, .nga-class-detail-close:focus-visible { color: var(--detail-color); border-color: var(--detail-color); transform: rotate(8deg); outline: none; }
.nga-class-detail-visual { position: relative; min-height: 330px; display: grid; place-items: center; overflow: hidden; border-right: 1px solid rgba(255,255,255,0.12); background: radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--detail-color) 30%, transparent), transparent 34%), linear-gradient(145deg, rgba(255,255,255,0.04), rgba(0,0,0,0.18)); }
.nga-class-detail-glow { position: absolute; width: 68%; aspect-ratio: 1; border: 1px solid color-mix(in srgb, var(--detail-color) 44%, transparent); border-radius: 50%; box-shadow: 0 0 60px color-mix(in srgb, var(--detail-color) 22%, transparent), inset 0 0 35px rgba(0,0,0,0.28); }
.nga-class-detail-image { position: relative; z-index: 2; width: clamp(128px, 14vw, 178px); aspect-ratio: 1; object-fit: cover; border: 4px solid color-mix(in srgb, var(--detail-color) 72%, #f6e5bd 18%); border-radius: 50%; box-shadow: 0 0 0 7px rgba(4,13,23,0.7), 0 0 38px color-mix(in srgb, var(--detail-color) 38%, transparent); }
.nga-class-detail-preview { position: absolute; left: 22px; top: 20px; z-index: 4; color: color-mix(in srgb, var(--detail-color) 86%, #fff 14%); font: 800 0.63rem/1.2 Arial,sans-serif; letter-spacing: 0.14em; text-transform: uppercase; }
.nga-class-detail-heading { position: absolute; z-index: 4; left: 28px; right: 28px; bottom: 25px; }
.nga-class-detail-copy { align-self: center; padding: 46px 52px; }
.nga-class-detail-text { min-width: 0; }
.nga-class-detail-kicker { margin-bottom: 10px; color: var(--detail-color); font: 800 0.67rem/1.2 Arial,sans-serif; letter-spacing: 0.16em; text-transform: uppercase; }
.nga-class-detail-title { margin: 0; color: #fff5df; font-size: clamp(2.25rem, 4.6vw, 4.1rem); line-height: 0.95; text-shadow: 0 3px 18px rgba(0,0,0,0.66); }
.nga-class-detail-talent { margin: 10px 0 0; color: color-mix(in srgb, var(--detail-color) 82%, #fff 18%); font: 800 0.72rem/1.2 Arial,sans-serif; letter-spacing: 0.16em; text-transform: uppercase; }
.nga-class-detail-body { max-width: 660px; margin: 0 0 24px; color: #c8d3d2; font-size: 1rem; }
.nga-class-detail-source { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; color: #071522; text-decoration: none; background: var(--detail-color); border: 1px solid color-mix(in srgb, var(--detail-color) 76%, #fff 24%); box-shadow: 0 10px 24px rgba(0,0,0,0.2); font: 800 0.66rem/1 Arial,sans-serif; letter-spacing: 0.1em; text-transform: uppercase; transition: transform 0.2s ease, filter 0.2s ease; }
.nga-class-detail-source-badge { padding: 7px 8px 6px; color: #fff1cf; background: #3e1d09; border: 1px solid rgba(255,214,118,0.55); letter-spacing: 0.08em; }
.nga-class-detail-source:hover, .nga-class-detail-source:focus-visible { transform: translateY(-2px); filter: brightness(1.08); outline: none; }
.nga-class-detail.has-editorial-art.is-open { max-height: 980px; }
.nga-class-detail.has-editorial-art .nga-class-detail-inner { display: block; min-height: 0; }
.nga-class-detail.has-editorial-art .nga-class-detail-visual { min-height: 430px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.nga-class-detail.has-editorial-art .nga-class-detail-visual::after { content: ""; position: absolute; z-index: 3; inset: 0; background: linear-gradient(90deg, rgba(3,10,18,0.74) 0%, rgba(3,10,18,0.18) 52%, transparent 78%), linear-gradient(0deg, rgba(3,10,18,0.88) 0%, transparent 54%); pointer-events: none; }
.nga-class-detail.has-editorial-art .nga-class-detail-glow { display: none; }
.nga-class-detail.has-editorial-art .nga-class-detail-image { position: absolute; inset: 0 0 0 auto; width: 72%; height: 100%; aspect-ratio: auto; border: 0; border-radius: 0; object-fit: cover; object-position: center; box-shadow: none; }
.nga-class-detail.has-editorial-art .nga-class-detail-preview { left: 34px; top: 30px; padding: 7px 9px 6px; color: #fff4dc; background: rgba(4,13,23,0.72); }
.nga-class-detail.has-editorial-art .nga-class-detail-heading { left: 38px; right: 38px; bottom: 34px; }
.nga-class-detail.has-editorial-art .nga-class-detail-copy { display: grid; grid-template-columns: minmax(260px, 0.82fr) minmax(340px, 1.18fr); gap: 34px; align-items: center; padding: 30px 38px 34px; background: linear-gradient(135deg, color-mix(in srgb, var(--detail-color) 8%, #071522), #071522 62%); }
.nga-class-detail-scene { position: relative; margin: 0; overflow: hidden; border: 1px solid color-mix(in srgb, var(--detail-color) 48%, rgba(255,255,255,0.14)); background: #03101b; }
.nga-class-detail-scene[hidden], .nga-class-detail-attribution[hidden] { display: none; }
.nga-class-detail-scene-image { width: 100%; aspect-ratio: 16 / 8.8; display: block; object-fit: cover; object-position: center 43%; }
.nga-class-detail-attribution { margin: 15px 0 0; color: #90a1a7; font: 600 0.68rem/1.45 Arial,sans-serif; }
.nga-class-detail-official { color: color-mix(in srgb, var(--detail-color) 78%, #fff 22%); text-underline-offset: 3px; }
.nga-class-detail-official:hover, .nga-class-detail-official:focus-visible { color: #fff4dc; outline: none; }
.gallery-grid { display: grid; grid-template-columns: 1.25fr 0.75fr 0.75fr; grid-template-rows: 310px 260px; gap: 16px; }
.gallery-piece { margin: 0; min-width: 0; overflow: hidden; position: relative; background: #16293b; border: 1px solid rgba(69,48,28,0.25); }.piece-home { grid-row: 1 / 3; }.piece-days { grid-column: 2 / 4; }
.gallery-piece img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; filter: saturate(0.86) contrast(1.04); transition: transform 0.7s ease, filter 0.7s ease; }.gallery-piece:hover img { transform: scale(1.025); filter: saturate(1) contrast(1.06); }
.piece-road { background: #09151c; }.piece-road img { object-fit: cover; object-position: center 58%; }.piece-road:hover img { transform: none; }
.gallery-piece figcaption { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; align-items: end; gap: 18px; padding: 48px 20px 18px; color: #fff3da; background: linear-gradient(transparent, rgba(7,20,25,0.92)); }.gallery-piece figcaption strong { flex: 0 1 55%; min-width: 0; max-width: 55%; font-size: 1.2rem; line-height: 1.25; overflow-wrap: normal; text-wrap: balance; }.gallery-piece figcaption span { flex: 1 1 0; min-width: 0; text-align: right; font: 700 0.62rem/1.35 Arial,sans-serif; letter-spacing: 0.1em; text-transform: uppercase; }.gallery-piece figcaption a { color: var(--gold-bright); text-underline-offset: 3px; }
html[lang="zh-CN"] .gallery-piece figcaption strong { white-space: nowrap; word-break: keep-all; }

.about-section { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr); gap: 54px; align-items: start; background: var(--paper); }.about-panel { max-width: 850px; }.about-panel h2 { font-size: clamp(1.75rem, 2vw, 3.4rem); }.about-panel > p { max-width: 930px; text-wrap: pretty; }.privacy-panel { padding: 0 30px 30px; overflow: hidden; border: 1px solid var(--line); background: rgba(255,250,240,0.62); box-shadow: 0 18px 45px rgba(55,37,21,0.1); }.privacy-image { width: calc(100% + 60px); height: 180px; margin-left: -30px; display: block; object-fit: cover; object-position: center; filter: saturate(0.8) contrast(1.04); }.privacy-panel h3 { margin-top: 28px; }.privacy-panel ul { padding-left: 20px; color: #5f6868; }.privacy-panel li { text-wrap: pretty; overflow-wrap: normal; }
html[lang="en"] .about-panel h2 { max-width: none; font-size: clamp(2.7rem, 4.55vw, 4.35rem); white-space: pre; text-wrap: nowrap; }
html[lang="en"] .trials-copy h2 { white-space: pre; text-wrap: nowrap; font-size: clamp(2rem, 3.2vw, 3.5rem); }
html[lang="en"] .homecoming-copy h2 { white-space: pre; text-wrap: nowrap; font-size: clamp(2rem, 3vw, 3.5rem); }
@media (max-width: 620px) { html[lang="en"] .trials-copy h2 { font-size: clamp(1.4rem, 6.4vw, 2.45rem); } }
/* Keep section introductions readable while allowing natural wrapping at each viewport. */
:is(.hero-intro, .chapter-section .section-heading > p:last-child, .trials-copy > p:not(.eyebrow):not(.trials-note), .homecoming-copy > p:not(.eyebrow), .notes-section .section-heading > p:last-child, .gallery-section > .section-heading > p:last-child, .nga-intro, .about-panel > p:not(.eyebrow)) { max-width: 68ch; text-wrap: pretty; }
html[lang="zh-CN"] :is(.hero-intro, .chapter-section .section-heading > p:last-child, .trials-copy > p:not(.eyebrow):not(.trials-note), .homecoming-copy > p:not(.eyebrow), .notes-section .section-heading > p:last-child, .gallery-section > .section-heading > p:last-child, .nga-intro, .about-panel > p:not(.eyebrow)) { max-width: 34em; }
/* Match each English introduction to its own heading, with a fixed upper width. */
html[lang="en"] .chapter-section .section-heading > p:last-child { max-width: min(980px, 64vw); }
html[lang="en"] .trials-copy > p:not(.eyebrow) { max-width: min(620px, 34vw); text-wrap: pretty; }
html[lang="en"] .homecoming-copy > p:not(.eyebrow),
html[lang="en"] .homecoming-copy blockquote { max-width: min(660px, 28vw); }
html[lang="en"] .about-panel { max-width: none; }
html[lang="en"] .about-panel > p:not(.eyebrow) { max-width: min(900px, 56vw); }
html[lang="en"] .hero-intro { max-width: none; font-size: clamp(.96rem, 1.2vw, 1.22rem); white-space: pre-line; text-wrap: auto; }
@media (max-width: 980px) {
  html[lang="en"] .chapter-section .section-heading > p:last-child,
  html[lang="en"] .trials-copy > p:not(.eyebrow),
  html[lang="en"] .homecoming-copy > p:not(.eyebrow),
  html[lang="en"] .homecoming-copy blockquote,
  html[lang="en"] .about-panel > p:not(.eyebrow) { max-width: 100%; }
}
html[lang="zh-CN"] .homecoming-copy blockquote,
html[lang="zh-CN"] .privacy-panel li { word-break: auto-phrase; }

footer { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 30px; padding: 34px clamp(24px, 7vw, 118px); color: #dce2dc; background: #09151c; border-top: 1px solid rgba(240,203,117,0.28); } footer strong, footer div span { display: block; } footer div span, footer p { color: #8fa09f; font-size: 0.78rem; } footer p { margin: 0; } footer a { color: var(--gold-bright); text-decoration: none; }.legal-note { display: block; max-width: 880px; margin-top: 12px; color: #667878; font: 400 0.62rem/1.45 Arial,sans-serif; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.65s ease, transform 0.65s ease; }.reveal.is-visible { opacity: 1; transform: none; }

@media (min-width: 981px) and (max-width: 1200px) {
  .homecoming-section, .about-section { grid-template-columns: 1fr; }
  .homecoming-art { min-height: 500px; }
  .nga-collection { grid-template-columns: 1fr; align-items: start; }
  .nga-cover-copy { max-width: none; }
}

@media (max-width: 980px) {
  .site-header { flex-wrap: wrap; }.menu-toggle { display: inline-flex; margin-left: auto; padding: 8px 12px; color: #f4e9d2; background: transparent; border: 1px solid rgba(240,203,117,0.35); }
  nav { display: none; order: 3; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 0 4px; } nav.is-open { display: flex; } nav a { padding: 10px 0; border-top: 1px solid rgba(255,255,255,0.07); }
  .hero { min-height: auto; grid-template-columns: 1fr; }.hero-scene { inset: 0; width: 100%; object-fit: cover; -webkit-mask-image: none; mask-image: none; }.hero::before { background: linear-gradient(180deg, rgba(247,239,225,0.99) 0%, rgba(247,239,225,0.95) 42%, rgba(247,239,225,0.68) 58%, rgba(247,239,225,0.12) 78%, rgba(247,239,225,0.02) 100%); } html[lang="en"] h1 { white-space: normal; }.world-window { min-height: 440px; }.chapter-grid { grid-template-columns: 1fr; }.chapter-card { min-height: 422px; }.trials-section { grid-template-columns: 1fr; }.trial-grid { grid-template-columns: repeat(3, 1fr); }.homecoming-section { grid-template-columns: 1fr; }.homecoming-art { min-height: 500px; }
  .nga-collection { grid-template-columns: 1fr; }.nga-class-detail.is-open { max-height: 780px; }.nga-class-detail-inner { grid-template-columns: 1fr; }.nga-class-detail-visual { min-height: 230px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.12); }.nga-class-detail-copy { padding: 34px 46px 38px; }.gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 360px 250px 250px; }.piece-home { grid-column: 1 / 3; grid-row: auto; }.piece-days { grid-column: 1 / 3; }.about-section { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .site-header { min-height: 66px; padding: 10px 18px; }.brand small { display: none; }.brand-mark { width: 38px; height: 38px; }
  section { scroll-margin-top: 112px; }
  .hero { min-height: auto; padding: 52px 20px 58px; gap: 28px; } h1, html[lang="en"] h1 { font-size: clamp(3rem, 16vw, 4.2rem); line-height: 0.96; }.english-title { font-size: 1.05rem; }.volume-cover { min-height: 72px; }.world-window { min-height: 240px; }.window-caption { inset: auto 16px 16px; width: auto; }
  section:not(.hero) { padding: 68px 20px; }.section-heading h2, .about-panel h2, .trials-section h2, .homecoming-copy h2 { font-size: 2.45rem; }.chapter-card { min-height: 462px; padding: 24px; }.chapter-number { left: 24px; }.card-label { left: 24px; right: 24px; }.chapter-card h3 { top: 108px; left: 24px; right: 24px; font-size: clamp(1.2rem, 6vw, 1.65rem); white-space: normal; }.chapter-footer { min-height: 76px; padding: 12px 24px 14px; grid-template-columns: 1fr; gap: 7px; }.status { justify-self: end; }.trial-grid { grid-template-columns: 1fr; }.trial-card { min-height: 300px; }.trial-card h3 { top: 54px; }.homecoming-art { min-height: 410px; }.notes-section { grid-template-columns: 1fr; gap: 38px; }.photo-gallery-header { align-items: center; }.photo-gallery-track { grid-auto-columns: 84vw; }.photo-slide, .photo-slide img { min-height: 260px; }
  .hero-cast-list { gap: 8px; }.cast-member { width: 52px; height: 52px; margin: 0; }
  .nga-collection { min-height: 0; padding: 34px 24px; }.nga-cover-copy h3 { font-size: 3.1rem; } html[lang="zh-CN"] .nga-cover-copy h3 { font-size: clamp(2.2rem, 11vw, 3.1rem); }.nga-class-grid { grid-template-columns: 1fr 1fr; }.nga-class { min-height: 104px; padding: 15px; }.nga-class-detail.is-open { max-height: 900px; }.nga-class-detail-visual { min-height: 210px; }.nga-class-detail-image { width: 126px; }.nga-class-detail-copy { padding: 32px 24px 34px; }.nga-class-detail-close { top: 12px; right: 12px; }.gallery-grid { grid-template-columns: 1fr; grid-template-rows: repeat(4, 280px); }.piece-home, .piece-days { grid-column: auto; } footer { grid-template-columns: 1fr; gap: 12px; padding: 28px 20px; }
}
@media (max-width: 620px) { .photo-gallery-track { grid-auto-columns: max-content; grid-auto-rows: 260px; }.photo-slide, .photo-slide img { height: 260px; min-height: 0; }.photo-thumbnail { flex-basis: 66px; height: 49px; }.photo-fixed-scrollbar-thumb { width: 88px; } }
@media (max-width: 620px) { .photo-gallery-overview-button { min-width: 44px; padding: 0 10px; }.photo-gallery-overview-button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }.photo-overview-dialog { width: 100vw; max-height: 94vh; border-radius: 18px 18px 0 0; margin: auto 0 0; }.photo-overview-panel { max-height: 94vh; }.photo-overview-header { padding: 16px; }.photo-overview-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; padding: 3px; } }
@media (max-width: 620px) { .photo-lightbox-dialog { width: 100vw; height: 100dvh; border: 0; border-radius: 0; }.photo-lightbox-image { max-height: calc(100dvh - 68px); }.photo-lightbox-caption { min-height: 68px; padding: 14px 18px; }.photo-lightbox-caption strong { font-size: 0.96rem; }.photo-lightbox-close { top: 10px; right: 10px; width: 42px; height: 42px; }.photo-lightbox-nav { width: 38%; }.photo-lightbox-nav span { width: 44px; height: 44px; font-size: 2.45rem; }.photo-lightbox-prev { padding-left: 10px; }.photo-lightbox-next { padding-right: 10px; } }
@media (max-width: 620px) { html[lang="en"] .about-panel h2 { font-size: clamp(1.7rem, 7.2vw, 2.45rem); } }
@media (max-width: 980px) { .nga-class-detail.has-editorial-art.is-open { max-height: 1240px; }.nga-class-detail.has-editorial-art .nga-class-detail-inner { grid-template-columns: 1fr; }.nga-class-detail.has-editorial-art .nga-class-detail-visual { min-height: 360px; }.nga-class-detail.has-editorial-art .nga-class-detail-image { width: 100%; min-height: 360px; object-position: center; }.nga-class-detail.has-editorial-art .nga-class-detail-copy { grid-template-columns: 1fr; }.nga-class-detail.has-editorial-art .nga-class-detail-visual::after { background: linear-gradient(0deg, rgba(3,10,18,0.9) 0%, rgba(3,10,18,0.12) 70%); } }
@media (max-width: 620px) { .nga-class-detail.has-editorial-art.is-open { max-height: 1300px; }.nga-class-detail.has-editorial-art .nga-class-detail-visual, .nga-class-detail.has-editorial-art .nga-class-detail-image { min-height: 290px; }.nga-class-detail.has-editorial-art .nga-class-detail-preview { left: 20px; top: 18px; }.nga-class-detail.has-editorial-art .nga-class-detail-heading { left: 22px; right: 54px; bottom: 22px; }.nga-class-detail-title { font-size: clamp(2.1rem, 12vw, 3rem); }.nga-class-detail.has-editorial-art .nga-class-detail-copy { padding: 27px 22px 30px; }.nga-class-detail-scene { margin-top: 4px; } }

/* Character profiles open as a shared modal so the six class cards remain the visual index. */
body.class-profile-modal-open { overflow: hidden; }
section.nga-class-detail {
  position: fixed;
  z-index: 2000;
  inset: 0;
  max-height: none;
  margin: 0;
  padding: clamp(18px, 4vw, 54px);
  display: grid;
  place-items: center;
  overflow: auto;
  opacity: 0;
  pointer-events: none;
  transform: none;
  border: 0;
  background: rgba(1, 7, 13, 0.84);
  backdrop-filter: blur(12px);
  transition: opacity 0.24s ease;
}
section.nga-class-detail.is-open,
section.nga-class-detail.has-editorial-art.is-open { max-height: none; opacity: 1; pointer-events: auto; transform: none; }
.nga-class-detail-inner {
  position: relative;
  width: min(1120px, 100%);
  max-height: calc(100vh - clamp(36px, 8vw, 108px));
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid color-mix(in srgb, var(--detail-color) 48%, rgba(255,255,255,0.16));
  background: #071522;
  box-shadow: 0 30px 90px rgba(0,0,0,0.62), 0 0 45px color-mix(in srgb, var(--detail-color) 12%, transparent);
  transform: translateY(18px) scale(0.985);
  transition: transform 0.28s ease;
}
.nga-class-detail.is-open .nga-class-detail-inner { transform: translateY(0) scale(1); }
.nga-class-detail.has-editorial-art .nga-class-detail-visual { min-height: clamp(300px, 40vh, 430px); }
.nga-class-detail.has-editorial-art .nga-class-detail-copy { grid-template-columns: minmax(250px, 0.78fr) minmax(340px, 1.22fr); }
.nga-class-detail[data-active-class="priest"].has-editorial-art .nga-class-detail-image { object-position: center 12%; }
.nga-class-detail[data-active-class="paladin"].has-editorial-art .nga-class-detail-image { object-position: center top; }
.nga-class-detail[data-active-class="warrior"].has-editorial-art .nga-class-detail-image { object-position: center top; }
.nga-class-detail[data-active-class="warlock"].has-editorial-art .nga-class-detail-image { object-position: center 15%; }

@media (max-width: 760px) {
  section.nga-class-detail { padding: 12px; align-items: start; }
  .nga-class-detail-inner { width: 100%; max-height: calc(100vh - 24px); }
  .nga-class-detail.has-editorial-art .nga-class-detail-visual { min-height: 290px; }
  .nga-class-detail.has-editorial-art .nga-class-detail-copy { grid-template-columns: 1fr; padding: 27px 22px 30px; }
}

/* Shared view switch for photo lightboxes and Azeroth class profiles. */
.modal-view-toggle { position: absolute; z-index: 8; top: 16px; right: 66px; min-height: 36px; padding: 0 12px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(255,255,255,0.3); border-radius: 999px; color: #fff5df; background: rgba(3,10,17,0.76); box-shadow: 0 8px 22px rgba(0,0,0,0.26); font: 700 0.62rem/1 Arial,"Noto Sans SC",sans-serif; letter-spacing: 0.06em; cursor: pointer; transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.modal-view-toggle:hover, .modal-view-toggle:focus-visible { color: #07131f; background: var(--gold-bright); border-color: var(--gold-bright); outline: none; transform: translateY(-1px); }
.modal-view-toggle-icon { font-size: 0.9rem; line-height: 1; }
.photo-lightbox-mode-toggle { top: 18px; right: 72px; }

.photo-lightbox-dialog[data-view-mode="window"] { width: min(1240px, 92vw); height: min(90vh, 900px); }
.photo-lightbox-dialog[data-view-mode="window"]::backdrop { background: rgba(1,5,10,0.4); backdrop-filter: blur(2px); }
.photo-lightbox-dialog[data-view-mode="window"] .photo-lightbox-image { max-height: calc(min(90vh, 900px) - 74px); }

section.nga-class-detail[data-view-mode="window"] { padding: 0; background: rgba(1,7,13,0.34); backdrop-filter: blur(2px); }
section.nga-class-detail[data-view-mode="window"] .nga-class-detail-inner { width: min(1240px, 92vw); height: min(90vh, 900px); max-height: min(90vh, 900px); }

@media (max-width: 620px) {
  .modal-view-toggle { top: 13px; right: 60px; min-height: 34px; padding: 0 10px; }
  .modal-view-toggle [data-modal-view-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .photo-lightbox-dialog[data-view-mode="window"] { width: calc(100vw - 24px); height: 84dvh; border: 1px solid rgba(240,203,117,0.4); border-radius: 14px; }
  .photo-lightbox-dialog[data-view-mode="window"] .photo-lightbox-image { max-height: calc(84dvh - 68px); }
  section.nga-class-detail[data-view-mode="window"] .nga-class-detail-inner { width: calc(100vw - 24px); height: 84dvh; max-height: 84dvh; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }.reveal { opacity: 1; transform: none; transition: none; }.cast-member, .nga-class-detail { transition: none; } }
