body {
    background: linear-gradient(#eee9deed,#f1ebdfeb),url(mountain-pass.webp) center top/100% auto repeat-y #eeeade;
}
.highlights { background: #122426; border-bottom: 2px solid #bba075; }
.highlight-track { scrollbar-width: thin; scrollbar-color: #ab8d57 #162626; }
.highlight-track .realm-copy { padding-bottom: clamp(3rem,6vw,6rem); }
.feature-picker:not([hidden]) {
    display: grid; grid-template-columns: repeat(5,minmax(0,1fr));
    width: min(78rem,92%); margin: auto; gap: 1px;
    background: #877653; border-inline: 1px solid #877653;
}
.feature-picker button {
    position: relative; isolation: isolate; min-width: 0; min-height: 3.95rem; padding: .5rem .75rem;
    color: #eee5cc; border: 0; border-top: 3px solid transparent;
    background: #152729; font-weight: 600; line-height: 1.3;
}
.feature-picker img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.feature-picker button::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #102126d9; }
.feature-picker button:is(:hover,[aria-pressed=true]) { color: #fff5d9; border-top-color: #ffdc9a; }
.feature-picker button:is(:hover,[aria-pressed=true])::before { background: #1021269c; }
.feature-picker button:focus-visible { outline-offset: -4px; }
.highlight-controls { bottom: 5.25rem; left: auto; right: max(4%,calc((100% - 78rem)/2)); transform: none; }
.realm-bar { margin: 1.5rem 0 2rem; background: linear-gradient(95deg,#102926ed,#213e38df),url(hub/moon-gate.webp) center 55%/cover; }
.section-heading { font-weight: 500; letter-spacing: -.035em; }
.section-heading::before { background: #a3653c; }
.news-hub { align-items: start; }
#news,.world,.gallery,.reading {
    --scene: url(treasure.webp);
    background: linear-gradient(105deg,#fcf7ecf7 17%,#f9f2e3d6 69%,#f4e4caa6),var(--scene) center/cover;
    padding: clamp(1rem,2.55vw,2.4rem); border: 1px solid #baaa8d; border-top: 3px solid #917243;
    box-shadow: 0 .6rem 1.8rem #412c120e;
}
.dispatch { border-color: #bdac8b; }
.dispatch-copy { background: linear-gradient(90deg,#fffaf0ed,#fffaf0e0),url(treasure.webp) right center/cover; }
.dispatch-art { overflow: hidden; }
.world { --scene: url(mountain-pass.webp); }
.roster { background: linear-gradient(#fffdf4ef,#fffdf4e8),url(moon.webp) center/cover; }
.roster h3 { background: linear-gradient(90deg,#1b302ef7,#213831ba),url(hub/moon-gate.webp) center/cover; color: #fff3d9; }
.roster h3 i { color: #edce92; }
.roster tbody tr:focus-within,.roster tbody tr:hover { background-color: #eadcbf99; }
.rank-stack section { background: linear-gradient(100deg,#fffaf0f2,#f5ebd8de),url(wind-cloud.webp) 75% center/cover; }
.gallery { --scene: url(hub/moon-gate.webp); }
.gallery-grid { gap: .65rem; }
.gallery-grid figure { border: 1px solid #918163; }
.gallery-grid a:hover figcaption,.gallery-grid a:focus-visible figcaption { text-decoration: underline; }
footer { background: linear-gradient(90deg,#10201fed,#0d1e20db),url(moon.webp) center 68%/cover; }
.download-banner,.story-banner { border-bottom: 3px solid #b1915b; }
.reading { --scene: url(mountain-pass.webp); }
.story-body .reading { --scene: url(treasure.webp); }
.installer,.loot>div { background: linear-gradient(120deg,#142c2df2,#17332bd9),url(hub/moon-gate.webp) center/cover; }
.installer { box-shadow: inset 0 3px #caa675; }
.quest-list { margin: .8rem 0; padding: 0; list-style: none; border-block-start: 1px solid #cbbca1; }
.quest-list li { padding: .9rem .15rem; border-block-end: 1px solid #cbbca1; }
.quest-list label { display: flex; align-items: baseline; gap: .85rem; cursor: pointer; }
.quest-list input { flex: none; width: 1.15rem; height: 1.15rem; accent-color: #326453; }
.quest-list input:checked + span { color: #395c49; }
.quest-list a { margin-inline-start: 2.15rem; }
.quest-progress:not([hidden]) { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.3rem; }
.quest-progress progress { flex: 1; min-width: 0; height: .55rem; accent-color: #326453; }
.quest-progress output { color: #58472d; font-variant-numeric: tabular-nums; }
.repair { background: linear-gradient(90deg,#efe5d2f5,#eee2ced9),url(moon.webp) center/cover; }
.crest-nav { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 1px; margin-bottom: 1.8rem; padding: 1px; background: #897751; }
.crest-nav a {
    display: flex; gap: .65rem; align-items: center; padding: .8rem; color: #fff5db;
    font-size: .94rem; line-height: 1.35;
    background: linear-gradient(#10262be8,#1b302beb),url(mountain-pass.webp) center/cover;
}
.crest-nav img { width: 2.1rem; height: 2.1rem; }
.crest-nav a:is(:hover,[aria-current]) { box-shadow: inset 0 -3px #e9bf76; color: #ffdf9e; }
.clan-profile .clan-officers { background: linear-gradient(110deg,#fffaf2fa,#fffaf1d9),url(mountain-pass.webp) center/cover; }
@media (min-width: 64rem) {
    .gallery-grid { grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: repeat(2,9rem); }
    .gallery-grid a:first-child { grid-row: span 2; }
    .gallery-grid a:last-child { grid-column: span 2; }
    .gallery-grid figure,.gallery-grid img { height: 100%; }
}
@media (max-width: 53rem) {
    .crest-nav { grid-template-columns: repeat(auto-fit,minmax(min(100%,9rem),1fr)); }
    .feature-picker:not([hidden]) { width: 100%; }
}
@media (max-width: 43rem) {
    .feature-picker button { min-height: 3.2rem; padding: .35rem .1rem; font-size: .8rem; overflow-wrap: anywhere; }
    .highlight-track .realm-copy { padding-bottom: 4.5rem; }
    .highlight-controls { bottom: 4rem; right: 1rem; }
    .realm-bar { margin-top: 1rem; }
    .world-layout { gap: 1rem; }
    .crest-nav a { min-height: 3.5rem; }
}
@media (prefers-reduced-motion: no-preference) {
    .gallery-grid img,.dispatch-art img { transition: transform .28s ease-out; }
    .gallery-grid a:hover img,.gallery-grid a:focus-visible img,.dispatch-art:hover img { transform: scale(1.035); }
}

.landscape-title {
    --bleed: 56px;
    position: relative; isolation: isolate; overflow: hidden;
    min-height: clamp(6.25rem,11vw,10.5rem);
    display: flex; align-items: flex-end; justify-content: space-between;
    margin: calc(-1 * clamp(1rem,2.55vw,2.4rem));
    margin-bottom: clamp(1rem,2vw,1.7rem); padding: clamp(1rem,2.55vw,2.4rem);
    background: #162b2c; color: #fff6de; border-bottom: 2px solid #b89862;
}
.landscape-title::before,.landscape-title::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.landscape-title::before {
    inset-block: calc(-1 * var(--bleed));
    background: var(--scene) center 48%/cover;
}
.landscape-title::after { background: linear-gradient(95deg,#101c20da,#15232a78 53%,#1824241a),linear-gradient(0deg,#101b1b61,transparent); }
.landscape-title .section-heading { margin: 0; color: inherit; text-shadow: 0 2px 8px #101c20; }
.landscape-title .section-heading::before { background: #e7bf7d; }
.landscape-title>small { color: #fff2d4; padding: .15rem .5rem; background: #172323b5; margin: 0; }
.rank-stack section:nth-child(2) { background-image: linear-gradient(100deg,#fffaf0f2,#f5ebd8de),url(mountain-pass.webp); }
.rank-stack section:nth-child(3) { background-image: linear-gradient(100deg,#fffaf0f2,#f5ebd8de),url(hub/moon-gate.webp); }
@media (prefers-reduced-motion: no-preference) {
    [data-parallax=hero] .realm-hero { --bleed: 80px; }
    [data-parallax=hero] .realm-art {
        top: calc(-1 * var(--bleed)); height: calc(100% + 2 * var(--bleed));
        transform: translate3d(0,var(--travel,0px),0);
    }
    .landscape-title::before { transform: translate3d(0,var(--travel,0px),0); }
}
@media (max-width: 43rem) {
    .landscape-title { --bleed: 24px; }
    [data-parallax=hero] .realm-hero { --bleed: 30px; }
}
@media (max-width: 43rem) and (prefers-reduced-motion: no-preference) {
    [data-parallax=hero] .realm-art { height: calc(73% + 2 * var(--bleed)); }
}

.shots-banner {
    background: linear-gradient(90deg,#101e21f2,#132329a8 52%,#15232728),url(gallery/jin-wu-bridge.webp) center 45%/cover;
    border-bottom: 3px solid #a88451;
}
.shot-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.shot-filters a,.archive-link { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .45rem 1rem; font-weight: 600; }
.shot-filters a { background: #fffcf3; border: 1px solid #b1a185; }
.shot-filters a:is(:hover,[aria-current]) { background: #233b37; color: #fff0cf; border-color: #56674d; }
.landscape-title .archive-link { color: #fff1ce; background: #162725d9; border: 1px solid #bb9e6f; }
.archive-link:hover { text-decoration: underline; }
.shot-section { padding: clamp(1rem,2vw,2rem); margin-bottom: 2rem; border: 1px solid #c1ae8f; background: linear-gradient(100deg,#fbf5e9f7,#f1e5d1dc),url(mountain-pass.webp) center/cover; }
.shot-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,15rem),1fr)); gap: 1rem; }
.shot-grid a { min-width: 0; display: block; border: 1px solid #8c795a; background: #142625; }
.shot-grid figure { margin: 0; }
.shot-grid img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.shot-grid figcaption { padding: .6rem .85rem; color: #fff2d6; font-family: var(--serif); font-size: 1.12rem; }
.shot-grid a:is(:hover,:focus-visible) { border-color: #a4602c; box-shadow: 0 3px 12px #24190b33; }
.shot-grid a:is(:hover,:focus-visible) figcaption { text-decoration: underline; text-underline-offset: .2em; }
@media(max-width:43rem) { .landscape-title:has(.archive-link) { align-items: start; flex-wrap: wrap; } }
.upcoming-platforms { margin: .85rem 0 0; padding: 0; list-style: none; border: 1px solid #afa189; background: linear-gradient(110deg,#fff9ecf2,#f6efdedb),url(mountain-pass.webp) center/cover; }
.upcoming-platforms li { display: grid; grid-template-columns: auto 1fr auto; gap: .65rem; align-items: center; padding: .75rem .9rem; }
.upcoming-platforms li+li { border-top: 1px solid #c6bba5; }
.upcoming-platforms i { color: #52675b; font-size: 1.4rem; }
.upcoming-platforms small { font-size: .85rem; color: #645a49; }

.home-archives { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(16rem,1fr); gap: clamp(1rem,2vw,2rem); align-items: start; margin-top: clamp(2.5rem,4vw,4rem); }
.home-archives .gallery { margin-top: 0; }
.fix-column { --scene: url(wind-cloud.webp); padding: clamp(1rem,2.55vw,2.4rem); border: 1px solid #baaa8d; border-top: 3px solid #917243; background: linear-gradient(110deg,#fcf6eafa,#faf1dfe8),url(mountain-pass.webp) center/cover; }
.fix-list { margin: 0 0 1rem; padding: 0; list-style: none; }
.fix-list li { display: grid; gap: .15rem; padding: .65rem 0; border-bottom: 1px solid #c7b99f; }
.fix-list small { color: #744a2d; font-weight: 650; }
.fix-banner { background: linear-gradient(90deg,#102827ef,#1528249a 55%,#142b2420),url(wind-cloud.webp) center 42%/cover; }
@media(max-width:53rem) { .home-archives { grid-template-columns: 1fr; } }
