:root {
  color-scheme: dark;
  --bg: #100c0b;
  --bg-raised: #171110;
  --panel: rgba(26, 19, 17, .96);
  --panel-soft: rgba(34, 25, 21, .78);
  --ink: #f1e7d4;
  --muted: #b9aa95;
  --muted-2: #897863;
  --gold: #d7a45a;
  --gold-bright: #f1c978;
  --gold-dim: #80592d;
  --line: rgba(205, 151, 81, .3);
  --line-strong: rgba(221, 170, 98, .58);
  --ember: #ad3f19;
  --ember-bright: #d8521f;
  --serif: Arial, Helvetica, "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  --sans: "Open Sans", Arial, Helvetica, "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  --page-width: 1260px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: radial-gradient(ellipse at 50% 0, rgba(126, 77, 35, .13), transparent 42rem);
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; }
::selection { color: #1b1109; background: var(--gold-bright); }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 4px; }
.page-width { width: min(var(--page-width), calc(100% - 72px)); margin-inline: auto; }
.page-grain { position: fixed; inset: 0; z-index: 8; pointer-events: none; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E"); }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 100; padding: 9px 14px; color: #1a120d; background: var(--gold-bright); }
.skip-link:focus { top: 14px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow-gem { width: 8px; height: 8px; border: 1px solid var(--gold-bright); transform: rotate(45deg); }

/* 1.6-inspired iron frame and centered crest navigation */
.site-header { position: absolute; z-index: 30; top: 17px; left: 0; width: 100%; padding-inline: 24px; transition: top .25s ease; }
.site-header.is-scrolled { position: fixed; top: 0; }
.nav-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px minmax(0, 1fr);
  align-items: center;
  width: min(1360px, 100%);
  min-height: 62px;
  margin-inline: auto;
  padding: 0 26px;
  border: 1px solid rgba(217, 177, 123, .4);
  border-radius: 14px;
  background: rgba(26, 18, 17, .9);
  box-shadow: 0 9px 30px rgba(0, 0, 0, .34), inset 0 1px rgba(255, 255, 255, .04);
  backdrop-filter: blur(15px);
}
.nav-group { display: flex; min-width: 0; align-items: center; gap: clamp(17px, 2.25vw, 31px); }
.nav-left { justify-content: flex-end; padding-right: 16px; }
.nav-right { justify-content: space-between; padding-left: 16px; }
.nav-link { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; min-height: 48px; color: #e0d2bc; font-size: 13px; font-weight: 650; white-space: nowrap; transition: color .2s ease, text-shadow .2s ease; }
.nav-link:hover { color: var(--gold-bright); text-shadow: 0 0 14px rgba(240, 199, 124, .33); }
.nav-link svg { width: 16px; height: 16px; color: #d2b888; }
.brand { position: absolute; z-index: 2; top: -16px; left: 50%; display: grid; width: 216px; height: 96px; place-items: center; transform: translateX(-50%); }
.brand img { width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 5px 8px rgba(0,0,0,.78)); }
.menu-toggle, .mobile-menu { display: none; }

/* Intro gate: a deliberate first screen before the content site */
.gate-page { min-height: 100vh; background: #090706; }
.gate-stage { position: relative; display: flex; min-height: 100svh; align-items: center; isolation: isolate; overflow: hidden; padding: 120px max(8vw, 34px) 90px; border: 1px solid rgba(198, 143, 74, .28); }
.gate-art, .gate-shade { position: absolute; inset: 0; z-index: -1; }
.gate-art { background: url("assets/world/sunset-without-player.png") center 52% / cover; filter: saturate(.78) contrast(1.06); transform: scale(1.025); animation: gate-drift 26s ease-in-out infinite alternate; }
.gate-shade { background: linear-gradient(90deg, rgba(10,8,8,.91) 0%, rgba(12,9,8,.62) 44%, rgba(10,8,8,.18) 100%), linear-gradient(0deg, rgba(10,8,8,.91), transparent 42%, rgba(10,8,8,.24)); }
.gate-mark { position: absolute; top: 18px; left: 50%; width: min(245px, 54vw); transform: translateX(-50%); }
.gate-mark img { width: 100%; filter: drop-shadow(0 6px 12px rgba(0,0,0,.75)); }
.gate-content { width: min(720px, 100%); animation: gate-arrive .8s .1s both; }
.gate-content .eyebrow { margin-bottom: 22px; }
.gate-content h1 { margin: 0; color: #f2e5d1; font: 500 clamp(58px, 8.1vw, 110px)/1.24 var(--serif); letter-spacing: .12em; text-shadow: 0 4px 22px #090706; }
.gate-lead { margin: 23px 0 2px; color: #eee1cc; font-size: clamp(17px, 1.7vw, 22px); font-weight: 700; }
.gate-copy { margin: 3px 0 27px; color: #c7b8a3; font-size: 14px; }
.enter-button { position: relative; display: inline-flex; min-width: 230px; min-height: 58px; align-items: center; justify-content: center; gap: 24px; padding: 12px 22px; border: 1px solid #f08a45; border-radius: 5px; color: #fff3df; background: linear-gradient(100deg, #a93413, #c34d1c 56%, #8d2b12); box-shadow: 0 8px 28px rgba(125, 39, 10, .37), inset 0 1px rgba(255, 221, 177, .4); font-size: 16px; font-weight: 750; animation: enter-bob 2.7s ease-in-out infinite; transition: filter .2s, box-shadow .2s; }
.enter-button:hover { filter: brightness(1.15); box-shadow: 0 10px 32px rgba(171, 59, 18, .52), inset 0 1px rgba(255, 221, 177, .55); }
.enter-arrow { color: var(--gold-bright); font-size: 22px; transition: transform .2s ease; }
.enter-button:hover .enter-arrow { transform: translateX(5px); }
.gate-hint { margin: 11px 0 0; color: rgba(227, 205, 173, .64); font-size: 10px; letter-spacing: .16em; }
.gate-coordinates { position: absolute; right: max(8vw, 34px); bottom: 28px; left: max(8vw, 34px); display: flex; justify-content: space-between; color: rgba(229, 194, 141, .68); font-size: 9px; letter-spacing: .2em; }
.gate-leaving .gate-content, .gate-leaving .gate-mark { opacity: 0; transform: translateY(14px); transition: opacity .22s ease, transform .22s ease; }
.gate-leaving .gate-art { transform: scale(1.08); transition: transform .3s ease; }

/* Main landing page */
.home-hero { position: relative; display: flex; min-height: min(840px, 100svh); align-items: center; isolation: isolate; overflow: hidden; padding: 150px 0 80px; border: 1px solid rgba(177, 126, 68, .19); }
.home-hero::before, .home-hero::after { position: absolute; inset: 0; z-index: -1; content: ""; }
.home-hero::before { background: var(--hero-image) center 54% / cover; filter: saturate(.75) contrast(1.05); transform: scale(1.02); }
.home-hero::after { background: linear-gradient(90deg, rgba(10,8,8,.92) 0%, rgba(12,9,8,.69) 44%, rgba(12,9,8,.22) 100%), linear-gradient(0deg, rgba(12,9,9,.95), transparent 34%, rgba(12,9,9,.3)); }
.home-hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .64fr); align-items: center; gap: clamp(35px, 7vw, 102px); }
.home-copy { max-width: 720px; }
.home-copy h1 { max-width: 700px; margin: 0; color: #f2e7d6; font: 500 clamp(58px, 7.2vw, 96px)/1.2 var(--serif); letter-spacing: .09em; text-shadow: 0 4px 23px #090706; }
.home-copy h1 span { display: block; }
.home-lead { margin: 18px 0 4px; color: #f1e7d7; font-size: clamp(16px, 1.8vw, 21px); font-weight: 750; }
.home-desc { max-width: 575px; margin: 0; color: #c9bba7; font-size: 14px; }
.home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 23px; margin-top: 28px; }
.button-primary, .button-quiet, .text-link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; transition: color .2s, background .2s, transform .2s, border-color .2s; }
.button-primary { min-height: 49px; padding: 10px 18px; border: 1px solid #e17b3a; border-radius: 4px; color: #fff0db; background: linear-gradient(100deg, #a93d18, #c54e1e); box-shadow: 0 7px 24px rgba(110, 36, 14, .3), inset 0 1px rgba(255,255,255,.2); }
.button-primary:hover { transform: translateY(-2px); background: linear-gradient(100deg, #be461a, #df6428); }
.button-quiet { min-height: 46px; padding: 8px 4px; color: #e6d4b8; }
.button-quiet:hover, .text-link:hover { color: var(--gold-bright); }
.button-arrow { color: var(--gold-bright); font-size: 20px; }
.home-facts { display: flex; flex-wrap: wrap; gap: 9px 20px; margin: 25px 0 0; color: #d0b98f; font-size: 11px; }
.home-facts span::before { display: inline-block; width: 5px; height: 5px; margin: 0 8px 2px 0; border-radius: 50%; background: var(--gold); content: ""; }
.home-feature-panel { overflow: hidden; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(24,17,15,.91); box-shadow: 0 18px 56px rgba(0,0,0,.38); backdrop-filter: blur(10px); }
.panel-heading { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px 12px; border-bottom: 1px solid var(--line); color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.panel-heading span:last-child { color: #d7c09a; }
.panel-body { padding: 18px 20px 19px; }
.panel-body h2 { margin: 0 0 12px; color: #e8c983; font: 600 22px var(--serif); }
.panel-list { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; color: #d2c2aa; font-size: 12px; }
.panel-list li::before { margin-right: 8px; color: var(--gold); content: "◆"; font-size: 8px; }
.panel-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 13px; border-top: 1px solid rgba(205,151,81,.19); }
.panel-bottom .text-link { color: var(--gold-bright); font-size: 12px; }
.panel-caption { max-width: 250px; color: #968773; font-size: 10px; }
.home-scroll-cue { position: absolute; bottom: 18px; left: 50%; color: rgba(228,203,163,.65); font-size: 9px; letter-spacing: .18em; transform: translateX(-50%); }
.home-scroll-cue::after { display: inline-block; width: 38px; height: 1px; margin: 0 0 3px 9px; background: var(--gold-dim); content: ""; }

.section { padding: clamp(68px, 8vw, 112px) 0; }
.section-alt { border-block: 1px solid rgba(192,140,75,.12); background: linear-gradient(180deg, rgba(24,17,16,.67), rgba(13,10,10,.86)); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-heading h2 { margin: 0; color: #eee0cd; font: 600 clamp(29px, 4vw, 42px)/1.3 var(--serif); letter-spacing: .035em; }
.section-heading p { max-width: 525px; margin: 0; color: var(--muted); font-size: 13px; }
.section-kicker { margin: 0 0 9px; color: #a7875b; font-size: 9px; font-weight: 700; letter-spacing: .2em; }
.portal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.portal-card { position: relative; display: flex; min-height: 270px; flex-direction: column; overflow: hidden; border: 1px solid rgba(201,145,75,.35); border-radius: 8px; background: #171110; box-shadow: 0 9px 26px rgba(0,0,0,.2); transition: border-color .24s, transform .24s, box-shadow .24s; }
.portal-card:hover { transform: translateY(-5px); border-color: rgba(241,201,120,.8); box-shadow: 0 16px 32px rgba(0,0,0,.35), 0 0 20px rgba(183,122,46,.1); }
.portal-card-image { position: relative; height: 148px; overflow: hidden; background: #211713; }
.portal-card-image::after { position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(14,10,9,.65)); content: ""; }
.portal-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.portal-card:hover .portal-card-image img { transform: scale(1.045); }
.portal-card-copy { position: relative; flex: 1; padding: 14px 16px 16px; }
.portal-index { color: #a7895f; font-size: 9px; font-weight: 700; letter-spacing: .18em; }
.portal-card h3 { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 4px 0 5px; color: #f0dfc8; font: 600 19px var(--serif); }
.portal-card h3 span { color: var(--gold); font: 500 20px var(--sans); transition: transform .2s; }
.portal-card:hover h3 span { transform: translateX(4px); }
.portal-card p { margin: 0; color: #b6a68f; font-size: 11px; line-height: 1.7; }
.portal-card-wide { grid-column: span 2; min-height: 230px; }
.portal-card-wide .portal-card-image { height: 128px; }
.portal-card-wide .portal-card-copy { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 16px; }
.portal-card-wide .portal-index { grid-column: 1 / -1; }
.portal-card-wide p { max-width: 470px; }
.portal-card .card-sheen { position: absolute; top: 13px; right: 13px; z-index: 1; padding: 3px 8px; border: 1px solid rgba(241,201,120,.42); border-radius: 999px; color: #f3d696; background: rgba(15,11,10,.82); font-size: 8px; letter-spacing: .11em; }

.journey-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 13px; }
.journey-card { display: grid; grid-template-columns: 44px 1fr 18px; align-items: start; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 6px; background: rgba(28,20,17,.7); transition: border-color .2s, background .2s; }
.journey-card:hover { border-color: var(--line-strong); background: rgba(42,29,22,.78); }
.journey-number { color: var(--gold); font: 600 18px var(--serif); }
.journey-card h3 { margin: 0 0 4px; color: #e9dbc7; font-size: 14px; }
.journey-card p { margin: 0; color: var(--muted); font-size: 11px; }
.journey-arrow { color: var(--gold); font-size: 18px; }
.wide-scenery { position: relative; min-height: 310px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 8px; background: #171110; }
.wide-scenery img { width: 100%; height: 100%; min-height: 310px; object-fit: cover; filter: saturate(.8); }
.wide-scenery-copy { position: absolute; inset: auto 0 0; padding: 56px 30px 22px; background: linear-gradient(transparent, rgba(10,8,7,.88)); }
.wide-scenery-copy p { margin: 0 0 4px; color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: .18em; }
.wide-scenery-copy h3 { margin: 0; color: #f3e8d5; font: 600 24px var(--serif); }

/* Shared detail pages */
.article-main { min-height: 100vh; padding-top: 118px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 21px; color: #99866c; font-size: 10px; }
.breadcrumb a:hover { color: var(--gold-bright); }
.breadcrumb span { color: #5d4a38; }
.article-hero { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); align-items: center; gap: clamp(28px, 5vw, 70px); padding: 23px 0 48px; }
.article-copy { max-width: 600px; }
.article-copy h1 { margin: 0; color: #f0e3cf; font: 600 clamp(42px, 5.3vw, 68px)/1.25 var(--serif); letter-spacing: .055em; }
.article-lead { margin: 14px 0 0; color: #c8b89f; font-size: 15px; line-height: 1.9; }
.article-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 21px; }
.article-badge { padding: 4px 10px; border: 1px solid rgba(205,151,81,.3); border-radius: 2px; color: #d6bd94; background: rgba(31,22,19,.64); font-size: 9px; letter-spacing: .07em; }
.article-media { position: relative; overflow: hidden; min-height: 250px; border: 1px solid rgba(202,148,80,.48); border-radius: 8px; background: #080707; box-shadow: 0 15px 38px rgba(0,0,0,.37); }
.article-media img { width: 100%; max-height: 500px; margin-inline: auto; object-fit: contain; }
.article-media figcaption { padding: 9px 13px; border-top: 1px solid rgba(205,151,81,.2); color: #a9977d; background: rgba(18,13,12,.94); font-size: 10px; }
.article-body { padding: 36px 0 84px; border-top: 1px solid rgba(205,151,81,.23); }
.article-section { display: grid; grid-template-columns: minmax(205px, .48fr) minmax(0, 1fr); gap: clamp(25px, 5vw, 70px); padding: 36px 0; border-bottom: 1px solid rgba(205,151,81,.15); }
.article-section:last-child { border-bottom: 0; }
.article-section-heading .section-kicker { margin-bottom: 7px; }
.article-section-heading h2 { margin: 0; color: #ebd7b4; font: 600 clamp(23px, 3vw, 31px)/1.35 var(--serif); }
.article-section-content { min-width: 0; }
.article-section-content > p { max-width: 790px; margin: 0 0 13px; color: #c9baa4; font-size: 13px; line-height: 1.95; }
.article-section-content > p:last-child { margin-bottom: 0; }
.article-points { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.article-point { position: relative; padding: 13px 14px 14px 30px; border: 1px solid rgba(205,151,81,.2); border-radius: 4px; background: rgba(30,22,19,.62); }
.article-point::before { position: absolute; top: 18px; left: 13px; width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); content: ""; }
.article-point strong { display: block; margin-bottom: 3px; color: #e3c88f; font-size: 12px; }
.article-point span { display: block; color: #b6a68f; font-size: 11px; line-height: 1.75; }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 9px; margin-top: 19px; }
.stat-card { padding: 12px 14px; border-left: 2px solid var(--gold-dim); background: linear-gradient(90deg, rgba(90,61,31,.23), rgba(27,20,18,.58)); }
.stat-card span { display: block; color: #a18c6d; font-size: 9px; letter-spacing: .12em; }
.stat-card strong { display: block; margin-top: 2px; color: #f0d68f; font: 600 22px var(--serif); }
.article-note { margin-top: 16px; padding: 12px 14px; border: 1px solid rgba(206,153,80,.28); border-radius: 3px; color: #c5ae84; background: rgba(90,60,30,.13); font-size: 11px; }
.article-image-wide { margin: 23px 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #0b0909; }
.article-image-wide img { width: 100%; max-height: 680px; object-fit: contain; }
.article-image-wide figcaption { padding: 8px 12px; color: #998873; background: #17110f; font-size: 10px; }
.article-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 25px; }
.related-section { padding: 28px 0 72px; border-top: 1px solid rgba(205,151,81,.19); }
.related-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.related-head h2 { margin: 0; color: #e9d8bf; font: 600 23px var(--serif); }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 11px; }
.related-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 4px; color: #d6c6ae; background: rgba(27,20,18,.75); font-size: 12px; transition: border .2s, color .2s, transform .2s; }
.related-link:hover { transform: translateY(-2px); border-color: var(--line-strong); color: var(--gold-bright); }
.related-link span { color: var(--gold); font-size: 18px; }

/* Interactive world screenshot gallery */
.world-gallery { overflow: hidden; border: 1px solid var(--line-strong); border-radius: 7px; background: #0b0908; }
.gallery-stage { position: relative; display: grid; min-height: 280px; place-items: center; background: #050505; }
.gallery-stage img { width: 100%; max-height: min(69vh, 710px); object-fit: contain; }
.gallery-caption { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 12px 16px; border-top: 1px solid rgba(205,151,81,.2); color: #b8a58a; font-size: 11px; }
.gallery-controls { display: flex; gap: 7px; }
.gallery-button { display: inline-grid; width: 36px; height: 34px; place-items: center; border: 1px solid rgba(205,151,81,.45); border-radius: 3px; color: var(--gold-bright); background: rgba(37,26,20,.9); cursor: pointer; transition: background .2s, border-color .2s; }
.gallery-button:hover { border-color: var(--gold-bright); background: #52341d; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; margin-top: 10px; }
.gallery-thumb { overflow: hidden; padding: 0; border: 1px solid rgba(205,151,81,.24); border-radius: 4px; background: #090807; cursor: pointer; opacity: .64; transition: opacity .2s, border-color .2s; }
.gallery-thumb:hover, .gallery-thumb[aria-current="true"] { border-color: var(--gold-bright); opacity: 1; }
.gallery-thumb img { width: 100%; height: 86px; object-fit: cover; }
.gallery-thumb span { display: block; padding: 5px; color: #d3c0a3; font-size: 9px; }

/* Tables and service cards */
.schedule-table { width: 100%; margin-top: 16px; border-collapse: collapse; color: #d6c8b3; font-size: 12px; }
.schedule-table th, .schedule-table td { padding: 10px 13px; border-bottom: 1px solid rgba(205,151,81,.17); text-align: left; }
.schedule-table th { color: #d9bd82; font-weight: 650; }
.schedule-table tbody tr:nth-child(odd) { background: rgba(46,31,25,.52); }
.service-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.service-panel { padding: 18px; border: 1px solid var(--line); border-radius: 5px; background: rgba(29,21,18,.68); }
.service-panel h3 { margin: 0 0 5px; color: #e7d4b2; font: 600 19px var(--serif); }
.service-panel p { margin: 0; color: var(--muted); font-size: 11px; }
.service-panel .text-link { margin-top: 12px; color: var(--gold-bright); font-size: 11px; }
.download-callout { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 15px; margin-top: 16px; padding: 17px 19px; border: 1px solid rgba(214,155,79,.4); border-radius: 5px; background: linear-gradient(100deg, rgba(77,45,25,.45), rgba(29,20,17,.85)); }
.download-callout h3 { margin: 0 0 4px; color: #efd4a0; font: 600 18px var(--serif); }
.download-callout p { margin: 0; color: #b8a58a; font-size: 11px; }
.download-pending { display: inline-flex; align-items: center; min-height: 39px; padding: 8px 13px; border: 1px dashed rgba(213,170,107,.44); border-radius: 3px; color: #bea77e; background: rgba(17,13,12,.38); font-size: 10px; }

.site-footer { border-top: 1px solid rgba(196,139,69,.31); background: #0b0909; }
.footer-main { display: grid; grid-template-columns: 195px 1fr auto; align-items: center; gap: 22px; padding-block: 23px; }
.footer-brand { display: flex; align-items: center; gap: 8px; color: #ddc491; font: 600 10px var(--serif); letter-spacing: .12em; }
.footer-brand img { width: 43px; height: 28px; object-fit: contain; }
.footer-copy { margin: 0; color: #c7b69c; font-size: 11px; }
.footer-copy span { display: block; color: #786c5d; font-size: 9px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 17px; color: #b8a68d; font-size: 10px; }
.footer-nav a:hover { color: var(--gold-bright); }
.footer-bottom { padding: 9px 0 13px; border-top: 1px solid rgba(196,139,69,.12); color: #685e52; font-size: 9px; }
.footer-bottom .page-width { display: flex; justify-content: space-between; gap: 14px; }
.toast { position: fixed; z-index: 80; right: 18px; bottom: 18px; max-width: min(400px, calc(100% - 36px)); padding: 11px 15px; border: 1px solid var(--line-strong); border-radius: 4px; color: #e8d7ba; background: rgba(27,19,17,.97); box-shadow: 0 12px 30px rgba(0,0,0,.42); font-size: 11px; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s, transform .2s; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .48s ease, transform .48s ease; }
.reveal.is-in-view { opacity: 1; transform: none; }
.is-leaving .article-main, .is-leaving .home-main { opacity: .3; transform: translateY(5px); transition: opacity .18s, transform .18s; }

@keyframes gate-drift { from { transform: scale(1.025) translate3d(0,0,0); } to { transform: scale(1.08) translate3d(-1.1%,.4%,0); } }
@keyframes gate-arrive { from { opacity: 0; transform: translateY(17px); } to { opacity: 1; transform: translateY(0); } }
@keyframes enter-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

@media (max-width: 1100px) {
  .nav-shell { grid-template-columns: minmax(0,1fr) 192px minmax(0,1fr); padding-inline: 18px; }
  .brand { width: 192px; }
  .nav-group { gap: 14px; }
  .nav-link { font-size: 12px; }
  .nav-link svg { display: none; }
  .home-hero-inner { grid-template-columns: minmax(0,1.05fr) minmax(275px,.8fr); gap: 34px; }
  .portal-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 780px) {
  html { scroll-padding-top: 75px; }
  .page-width { width: min(var(--page-width), calc(100% - 38px)); }
  .site-header { top: 9px; padding-inline: 10px; }
  .site-header.is-scrolled { top: 0; }
  .nav-shell { min-height: 57px; grid-template-columns: 1fr auto; padding: 0 13px; border-radius: 10px; }
  .nav-group { display: none; }
  .brand { position: static; width: 152px; height: 58px; transform: none; justify-self: start; }
  .menu-toggle { display: grid; align-content: center; gap: 5px; width: 40px; height: 40px; padding: 9px; border: 1px solid rgba(217,177,123,.38); border-radius: 5px; color: var(--gold-bright); background: rgba(255,255,255,.03); cursor: pointer; }
  .menu-toggle span { display: block; height: 1px; background: currentColor; transition: transform .18s ease, opacity .18s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }
  .mobile-menu { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 3px; width: min(100%, 490px); margin: 7px auto 0; padding: 8px; border: 1px solid rgba(217,177,123,.34); border-radius: 8px; background: rgba(23,16,15,.98); box-shadow: 0 16px 40px rgba(0,0,0,.42); }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu a { padding: 10px 11px; border-radius: 4px; color: #e4d4bd; font-size: 12px; }
  .mobile-menu a:hover { color: var(--gold-bright); background: rgba(209,151,74,.08); }
  .gate-stage { min-height: 100svh; align-items: end; padding: 150px 23px 83px; }
  .gate-mark { top: 13px; }
  .gate-content h1 { font-size: clamp(54px, 13vw, 83px); }
  .gate-shade { background: linear-gradient(90deg, rgba(10,8,8,.84), rgba(10,8,8,.45)), linear-gradient(0deg, rgba(10,8,8,.97), transparent 66%); }
  .gate-coordinates { right: 23px; bottom: 18px; left: 23px; font-size: 7px; }
  .home-hero { min-height: auto; padding: 132px 0 72px; }
  .home-hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .home-copy h1 { font-size: clamp(53px, 12vw, 78px); }
  .home-feature-panel { max-width: 540px; }
  .home-scroll-cue { display: none; }
  .section { padding: 62px 0; }
  .section-heading { display: grid; align-items: start; gap: 9px; margin-bottom: 22px; }
  .portal-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .portal-card { min-height: 232px; }
  .portal-card-image { height: 115px; }
  .portal-card-copy { padding: 11px 12px 13px; }
  .portal-card h3 { font-size: 16px; }
  .portal-card p { font-size: 10px; }
  .portal-card-wide { grid-column: span 2; }
  .portal-card-wide .portal-card-image { height: 112px; }
  .journey-grid { grid-template-columns: 1fr; }
  .wide-scenery, .wide-scenery img { min-height: 230px; }
  .article-main { padding-top: 99px; }
  .article-hero { grid-template-columns: 1fr; gap: 24px; padding: 16px 0 31px; }
  .article-copy h1 { font-size: clamp(39px,10vw,58px); }
  .article-media { min-height: 160px; }
  .article-media img { max-height: 420px; }
  .article-body { padding: 19px 0 54px; }
  .article-section { grid-template-columns: 1fr; gap: 12px; padding: 25px 0; }
  .article-points { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .related-grid { grid-template-columns: 1fr; }
  .related-head { align-items: start; flex-direction: column; }
  .gallery-stage { min-height: 190px; }
  .gallery-stage img { max-height: 55vh; }
  .gallery-thumb img { height: 58px; }
  .schedule-table { font-size: 10px; }
  .schedule-table th, .schedule-table td { padding: 8px 7px; }
  .service-grid { grid-template-columns: 1fr; }
  .download-callout { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 10px; padding-block: 18px; }
  .footer-nav { gap: 10px 13px; }
  .footer-bottom .page-width { display: grid; }
}
@media (max-width: 400px) {
  .portal-grid { grid-template-columns: 1fr; }
  .portal-card, .portal-card-wide { grid-column: auto; min-height: 245px; }
  .portal-card-image, .portal-card-wide .portal-card-image { height: 137px; }
  .gate-content h1 { letter-spacing: .07em; }
  .gate-coordinates span:first-child { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Centered entry panel and the passage into the main site. */
.gate-stage { align-items: center; justify-content: center; padding: 32px 18px; }
.gate-shade { background: linear-gradient(rgba(8,7,8,.48),rgba(8,6,7,.68)), radial-gradient(ellipse at center,transparent 0%,rgba(7,5,5,.72) 100%); }
.gate-content { position: relative; z-index: 3; width: min(440px,100%); padding: 35px 36px 24px; text-align: center; border: 1px solid rgba(222,188,125,.34); outline: 1px solid rgba(197,151,79,.18); outline-offset: -6px; background: linear-gradient(160deg,rgba(40,29,27,.82),rgba(12,9,10,.94)); box-shadow: 0 28px 90px rgba(0,0,0,.8), 0 0 80px rgba(218,146,65,.12), inset 0 1px rgba(255,255,255,.12); backdrop-filter: blur(22px); }
.gate-logo { width: min(205px,62%); margin: 0 auto 8px; filter: drop-shadow(0 4px 12px #000); }
.gate-content h1 { margin: 0; font: 600 clamp(24px,2.2vw,34px)/1.3 var(--serif); letter-spacing: .14em; }
.gate-en { margin: 7px 0 0; color: #b5a384; font-size: 10px; letter-spacing: .34em; }
.gate-rule { width: 90px; height: 1px; margin: 17px auto 0; background: linear-gradient(90deg,transparent,var(--gold),transparent); }
.gate-copy { margin: 14px 0 0; color: #cbbca5; font-size: 13px; line-height: 1.8; }
.enter-button { width: 100%; min-width: 0; margin-top: 21px; min-height: 54px; border-radius: 2px; letter-spacing: .5em; padding-left: .5em; animation: gate-pulse 6s ease-in-out infinite; }
.gate-foot { margin: 17px 0 0; padding-top: 13px; border-top: 1px solid var(--line); color: #bba989; font-size: 11px; letter-spacing: .08em; }
.gate-hint { margin: 6px 0 0; font-size: 10px; }
.gate-coordinates { opacity: .6; }
.gate-warp { position: fixed; z-index: 5; inset: 0; overflow: hidden; pointer-events: none; opacity: 0; }
.warp-nebula,.warp-rays,.warp-core { position: absolute; inset: 0; }
.warp-nebula { background: radial-gradient(ellipse at 50% 50%,rgba(237,155,67,.58),transparent 58%),radial-gradient(ellipse at 30% 40%,rgba(123,57,39,.48),transparent 50%),radial-gradient(ellipse at 70% 30%,rgba(118,91,55,.38),transparent 52%); filter: blur(24px); }
.warp-rays { background: repeating-conic-gradient(from 4deg at 50% 50%,transparent 0deg 9deg,rgba(255,214,145,.5) 9.4deg 9.8deg,transparent 10.4deg 19deg); mask-image: radial-gradient(circle,transparent 0%,#000 20%,transparent 76%); }
.warp-core { background: radial-gradient(circle at center,rgba(255,244,211,.98),rgba(244,189,107,.6) 14%,transparent 50%); transform: scale(.03); }
.gate-leaving .gate-content { animation: gate-collapse .5s ease-in forwards; }
.gate-leaving .enter-button { pointer-events: none; }
.gate-leaving .gate-art { animation: gate-zoom 2.05s ease-in forwards; }
.gate-leaving .gate-warp { opacity: 1; }
.gate-leaving .warp-nebula { animation: warp-cloud 2.05s ease-in forwards; }
.gate-leaving .warp-rays { animation: warp-stream 2.05s ease-in forwards; }
.gate-leaving .warp-core { animation: warp-flare 2.05s ease-in forwards; }
@keyframes gate-pulse { 50% { box-shadow: 0 0 38px rgba(225,107,42,.5), inset 0 1px rgba(255,221,177,.5); } }
@keyframes gate-collapse { to { opacity: 0; transform: scale(.64); } }
@keyframes gate-zoom { to { transform: scale(1.24); } }
@keyframes warp-cloud { 0% { opacity: 0; transform: scale(.8); } 35% { opacity: .8; } 100% { opacity: 0; transform: scale(2.2); } }
@keyframes warp-stream { 0%,20% { opacity: 0; transform: scale(.7); } 42% { opacity: .75; } 100% { opacity: 0; transform: scale(2.5) rotate(9deg); } }
@keyframes warp-flare { 0%,15% { opacity: 0; transform: scale(.03); } 45% { opacity: .45; } 100% { opacity: .94; transform: scale(3); } }
@media (max-width: 560px) { .gate-stage { align-items: center; } .gate-content { padding: 27px 21px 20px; } .gate-content h1 { font-size: 23px; } .gate-logo { width: 160px; } }

/* Main-site navigation follows the reference's compact horizontal directory. */
.site-header, .site-header.is-scrolled { position: sticky; top: 0; padding: 0; }
.nav-shell { display: flex; width: 100%; min-height: 66px; padding: 0 max(20px,calc((100% - 1500px)/2)); gap: 18px; border: 0; border-bottom: 1px solid rgba(211,164,97,.38); border-radius: 0; }
.brand { position: static; flex: 0 0 auto; display: flex; width: auto; height: 62px; gap: 7px; transform: none; }
.brand img { width: 76px; max-height: 54px; object-fit: contain; }
.brand span { color: #ead6ad; font: 600 15px var(--serif); white-space: nowrap; }
.brand small { display: block; color: #9b8569; font: 9px var(--sans); letter-spacing: .1em; }
.nav-topics { display: flex; flex: 1 1 auto; min-width: 0; align-items: center; gap: 1px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #775331 transparent; }
.nav-topics .nav-link { position: relative; min-height: 64px; padding: 0 10px; color: #c3b39c; }
.nav-topics .nav-link:hover,.nav-topics .nav-link.is-active { color: #f1ce8d; background: rgba(211,155,80,.08); }
.nav-topics .nav-link.is-active::after { position: absolute; bottom: 0; left: 10px; right: 10px; height: 2px; background: var(--gold); content: ""; }
.nav-search { flex: 0 0 37px; height: 37px; border: 1px solid var(--line); border-radius: 4px; background: #211713; color: var(--gold-bright); font-size: 25px; line-height: 1; cursor: pointer; }
.nav-search:hover { background: #49301d; border-color: var(--gold); }
.article-main { padding-top: 42px; }
.home-hero { min-height: min(740px,calc(100svh - 66px)); padding-top: 80px; }
.search-overlay { position: fixed; z-index: 90; inset: 0; display: grid; place-items: start center; padding: min(14vh,100px) 16px 25px; background: rgba(0,0,0,.78); }
.search-overlay[hidden] { display: none; }
.search-dialog { width: min(620px,100%); max-height: 78vh; overflow: auto; padding: 20px; border: 1px solid var(--line-strong); border-radius: 7px; background: #1a1311; box-shadow: 0 22px 75px #000; }
.search-heading { display: flex; justify-content: space-between; align-items: center; color: #edce8e; font-family: var(--serif); }
.search-close { width: 34px; height: 34px; border: 1px solid var(--line); color: var(--gold); background: transparent; font-size: 23px; cursor: pointer; }
.search-input { width: 100%; margin: 14px 0; padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: 3px; color: var(--ink); background: #0c0909; font: inherit; }
.search-results { display: grid; gap: 6px; }
.search-results a { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid transparent; border-radius: 3px; background: rgba(255,255,255,.025); }
.search-results a:hover { border-color: var(--line-strong); background: rgba(214,155,79,.1); }
.search-results strong { color: #e8d4b0; font-size: 13px; }
.search-results span,.search-results p { color: var(--muted); font-size: 11px; }
@media(max-width:780px) { .nav-shell { min-height: 59px; padding: 0 10px; gap: 8px; } .brand { width: auto; height: 58px; } .brand img { width: 62px; } .brand span { display: none; } .nav-topics .nav-link { min-height: 58px; padding-inline: 9px; } .article-main { padding-top: 26px; } .home-hero { padding-top: 70px; } }

/* Topic navigation, an expandable dungeon journal, and full-size screenshots. */
.article-jump { display: flex; gap: 8px; overflow-x: auto; padding: 13px 0 21px; scrollbar-width: thin; scrollbar-color: #75512d transparent; }
.article-jump a { flex: 0 0 auto; padding: 7px 12px; border: 1px solid rgba(205,151,81,.32); border-radius: 3px; color: #d8be91; background: #211713; font-size: 11px; transition: color .2s, border-color .2s, background .2s; }
.article-jump a:hover { color: #ffe1a1; border-color: var(--gold); background: #49301e; }
.article-section, .dungeon-catalog { scroll-margin-top: 86px; }
.dungeon-catalog { margin: 6px 0 35px; padding: 25px; border: 1px solid var(--line-strong); border-radius: 6px; background: linear-gradient(145deg,rgba(43,30,23,.9),rgba(20,15,14,.96)); }
.catalog-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.catalog-heading h2 { margin: 0; color: #edd8b0; font: 600 28px var(--serif); }
.catalog-heading p:not(.section-kicker) { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.catalog-search { display: grid; gap: 4px; min-width: min(260px,100%); color: #cbb38a; font-size: 10px; }
.catalog-search input { width: 100%; padding: 9px 11px; border: 1px solid var(--line-strong); border-radius: 3px; background: #0d0a09; color: var(--ink); font: inherit; font-size: 12px; }
.catalog-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 20px 0 14px; }
.catalog-filter { padding: 8px 15px; border: 1px solid var(--line); border-radius: 3px; color: #cdbb9e; background: #211713; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.catalog-filter:hover { color: #f7d999; border-color: var(--gold); }
.catalog-filter.is-active { color: #fff1d2; border-color: #e09a51; background: linear-gradient(#97401d,#682411); box-shadow: inset 0 1px rgba(255,220,165,.22); }
.catalog-count { margin-left: auto; color: #a79276; font-size: 11px; }
.dungeon-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 9px; }
.dungeon-entry { min-width: 0; overflow: hidden; border: 1px solid rgba(205,151,81,.25); border-radius: 4px; background: rgba(13,10,9,.7); }
.dungeon-entry[hidden], .catalog-empty[hidden] { display: none; }
.dungeon-entry[open] { border-color: rgba(232,179,102,.65); }
.dungeon-entry summary { display: grid; grid-template-columns: 34px minmax(0,1fr) 24px; align-items: center; gap: 10px; padding: 11px 13px; list-style: none; cursor: pointer; }
.dungeon-entry summary::-webkit-details-marker { display: none; }
.dungeon-entry summary:hover { background: rgba(199,141,67,.1); }
.dungeon-entry summary strong { display: block; color: #ead6b4; font-size: 13px; }
.dungeon-entry summary small { display: block; margin-top: 2px; color: #a8967d; font-size: 10px; }
.dungeon-glyph { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #846032; border-radius: 50%; color: var(--gold); background: #261b14; }
.dungeon-chevron { color: var(--gold); font-size: 17px; text-align: center; transition: transform .2s; }
.dungeon-entry[open] .dungeon-chevron { transform: rotate(45deg); }
.dungeon-detail { padding: 0 13px 13px; border-top: 1px solid rgba(205,151,81,.14); }
.dungeon-detail p { color: #bfaf98; font-size: 11px; line-height: 1.8; }
.dungeon-detail b { color: #e8ca8b; }
.dungeon-detail .image-open { border: 1px solid var(--line); }
.dungeon-detail .dungeon-source, .catalog-note { color: #8f806d; font-size: 10px; }
.catalog-empty { padding: 20px; color: var(--muted); text-align: center; }
.event-schedule { scroll-margin-top: 86px; }
.event-list { display: grid; gap: 5px; margin-top: 16px; }
.event-entry { overflow: hidden; border: 1px solid rgba(205,151,81,.2); border-radius: 3px; background: rgba(13,10,9,.65); }
.event-entry[hidden] { display: none; }
.event-entry summary { display: grid; grid-template-columns: minmax(110px,.4fr) minmax(0,1fr) 22px; align-items: center; gap: 12px; padding: 11px 14px; list-style: none; cursor: pointer; }
.event-entry summary::-webkit-details-marker { display: none; }
.event-entry summary:hover, .event-entry[open] summary { background: rgba(202,145,72,.11); }
.event-entry time { color: #dfc28b; font-size: 12px; }
.event-entry strong { color: #e8d7be; font-size: 12px; }
.event-entry summary > span { color: var(--gold); text-align: center; transition: transform .2s; }
.event-entry[open] summary > span { transform: rotate(45deg); }
.event-detail { padding: 4px 14px 14px; border-top: 1px solid var(--line); }
.event-detail p { color: var(--muted); font-size: 11px; }
.event-detail .text-link { margin-right: 14px; color: #e7c586; font-size: 11px; }
.image-open { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 0; background: #080707; cursor: zoom-in; }
.image-open img { display: block; width: 100%; max-height: 680px; object-fit: contain; }
.image-open span { position: absolute; right: 9px; bottom: 9px; padding: 4px 8px; border: 1px solid rgba(222,180,116,.6); border-radius: 3px; color: #f4dcab; background: rgba(12,9,8,.82); font-size: 10px; opacity: .88; }
.image-open:hover span { opacity: 1; background: #56351d; }
.image-viewer { position: fixed; z-index: 100; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 55px 25px 25px; background: rgba(3,2,2,.94); }
.image-viewer[hidden] { display: none; }
.image-viewer img { max-width: 100%; max-height: calc(100vh - 100px); object-fit: contain; border: 1px solid var(--line-strong); }
.image-viewer p { margin: 0; color: #ceb995; font-size: 11px; text-align: center; }
.image-viewer-close { position: absolute; top: 12px; right: 18px; width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 3px; color: #f2d49f; background: #261a15; font-size: 28px; cursor: pointer; }
.image-viewer-close:hover { background: #583720; }
body.viewer-open, body.search-open { overflow: hidden; }
@media(max-width:780px) { .dungeon-catalog { padding: 17px; } .catalog-heading { display: grid; } .dungeon-list { grid-template-columns: 1fr; } .catalog-count { width: 100%; margin: 4px 0 0; } .image-viewer { padding: 55px 10px 18px; } }

/* Searchable classless skill and talent library. */
.skill-browser { scroll-margin-top: 86px; margin: 6px 0 35px; padding: 25px; border: 1px solid var(--line-strong); border-radius: 6px; background: linear-gradient(145deg,rgba(43,30,23,.95),rgba(20,15,14,.98)); }
.skill-browser-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; }
.skill-browser-heading h2 { margin: 0; color: #edd8b0; font: 600 28px var(--serif); }
.skill-browser-heading p:not(.section-kicker) { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.skill-source { color: #a88a5f; font-size: 10px; letter-spacing: .12em; white-space: nowrap; }
.skill-classes { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0 16px; }
.skill-class,.skill-modes button,.skill-specs button { padding: 8px 13px; border: 1px solid rgba(205,151,81,.27); border-radius: 3px; color: #cdbb9e; background: #211713; font: inherit; font-size: 11px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.skill-class:hover,.skill-modes button:hover,.skill-specs button:hover { color: #ffe0a3; border-color: var(--gold); }
.skill-class.is-active,.skill-modes button.is-active,.skill-specs button.is-active { color: #fff0cd; border-color: #d5904d; background: linear-gradient(#8c3a1c,#582011); box-shadow: inset 0 1px rgba(255,218,162,.19); }
.skill-class:disabled { cursor: not-allowed; opacity: .38; }
.skill-toolbar { display: flex; justify-content: space-between; align-items: end; gap: 14px; padding-top: 15px; border-top: 1px solid rgba(205,151,81,.19); }
.skill-modes,.skill-specs { display: flex; flex-wrap: wrap; gap: 6px; }
.skill-search { display: grid; gap: 4px; width: min(260px,100%); color: #cbb38a; font-size: 10px; }
.skill-search input { width: 100%; padding: 9px 11px; border: 1px solid var(--line-strong); border-radius: 3px; background: #0d0a09; color: var(--ink); font: inherit; font-size: 12px; }
.skill-specs { margin: 14px 0 0; }
.skill-specs button { min-width: 76px; }
.skill-browser-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(230px,.46fr); align-items: start; gap: 16px; margin-top: 16px; }
.skill-result-count { margin: 0 0 8px; color: #a89272; font-size: 10px; }
.skill-items { display: grid; grid-template-columns: repeat(auto-fill,minmax(112px,1fr)); gap: 7px; }
.skill-items.is-tree { grid-template-columns: repeat(4,minmax(0,1fr)); grid-auto-rows: minmax(86px,auto); gap: 7px; }
.skill-item { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 8px 5px; border: 1px solid rgba(205,151,81,.17); border-radius: 4px; color: #d4c2a5; background: rgba(9,7,7,.56); cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.skill-item:hover { transform: translateY(-2px); border-color: #d0a15e; background: rgba(94,58,29,.35); }
.skill-item.is-selected { border-color: #e7b86d; box-shadow: inset 0 0 15px rgba(211,154,75,.18),0 0 10px rgba(215,150,58,.18); color: #fff0d3; }
.skill-item img { width: 42px; height: 42px; border: 1px solid #956c37; border-radius: 3px; }
.skill-item span { max-width: 100%; font-size: 10px; line-height: 1.3; overflow-wrap: anywhere; }
.skill-item small { color: #b79560; font-size: 9px; }
.skill-detail { position: sticky; top: 86px; min-height: 190px; padding: 16px; border: 1px solid rgba(205,151,81,.35); border-radius: 4px; background: #100c0b; box-shadow: inset 0 1px rgba(255,255,255,.03); }
.skill-detail-title { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.skill-detail-title img { width: 48px; height: 48px; border: 1px solid var(--gold-dim); border-radius: 3px; }
.skill-detail-title span { color: #a58e6e; font-size: 9px; }
.skill-detail-title h3 { margin: 2px 0; color: #f1d493; font: 600 18px var(--serif); }
.skill-detail-title .skill-rank { color: #d1aa6a; }
.skill-description,.skill-detail > p { margin: 13px 0 0; color: #d1c1a6; font-size: 12px; line-height: 1.8; white-space: pre-line; }
.skill-empty { padding: 20px 0; color: var(--muted); font-size: 11px; }
.skill-empty[hidden] { display: none; }
.skill-footnote { margin: 18px 0 0; color: #9c8b73; font-size: 10px; }
@media(max-width:780px) { .skill-browser { padding: 17px; } .skill-toolbar { align-items: stretch; flex-direction: column; } .skill-search { width: 100%; } .skill-browser-layout { grid-template-columns: 1fr; } .skill-detail { position: static; grid-row: 1; min-height: 0; } .skill-items { grid-template-columns: repeat(auto-fill,minmax(86px,1fr)); } .skill-items.is-tree { grid-template-columns: repeat(4,minmax(0,1fr)); } .skill-item img { width: 36px; height: 36px; } }
.mark-explorer { scroll-margin-top: 86px; margin: 6px 0 35px; padding: 25px; border: 1px solid var(--line-strong); border-radius: 6px; background: linear-gradient(145deg,rgba(43,30,23,.95),rgba(20,15,14,.98)); }
.mark-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin: 19px 0; }
.mark-tabs button { padding: 9px 17px; border: 1px solid var(--line); border-radius: 3px; color: #d2bea0; background: #211713; font: inherit; font-size: 12px; cursor: pointer; }
.mark-tabs button:hover { border-color: var(--gold); color: #ffe0a3; }
.mark-tabs button.is-active { color: #fff0cd; border-color: #d5904d; background: linear-gradient(#8c3a1c,#582011); }
.mark-panel { display: grid; grid-template-columns: minmax(185px,.42fr) minmax(0,1fr); gap: 22px; align-items: start; }
.mark-panel-copy h3 { margin: 0 0 7px; color: #edd4a6; font: 600 20px var(--serif); }
.mark-panel-copy p { margin: 0 0 12px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.mark-panel-copy .text-link { color: var(--gold-bright); font-size: 11px; }
.mark-panel .article-image-wide { margin: 0; }
@media(max-width:780px) { .mark-explorer { padding: 17px; } .mark-panel { grid-template-columns: 1fr; gap: 12px; } }
.wardrobe-browser { scroll-margin-top: 86px; margin: 6px 0 35px; padding: 25px; border: 1px solid var(--line-strong); border-radius: 6px; background: linear-gradient(145deg,rgba(43,30,23,.95),rgba(20,15,14,.98)); }
.wardrobe-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(220px,.35fr); align-items: start; gap: 16px; margin-top: 20px; }
.wardrobe-count { margin: 0 0 8px; color: #a89272; font-size: 10px; }
.wardrobe-items { display: grid; grid-template-columns: repeat(auto-fill,minmax(104px,1fr)); gap: 8px; }
.wardrobe-item { min-width: 0; padding: 5px 5px 9px; overflow: hidden; border: 1px solid rgba(205,151,81,.22); border-radius: 4px; color: #dccbad; background: #100c0b; cursor: pointer; transition: border-color .2s,transform .2s,background .2s; }
.wardrobe-item:hover { transform: translateY(-3px); border-color: var(--gold); background: #2a1d16; }
.wardrobe-item.is-selected { border-color: #e8b96d; box-shadow: 0 0 15px rgba(215,150,58,.2); }
.wardrobe-art { display: block; width: 100%; aspect-ratio: 169 / 225; background-image: url("图片/ScreenShot_2026-11-03_181611_771.png"); background-repeat: no-repeat; background-size: 1145% 473%; background-position: var(--sprite-x) var(--sprite-y); }
.wardrobe-item strong { display: block; margin: 6px 1px 1px; overflow-wrap: anywhere; font-size: 11px; }
.wardrobe-item small { display: block; color: #a99370; font-size: 9px; }
.wardrobe-detail { position: sticky; top: 86px; padding: 16px; border: 1px solid rgba(205,151,81,.35); border-radius: 4px; background: #100c0b; }
.wardrobe-detail-art { width: min(130px,70%); margin: 0 auto 14px; border: 1px solid var(--line); border-radius: 4px; }
.wardrobe-detail h3 { margin: 2px 0; color: #f1d493; font: 600 20px var(--serif); }
.wardrobe-detail p:not(.section-kicker) { color: #bdaa91; font-size: 11px; line-height: 1.8; }
.wardrobe-detail .wardrobe-pieces { margin: 3px 0; color: #e0bd7c; }
.wardrobe-full { margin-top: 4px; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 3px; color: #eccb8b; background: #251a14; cursor: zoom-in; font: inherit; font-size: 10px; }
.wardrobe-full:hover { background: #54341d; }
.wardrobe-empty { color: var(--muted); font-size: 11px; }
.wardrobe-empty[hidden] { display: none; }
@media(max-width:780px) { .wardrobe-browser { padding: 17px; } .wardrobe-layout { grid-template-columns: 1fr; } .wardrobe-detail { position: static; grid-row: 1; } .wardrobe-items { grid-template-columns: repeat(auto-fill,minmax(90px,1fr)); } }
.enchant-browser { scroll-margin-top: 86px; margin: 6px 0 35px; padding: 25px; border: 1px solid var(--line-strong); border-radius: 6px; background: linear-gradient(145deg,rgba(38,24,37,.94),rgba(20,15,14,.98)); }
.enchant-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(230px,.43fr); align-items: start; gap: 16px; margin-top: 20px; }
.enchant-count { margin: 0 0 8px; color: #a89272; font-size: 10px; }
.enchant-items { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.enchant-item { display: grid; grid-template-columns: 44px minmax(0,1fr) 14px; align-items: center; gap: 9px; padding: 8px 10px; border: 1px solid rgba(205,151,81,.2); border-radius: 4px; background: rgba(12,8,14,.72); color: #e2d0b0; text-align: left; cursor: pointer; transition: border-color .2s,background .2s; }
.enchant-item:hover { border-color: #d4a162; background: rgba(99,56,63,.28); }
.enchant-item.is-selected { border-color: #e8b96d; background: rgba(102,60,56,.32); box-shadow: inset 0 0 14px rgba(214,158,81,.12); }
.enchant-item strong { overflow-wrap: anywhere; font-size: 11px; }
.enchant-item > span:last-child { color: var(--gold); font-size: 19px; }
.enchant-art { display: block; flex: 0 0 auto; width: 44px; height: 44px; border: 1px solid #9a6d33; border-radius: 50%; background-image: url("图片/ScreenShot_2026-11-03_181459_548.png"); background-repeat: no-repeat; background-size: 3723% 2046%; background-position: var(--sprite-x) var(--sprite-y); box-shadow: 0 0 9px rgba(199,142,62,.16); }
.enchant-art.is-tooltip { background-image: url("图片/ScreenShot_2026-11-03_181530_486.png"); background-size: 1486% 2209%; }
.enchant-detail { position: sticky; top: 86px; min-height: 170px; padding: 16px; border: 1px solid rgba(205,151,81,.35); border-radius: 4px; background: #100c0b; }
.enchant-detail-title { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.enchant-detail-title span:not(.enchant-art) { color: #c99955; font-size: 9px; }
.enchant-detail h3 { margin: 3px 0 0; color: #f0d19a; font: 600 19px var(--serif); }
.enchant-detail p { color: #cbbba3; font-size: 12px; line-height: 1.9; }
.enchant-empty { color: var(--muted); font-size: 11px; }
.enchant-empty[hidden] { display: none; }
@media(max-width:780px) { .enchant-browser { padding: 17px; } .enchant-layout { grid-template-columns: 1fr; } .enchant-detail { position: static; grid-row: 1; } }
@media(max-width:430px) { .enchant-items { grid-template-columns: 1fr; } }
.view-explorer { scroll-margin-top: 86px; margin: 6px 0 35px; padding: 25px; border: 1px solid var(--line-strong); border-radius: 6px; background: linear-gradient(145deg,rgba(43,30,23,.95),rgba(20,15,14,.98)); }
.view-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin: 19px 0; }
.view-tabs button { padding: 9px 15px; border: 1px solid var(--line); border-radius: 3px; color: #d2bea0; background: #211713; font: inherit; font-size: 11px; cursor: pointer; transition: color .2s,background .2s,border-color .2s; }
.view-tabs button:hover { border-color: var(--gold); color: #ffe0a3; }
.view-tabs button.is-active { color: #fff0cd; border-color: #d5904d; background: linear-gradient(#8c3a1c,#582011); }
.view-panel { display: grid; grid-template-columns: minmax(185px,.42fr) minmax(0,1fr); gap: 22px; align-items: start; }
.view-copy h3 { margin: 0 0 7px; color: #edd4a6; font: 600 20px var(--serif); }
.view-copy p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.9; }
.view-panel .article-image-wide { margin: 0; }
.view-panel .image-open img { max-height: 530px; }
@media(max-width:780px) { .view-explorer { padding: 17px; } .view-panel { grid-template-columns: 1fr; gap: 12px; } }

/* Broad topic banners and framed sections follow the reference page hierarchy. */
:root { --page-width: 1428px; }
.nav-shell { min-height: 70px; background: repeating-linear-gradient(90deg,rgba(0,0,0,.12) 0 2px,transparent 2px 8px),linear-gradient(180deg,#2a1d1c,#130e0d); box-shadow: inset 0 1px rgba(255,227,168,.3),0 6px 24px rgba(0,0,0,.58); }
.nav-topics .nav-link { min-height: 40px; align-self: center; }
.nav-topics .nav-link.is-active { color: #2b1b0b; background: linear-gradient(180deg,#e9c77f,#b8853c); text-shadow: none; box-shadow: inset 0 1px rgba(255,244,208,.58),0 0 14px rgba(214,161,83,.25); }
.nav-topics .nav-link.is-active::after { display: none; }
.article-main { padding-top: 0; }
.article-banner { position: relative; isolation: isolate; overflow: hidden; min-height: 270px; padding: 32px 0 27px; border-bottom: 1px solid rgba(214,160,91,.3); }
.article-banner::before,.article-banner::after { position: absolute; z-index: -1; inset: 0; content: ""; }
.article-banner::before { background: var(--article-art) center 35% / cover; filter: saturate(.72) contrast(1.06); }
.article-banner::after { background: linear-gradient(90deg,rgba(10,7,7,.96),rgba(12,8,8,.86) 45%,rgba(12,8,8,.43)),linear-gradient(0deg,rgba(12,9,9,.92),transparent 62%); }
.article-banner-inner { position: relative; }
.article-banner .breadcrumb { margin-bottom: 13px; }
.article-hero { display: block; padding: 8px 0 0; }
.article-copy { max-width: 820px; }
.article-copy h1 { font-size: clamp(30px,3.4vw,48px); letter-spacing: .07em; }
.article-lead { max-width: 820px; margin-top: 10px; font-size: 13px; }
.article-badges { margin-top: 12px; }
.article-jump { padding: 16px 0 0; }
.article-content { padding-top: 38px; }
.article-illustration { max-width: 980px; margin: 0 auto 35px; }
/* Keep the actionable service cards close to the page heading. */
body[data-page="downloads"] .article-content > .article-body,
body[data-page="services"] .article-content > .article-body { padding-top: 0; padding-bottom: 32px; border-top: 0; }
body[data-page="downloads"] .article-body > .article-section:first-child,
body[data-page="services"] .article-body > .article-section:first-child { padding-top: 0; }
@media(max-width:780px) { .nav-shell { min-height: 59px; } .nav-topics .nav-link { min-height: 40px; } .article-main { padding-top: 0; } .article-banner { min-height: 0; padding: 24px 0; } .article-hero { padding: 5px 0 0; } .article-copy h1 { font-size: clamp(29px,8vw,43px); } .article-content { padding-top: 25px; } }
.site-info { border-bottom: 1px solid rgba(205,151,81,.22); background: rgba(28,19,17,.97); }
.site-info-inner { display: flex; align-items: center; gap: 13px; width: min(1480px,100%); min-height: 34px; margin: auto; padding: 4px 26px; overflow-x: auto; scrollbar-width: thin; color: #8f7757; font-size: 10px; white-space: nowrap; }
.site-info-title { color: #dcbf88; font-weight: 700; }
.site-info a { flex: 0 0 auto; color: #c1ae91; transition: color .2s; }
.site-info a:hover { color: #ffdc99; }
html { scroll-padding-top: 120px; }
.article-section,.dungeon-catalog,.skill-browser,.mark-explorer,.wardrobe-browser,.enchant-browser,.view-explorer { scroll-margin-top: 116px; }
.section-heading > div { min-width: 0; flex: 1; }
.section-heading h2 { display: flex; align-items: center; gap: 13px; }
.section-heading h2::before { flex: 0 0 8px; width: 8px; height: 8px; transform: rotate(45deg); background: var(--gold); box-shadow: 0 0 9px rgba(225,175,100,.55); content: ""; }
.section-heading h2::after { flex: 1 1 55px; min-width: 35px; max-width: 260px; height: 1px; background: linear-gradient(90deg,rgba(215,164,90,.5),transparent); content: ""; }
.portal-card { border-radius: 5px; }
@media(max-width:780px) { .site-info-inner { min-height: 31px; padding-inline: 12px; gap: 10px; } html { scroll-padding-top: 105px; } .article-section,.dungeon-catalog,.skill-browser,.mark-explorer,.wardrobe-browser,.enchant-browser,.view-explorer { scroll-margin-top: 105px; } }
.noscript-message { max-width: 560px; margin: 15vh auto; padding: 28px; border: 1px solid var(--line-strong); background: var(--panel); color: var(--ink); }

/* Keep the small navigation and game-detail labels readable on real screens. */
.site-info-inner, .article-jump a, .skill-class, .skill-modes button,
.skill-specs button, .view-tabs button, .wardrobe-item strong,
.enchant-item strong, .dungeon-entry summary small { font-size: 12px; }
.article-lead { font-size: 14px; }
.article-section-content > p, .skill-description, .skill-detail > p,
.mark-panel-copy p, .view-copy p, .enchant-detail p, .service-panel p,
.dungeon-detail p, .event-detail p { font-size: 13px; }
.skill-item span { font-size: 11px; }
.skill-item small, .wardrobe-item small { font-size: 10px; }
.article-body { padding-bottom: 40px; }
@media (max-width: 480px) {
  .skill-browser-heading { flex-wrap: wrap; align-items: flex-start; gap: 8px; }
  .skill-browser-heading > div { flex: 1 1 100%; min-width: 0; }
}
.noscript-message h1 { color: var(--gold-bright); font-family: var(--serif); }
.noscript-message a { color: var(--gold-bright); text-decoration: underline; }
.frontier-showcase { padding: 3.5rem 0 1rem; }
.frontier-grid, .boss-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.frontier-card, .boss-card { display: block; overflow: hidden; border: 1px solid rgba(195, 144, 73, .36); background: #191310; color: #eee1ca; text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.frontier-card:hover, .frontier-card:focus-visible, .boss-card:hover, .boss-card:focus-visible { transform: translateY(-4px); border-color: #e8b36a; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.frontier-image { display: block; aspect-ratio: 250 / 122; background-size: cover; background-position: center; background-repeat: no-repeat; }
.frontier-image-pending { display: grid; place-items: center; color: #bca17d; background: radial-gradient(ellipse at 50% 20%, #443021, #1b1512 70%); font-size: .85rem; letter-spacing: .08em; }
.dungeon-art { width: 100px; aspect-ratio: 2 / 1; display: block; flex: none; background-size: cover; background-position: center; border: 1px solid rgba(195, 144, 73, .25); }
.dungeon-entry summary { grid-template-columns: 100px minmax(0, 1fr) 24px; }
.dungeon-art-pending { display: grid; place-items: center; color: #a9824e; background: #251b16; }
.dungeon-detail-art { aspect-ratio: 2 / 1; background-size: cover; background-position: center; }
.frontier-image.is-map, .dungeon-detail-art.is-map { background-color: #17120e; background-size: contain; background-repeat: no-repeat; }
.frontier-image:not(.frontier-image-pending), .dungeon-detail-art { position: relative; }
.frontier-image:not(.frontier-image-pending)::after, .dungeon-detail-art::after { content: ""; position: absolute; right: 10px; bottom: 8px; width: min(28%, 120px); aspect-ratio: 2.3 / 1; background: url("assets/brand/azeroth-unbound-logo.png") center / contain no-repeat; filter: drop-shadow(0 2px 4px #000); pointer-events: none; }
.frontier-copy { display: flex; flex-direction: column; gap: .45rem; padding: 1.1rem 1.25rem 1.3rem; }
.frontier-copy small, .boss-card small { color: #c59b65; font-size: .72rem; letter-spacing: .08em; }
.frontier-copy strong, .boss-card strong { color: #f4e5ca; font-size: 1.2rem; }
.frontier-copy > span, .boss-card > span > span { color: #cba16f; font-size: .85rem; }
.boss-card { display: flex; align-items: center; gap: 1.15rem; min-height: 8rem; padding: 1.35rem; }
.boss-card > span:last-child { display: flex; flex-direction: column; gap: .45rem; }
.boss-number { color: #8d6840; font-size: 2.35rem; font-family: Georgia, serif; line-height: 1; }
@media (max-width: 800px) { .frontier-grid, .boss-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .frontier-grid, .boss-grid { grid-template-columns: 1fr; } .frontier-showcase { padding-top: 2rem; } .dungeon-art { width: 72px; } .dungeon-entry summary { grid-template-columns: 72px minmax(0, 1fr) 24px; } }

/* Larger identity, grouped destinations and a clearer editorial hierarchy. */
.site-header, .site-header.is-scrolled { position: sticky; top: 0; z-index: 50; }
.nav-shell { min-height: 86px; gap: 20px; padding-inline: clamp(20px, 3vw, 55px); background: linear-gradient(180deg, rgba(45,30,29,.98), rgba(22,15,14,.98)); }
.brand { height: 84px; gap: 13px; }
.brand img { width: 175px; max-height: 76px; }
.brand span { font-size: 17px; line-height: 1.35; }
.brand small { font-size: 10px; }
.nav-topics { overflow: visible; justify-content: flex-start; gap: 2px; }
.nav-topics .nav-link { min-height: 52px; padding: 0 16px; color: #e0d2bd; font-size: 15px; font-weight: 700; }
.nav-topics .nav-link.is-active { border-radius: 3px; }
.nav-dropdown { position: relative; flex: 0 0 auto; }
.nav-group-trigger { list-style: none; cursor: pointer; }
.nav-group-trigger::-webkit-details-marker { display: none; }
.nav-group-trigger span { margin-left: 2px; color: var(--gold); font-size: 14px; transition: transform .2s; }
.nav-dropdown[open] .nav-group-trigger span { transform: rotate(180deg); }
.nav-dropdown-panel { position: absolute; top: calc(100% - 1px); left: 0; width: 230px; padding: 8px; border: 1px solid rgba(210,160,91,.55); background: #201714; box-shadow: 0 16px 34px rgba(0,0,0,.55); }
.nav-dropdown-link { display: block; padding: 11px 13px; color: #ddceb9; font-size: 15px; }
.nav-dropdown-link:hover, .nav-dropdown-link.is-active { color: #ffe1a1; background: rgba(215,164,90,.12); }
.nav-search { flex-basis: 42px; width: 42px; height: 42px; }
.nav-download { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 19px; border: 1px solid #e68c42; border-radius: 3px; background: linear-gradient(#ce5522,#9d3514); color: #fff6e9; font-size: 15px; font-weight: 750; transition: filter .2s; }
.nav-download:hover { filter: brightness(1.2); }
.home-hero { min-height: min(720px, calc(100svh - 86px)); padding: 70px 0; }
.home-hero::before { background-position: center 50%; }
.home-hero::after { background: linear-gradient(90deg,rgba(10,8,8,.12) 0%,rgba(12,9,8,.31) 38%,rgba(12,9,8,.9) 75%,rgba(12,9,8,.97) 100%),linear-gradient(0deg,rgba(12,9,9,.75),transparent 45%); }
.home-hero-inner { grid-template-columns: 1fr minmax(420px, 560px); gap: 45px; }
.home-copy { grid-column: 2; max-width: 560px; text-align: center; }
.hero-crest { width: min(285px, 65%); max-height: 135px; margin: 0 auto 24px; object-fit: contain; filter: drop-shadow(0 7px 12px #000); }
.home-copy .eyebrow { justify-content: center; font-size: 12px; }
.home-copy h1 { max-width: none; font-size: clamp(43px, 4.5vw, 68px); font-weight: 700; line-height: 1.2; letter-spacing: .04em; }
.home-copy h1 span { display: inline; }
.home-lead { margin-top: 19px; font-size: clamp(18px, 1.5vw, 23px); }
.home-desc { margin: 12px auto 0; font-size: 16px; line-height: 1.8; }
.home-actions { justify-content: center; margin-top: 26px; }
.home-actions .button-primary { min-height: 54px; padding: 12px 23px; font-size: 16px; }
.home-actions .button-quiet { min-height: 54px; padding: 10px 17px; border: 1px solid rgba(222,177,108,.65); font-size: 15px; }
.home-facts { justify-content: center; font-size: 13px; }
.spotlight-section { padding-top: 72px; padding-bottom: 78px; }
.spotlight-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-auto-rows: 220px; gap: 16px; }
.spotlight-card { position: relative; display: block; overflow: hidden; border: 1px solid rgba(210,160,91,.35); background: #211713; }
.spotlight-0 { grid-column: span 2; grid-row: span 2; }
.spotlight-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.spotlight-card:hover img, .spotlight-card:focus-visible img { transform: scale(1.04); }
.spotlight-card::after { position: absolute; inset: 25% 0 0; content: ""; background: linear-gradient(transparent,rgba(12,8,7,.97)); }
.spotlight-copy { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; padding: 22px; }
.spotlight-copy span { color: #efc477; font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.spotlight-copy h3 { margin: 5px 0; color: #fff0d9; font-size: clamp(20px, 1.5vw, 25px); line-height: 1.3; }
.spotlight-copy p { margin: 0; color: #dfd0b8; font-size: 14px; line-height: 1.5; }
.spotlight-0 .spotlight-copy { padding: 32px; }
.spotlight-0 .spotlight-copy h3 { font-size: clamp(27px, 2.4vw, 38px); }
.section-heading p, .portal-card p { font-size: 15px; }
.portal-card h3 { font-size: 21px; }
.article-copy h1 { font-size: clamp(38px, 4vw, 56px); }
.article-lead { font-size: 17px; line-height: 1.8; }
.article-section-content > p, .skill-description, .skill-detail > p, .mark-panel-copy p, .view-copy p, .enchant-detail p, .service-panel p, .dungeon-detail p, .event-detail p { font-size: 15px; }
html { scroll-padding-top: 100px; }
.article-section,.dungeon-catalog,.skill-browser,.mark-explorer,.wardrobe-browser,.enchant-browser,.view-explorer { scroll-margin-top: 100px; }
@keyframes home-emerge { from { opacity: 0; filter: blur(8px) brightness(.4); transform: scale(1.018); } to { opacity: 1; filter: blur(0) brightness(1); transform: scale(1); } }
@keyframes home-copy-arrive { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.home-entering .home-main { animation: home-emerge 1.15s cubic-bezier(.2,.65,.25,1) both; }
.home-entering .home-copy { animation: home-copy-arrive .8s .38s ease-out both; }
.home-entering .site-header { animation: home-copy-arrive .7s .22s ease-out both; }
@media (max-width: 1100px) {
  .nav-shell { min-height: 76px; }
  .brand { height: 74px; }
  .brand img { width: 150px; }
  .brand span { display: inline; }
  .nav-topics { display: none; }
  .nav-search { margin-left: auto; }
  .menu-toggle { display: grid; }
  .mobile-menu { position: absolute; top: 100%; right: 0; left: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; width: min(100%, 700px); max-height: calc(100vh - 76px); overflow-y: auto; margin: 0 0 0 auto; padding: 18px; border-radius: 0 0 7px 7px; }
  .mobile-menu[hidden] { display: none; }
  .mobile-nav-group { min-width: 0; }
  .mobile-nav-group strong { display: block; padding: 7px 11px; color: var(--gold-bright); font-size: 14px; }
  .mobile-nav-group > div { display: grid; }
  .mobile-menu a { display: block; min-height: 42px; padding: 9px 11px; font-size: 15px; }
}
@media (max-width: 780px) {
  .nav-shell { min-height: 70px; padding-inline: 14px; }
  .brand { height: 68px; }
  .brand img { width: 138px; }
  .brand span { display: none; }
  .nav-download { min-height: 42px; padding-inline: 12px; font-size: 14px; }
  .mobile-menu { max-height: calc(100vh - 70px); }
  .home-hero { min-height: 570px; padding: 68px 0; }
  .home-hero::after { background: linear-gradient(90deg,rgba(10,8,8,.56),rgba(10,8,8,.7)),linear-gradient(0deg,rgba(10,8,8,.96),transparent 65%); }
  .home-hero-inner { grid-template-columns: 1fr; }
  .home-copy { grid-column: 1; margin-inline: auto; }
  .home-copy h1 { font-size: clamp(37px, 8vw, 58px); }
  .home-desc { font-size: 15px; }
  .spotlight-grid { grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: 205px; gap: 10px; }
  .spotlight-0 { grid-column: span 2; grid-row: span 1; }
  .spotlight-copy, .spotlight-0 .spotlight-copy { padding: 17px; }
  .spotlight-0 .spotlight-copy h3 { font-size: 24px; }
  .spotlight-copy h3 { font-size: 19px; }
  .spotlight-copy p { font-size: 13px; }
  .article-copy h1 { font-size: clamp(34px,8vw,48px); }
  .article-lead { font-size: 16px; }
}
@media (max-width: 460px) {
  .nav-shell { gap: 8px; }
  .brand img { width: 112px; }
  .nav-download { font-size: 13px; padding-inline: 9px; }
  .nav-search { flex-basis: 38px; width: 38px; height: 38px; }
  .spotlight-grid { grid-template-columns: 1fr; grid-auto-rows: 215px; }
  .spotlight-0 { grid-column: span 1; }
}
@media (prefers-reduced-motion: reduce) { .home-entering .home-main, .home-entering .home-copy, .home-entering .site-header { animation: none; } }

/* Preserve the logo and frame on the original square in-game loading art. */
.frontier-image.is-branded { background-size: contain; background-color: #100b09; }
.frontier-image.is-branded::after, .dungeon-detail-art.is-branded::after { display: none; }
.dungeon-art { background-size: contain; background-repeat: no-repeat; background-color: #100b09; }
.dungeon-detail-art.is-branded { width: min(100%, 540px); aspect-ratio: 1; background-size: contain; background-repeat: no-repeat; background-color: #100b09; }
.dungeon-detail-art.is-journal { width: min(100%, 540px); aspect-ratio: 1.16; background-size: contain; background-repeat: no-repeat; background-color: #100b09; }
.portal-card-image img[src*="/branded/"] { object-fit: contain; background: #100b09; }
.spotlight-card img[src*="/branded/"] { object-position: center top; }
