/* Wiki landing page: the homepage's Expedition type, spacing, and navy / yellow tokens. */
.dzw {
    --dzw-display: 'Oswald', 'Roboto', system-ui, sans-serif;
    --dzw-mono: 'Roboto Mono', ui-monospace, monospace;
    color: var(--dz-text); background: var(--dz-bg);
    font: 15px/1.5 Roboto, system-ui, sans-serif;
}
.dzw *, .dzw *::before, .dzw *::after { box-sizing: border-box; }
.dzw a { color: inherit; text-decoration: none; }
.dzw a:focus-visible, .dzw button:focus-visible { outline: 2px solid var(--dz-accent); outline-offset: 4px; }
.dzw-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.dzw-eyebrow { color: var(--dz-accent); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.dzw h1, .dzw h2, .dzw h3 { margin: 0; font-family: var(--dzw-display); text-transform: uppercase; color: #fff; }
.dzw p { margin: 0; color: var(--dz-text-2); }
.dzw-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body:has(.dzw) main > div.fixed.pointer-events-none { display: none; }

/* Same treatment as the homepage: navigation sits over a full-width in-game landscape. */
body:has(.dzw-hero) #navbar:not(.scrolled), body #navbar.dzw-over-hero {
    background: linear-gradient(180deg, rgba(0, 0, 39, .92), rgba(0, 0, 39, .15)) border-box;
    background-repeat: no-repeat; border-bottom-color: transparent; box-shadow: none;
    backdrop-filter: none; -webkit-backdrop-filter: none;
}
.dzw-hero {
    margin-top: calc(-4rem - 1px); min-height: 500px; background-color: var(--dz-bg);
    background-image:
        linear-gradient(90deg, rgba(0, 0, 39, .96), rgba(0, 0, 39, .7) 43%, rgba(0, 0, 39, .16) 80%),
        linear-gradient(0deg, #000027 4px, rgba(0, 0, 39, 0) 55%), var(--dzw-hero-image);
    background-size: cover; background-position: center 57%; background-repeat: no-repeat;
    box-shadow: inset 0 -3px 0 #000027;            /* the picture's last device-pixel row (wiki-theme.css .dzw-band) */
}
.dzw-hero__inner { padding-top: 126px; padding-bottom: 54px; }
.dzw-hero h1 { margin: 16px 0 22px; font-size: 76px; font-weight: 700; line-height: .98; letter-spacing: .005em; }
.dzw-hero h1 span { color: var(--dz-accent); font-family: inherit; }
.dzw-hero p { max-width: 550px; font-size: 17px; }
.dzw-search {
    display: flex; align-items: center; gap: 14px; width: 100%; max-width: 660px;
    margin: 26px 0 16px; padding: 6px 6px 6px 20px;
    background: var(--dz-surface); border: 1px solid var(--dz-line-strong); border-radius: 12px;
    box-shadow: var(--dz-shadow-2);
}
.dzw-search:focus-within { border-color: var(--dz-accent); }
.dzw-search > i { color: var(--dz-muted); font-size: 16px; }
.dzw-search input {
    min-width: 0; width: 100%; flex: 1; padding: 10px 0; border: 0; outline: 0; background: transparent;
    color: var(--dz-text); font: 400 15px/1.5 Roboto, system-ui, sans-serif;
}
.dzw-search input::placeholder { color: var(--dz-muted); opacity: 1; }
.dzw-search button {
    display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 46px;
    flex: 0 0 auto; padding: 0 21px; border: 1px solid var(--dz-accent); border-radius: 8px;
    background: var(--dz-accent); color: var(--dz-accent-ink); cursor: pointer;
    font: 700 14px/1 Roboto, system-ui, sans-serif;
}
.dzw-search button:hover { background: var(--dz-accent-press); border-color: var(--dz-accent-press); }
.dzw-shortcuts { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12px; }
.dzw-shortcuts > span { margin-right: 4px; color: var(--dz-muted); }
.dzw-shortcuts a {
    display: inline-flex; align-items: center; min-height: 30px; padding: 4px 10px;
    background: rgba(10, 14, 28, .65); border: 1px solid var(--dz-line-strong); border-radius: 6px;
    color: var(--dz-text-2); transition: color .16s ease, border-color .16s ease;
}
.dzw-shortcuts a:hover { color: var(--dz-accent); border-color: var(--dz-accent-glass-line); }

.dzw-main { display: flex; flex-direction: column; gap: 72px; padding-top: 24px; padding-bottom: 80px; }
.dzw-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 14px 28px; margin-bottom: 24px; }
.dzw-head h2 { margin-top: 6px; font-size: 40px; font-weight: 600; line-height: 1.12; }
.dzw-head > p { color: var(--dz-muted); font-size: 14px; }
.dzw .dzw-link { display: inline-flex; align-items: center; gap: 12px; color: var(--dz-accent); font-size: 13px; font-weight: 700; }

/* Actual tool captures; the shared hover loader keeps animations off first load. */
.dzw-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.dzw-tool {
    min-width: 0; overflow: hidden; display: flex; flex-direction: column;
    border: 1px solid var(--dz-line); border-radius: 14px; background: var(--dz-surface);
    transition: border-color .18s ease, box-shadow .18s ease;
}
.dzw-tool:hover { border-color: var(--dz-accent-glass-line); box-shadow: var(--dz-shadow-2); }
.dzw-tool .tool-gif-wrapper { border-bottom: 1px solid var(--dz-line); background: var(--dz-field); }
.dzw-tool__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.dzw-tool__heading { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; }
.dzw-tool h3 { font-size: 29px; line-height: 1.15; font-weight: 600; }
.dzw-tool__heading > span { color: var(--dz-accent); font-size: 24px; }
.dzw-tool__body p { max-width: 470px; font-size: 14px; }
.dzw-tool .dzw-link { margin-top: auto; padding-top: 8px; }
.dzw-tool__placeholder { display: grid; place-content: center; aspect-ratio: 1400 / 787; padding: 24px; background: var(--dz-raised); font-family: var(--dzw-display); font-size: 32px; color: var(--dz-muted); }
.dzw-tool--soon { opacity: .65; }

.dzw-equipment { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dzw-entry {
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; flex-direction: column; padding: 22px; min-width: 0; min-height: 290px;
    border: 1px solid var(--dz-line); border-radius: 12px; background: var(--dz-surface);
    transition: border-color .18s ease, background-color .18s ease;
}
.dzw-entry:hover { border-color: var(--dz-accent-glass-line); background-color: var(--dz-field); }
.dzw-entry > .dzw-entry__image {
    position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
    object-fit: cover; object-position: center 38%; opacity: .72; pointer-events: none;
}
.dzw-entry::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(180deg, rgba(10, 14, 28, .12), rgba(10, 14, 28, .50) 30%, rgba(10, 14, 28, .91) 56%, #0a0e1c 88%);
}
.dzw-entry__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 70px; }
.dzw-number { font: 400 12px/1 var(--dzw-mono); color: var(--dz-muted); }
.dzw-entry__arrow { color: var(--dz-accent); font-size: 20px; line-height: 1; }
.dzw-entry h3 { font-size: 27px; font-weight: 600; line-height: 1.1; margin-bottom: 12px; }
.dzw-entry p { font-size: 14px; }
.dzw-entry .dzw-link { margin-top: auto; padding-top: 24px; font-size: 12px; gap: 8px; }

.dzw-reference { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; }
.dzw-guide {
    display: flex; align-items: flex-end; position: relative; min-height: 340px; overflow: hidden;
    border: 1px solid var(--dz-line); border-radius: 14px; background: var(--dz-surface);
    transition: border-color .18s ease;
}
.dzw-guide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
.dzw-guide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 14, 28, .98), rgba(10, 14, 28, .75) 48%, rgba(10, 14, 28, .1)); }
.dzw-guide:hover { border-color: var(--dz-accent-glass-line); }
.dzw-guide__body { position: relative; z-index: 1; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.dzw-guide h3 { font-size: 36px; font-weight: 600; line-height: 1.1; }
.dzw-guide p { max-width: 400px; font-size: 15px; }
.dzw-guide .dzw-link { margin-top: 4px; }
.dzw-reference__list { display: flex; flex-direction: column; gap: 12px; }
.dzw-reference__row {
    position: relative; isolation: isolate; overflow: hidden; min-width: 0; min-height: 112px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex: 1;
    padding: 20px 22px; border: 1px solid var(--dz-line); border-radius: 12px; background: var(--dz-surface);
    transition: border-color .18s ease, background-color .18s ease;
}
.dzw-reference__row > .dzw-reference__image {
    position: absolute; inset: 0 0 0 auto; z-index: -2; width: 66%; height: 100%;
    object-fit: cover; object-position: right center; opacity: .78; pointer-events: none;
}
.dzw-reference__row::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(90deg, #0a0e1c 5%, rgba(10, 14, 28, .95) 32%, rgba(10, 14, 28, .72) 58%, rgba(10, 14, 28, .25));
}
.dzw-reference__row:hover { border-color: var(--dz-accent-glass-line); background-color: var(--dz-field); }
.dzw-reference__body { max-width: 78%; min-width: 0; }
.dzw-reference__row h3 { margin-bottom: 6px; font-size: 27px; font-weight: 600; line-height: 1.1; }
.dzw-reference__row p { font-size: 14px; }
.dzw-reference__row > span { color: var(--dz-accent); font-size: 24px; }

.dzw-maps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.dzw-map { display: flex; min-width: 0; overflow: hidden; background: var(--dz-surface); border: 1px solid var(--dz-line); border-radius: 12px; }
.dzw-map > img { width: 120px; flex: 0 0 120px; object-fit: cover; align-self: stretch; height: auto; border-right: 1px solid var(--dz-line); }
.dzw-map__body { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 24px; min-width: 0; }
.dzw-map h3 { font-size: 29px; font-weight: 600; line-height: 1.1; }
.dzw-map__links { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.dzw-map__links a { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; color: var(--dz-accent); font-size: 13px; font-weight: 500; }
.dzw-map__links a:hover { color: var(--dz-accent-hover); text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1050px) {
    .dzw-equipment { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dzw-map > img { width: 96px; flex-basis: 96px; }
    .dzw-map__body { padding: 20px; }
}
@media (max-width: 767px) {
    .dzw-wrap { padding-left: 16px; padding-right: 16px; }
    .dzw-hero { min-height: 0; background-position: 65% center; }
    .dzw-hero__inner { padding-top: 108px; padding-bottom: 34px; }
    .dzw-hero h1 { margin: 14px 0 18px; font-size: clamp(38px, 10vw, 54px); line-height: 1; }
    .dzw-hero p { max-width: 420px; font-size: 15px; }
    .dzw-search { margin-top: 22px; padding-left: 12px; gap: 8px; }
    .dzw-search > i { display: none; }
    .dzw-search input { font-size: 16px; padding: 8px 0; }
    .dzw-search input::placeholder { font-size: 13px; }
    .dzw-search button { gap: 8px; padding: 0 13px; font-size: 13px; }
    .dzw-search button > span { display: none; }
    .dzw-shortcuts { gap: 6px; }
    .dzw-shortcuts a { min-height: 36px; padding: 4px 8px; }
    .dzw-main { gap: 48px; padding-top: 24px; padding-bottom: 56px; }
    .dzw-head { margin-bottom: 20px; gap: 10px; }
    .dzw-head h2 { font-size: 30px; }
    .dzw-head > p { font-size: 13px; }
    .dzw-tools, .dzw-reference, .dzw-maps { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .dzw-tool__body { padding: 18px 20px 20px; gap: 8px; }
    .dzw-tool h3 { font-size: 25px; }
    .dzw-tool__body p { font-size: 13px; }
    .dzw-tool .dzw-link { padding-top: 6px; }
    .dzw-equipment { gap: 10px; }
    .dzw-entry { padding: 16px 14px; min-height: 280px; }
    .dzw-entry__top { margin-bottom: 64px; }
    .dzw-entry h3 { font-size: clamp(19px, 5vw, 24px); margin-bottom: 10px; }
    .dzw-entry p { font-size: 13px; }
    .dzw-entry .dzw-link { font-size: 11px; gap: 4px; padding-top: 18px; }
    .dzw-guide { min-height: 310px; }
    .dzw-guide__body { padding: 24px; }
    .dzw-guide h3 { font-size: 30px; }
    .dzw-guide p { font-size: 14px; }
    .dzw-reference__row { padding: 20px; min-height: 118px; gap: 14px; }
    .dzw-reference__row h3 { font-size: 25px; }
    .dzw-reference__row p { font-size: 13px; }
    .dzw-map > img { width: 96px; flex-basis: 96px; }
    .dzw-map__body { padding: 20px; gap: 10px; }
    .dzw-map__links { gap: 8px 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .dzw a { transition: none; }
    .dzw .tool-gif-container:hover .tool-gif-wrapper.is-ready .tool-gif-static { display: block; }
    .dzw .tool-gif-container:hover .tool-gif-wrapper.is-ready .tool-gif-animated { display: none; }
}
