/*
 * Matches the DungeonRealms website: Karla, warm near-black panels, #3a2f2a borders and gold headings.
 * Karla (latin 400 and 700, from @fontsource/karla 4.5.11) is by Jonathan Pinhorn and is licensed under the
 * SIL Open Font License 1.1: https://openfontlicense.org
 */
@font-face {
    font-family: "Karla";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("assets/karla-400.woff2") format("woff2");
}
@font-face {
    font-family: "Karla";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("assets/karla-700.woff2") format("woff2");
}
:root {
    color-scheme: dark;
    --ink: #e8e2dc;
    --heading: #f2e6d8;
    --soft: #c9c0b6;
    --muted: #a89c90;
    --faint: #7d736b;
    --bg: #0d0b0c;
    --surface: rgba(20, 15, 17, 0.96);
    --field: #1a1416;
    --hover: #2a211e;
    --line: #3a2f2a;
    --line-strong: #5a4a40;
    --button: #3a2f2a;
    --gold: #fbbf3d;
    --link: #ffc85c;
    --panel: 310px;
    font-family: "Karla", sans-serif;
    font-size: 14px;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    overflow: hidden;
    background: var(--bg);
    color: var(--ink);
}
button,
input,
select {
    font: inherit;
}
button,
a,
input,
select,
summary {
    outline-offset: 4px;
}
button {
    cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--gold);
}
button {
    color: inherit;
}
#map {
    position: absolute;
    inset: 0;
    background: var(--bg);
    font-family: inherit;
}
#explorer {
    position: absolute;
    z-index: 800;
    inset: 16px auto 16px 16px;
    width: var(--panel);
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 45px #0008;
    transition:
        transform 0.2s,
        opacity 0.2s;
}
.brand {
    padding: 16px 16px 14px;
    border-bottom: 1px solid var(--line);
}
.brand-logo {
    display: block;
    width: fit-content;
    margin: 0 auto 12px;
    border-radius: 6px;
}
.brand-logo img {
    display: block;
    width: 140px;
    height: 72px;
    object-fit: contain;
}
/* The website header's nav, compacted to fit the panel. */
.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.site-nav a {
    color: var(--heading);
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.2;
    padding: 6px 8px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.6);
}
.site-nav a:hover {
    background: rgba(0, 0, 0, 0.85);
    color: var(--gold);
}
.explore-body {
    padding: 23px 20px;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--line-strong) transparent;
    flex: 1;
}
.section-heading {
    font-size: 13px;
    font-weight: 700;
    color: var(--soft);
    margin-bottom: 10px;
}
.map-field-label {
    margin-top: 0;
}
#map-select {
    border-color: var(--line-strong);
    color: var(--gold);
    font-weight: 700;
}
#map-select[aria-busy="true"] {
    opacity: 0.65;
}
.map-description {
    margin: 9px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}
#map-field ~ .section-heading {
    margin-top: 22px;
}
body.player-atlas #map-field ~ .section-heading {
    margin-top: 0;
}
.search-box {
    display: flex;
    gap: 9px;
    align-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.35);
    padding: 8px 10px;
}
.search-box:focus-within {
    border-color: var(--gold);
}
.search-box > span {
    font-size: 23px;
    color: var(--gold);
    line-height: 1;
}
.search-box input {
    min-width: 0;
    width: 100%;
    border: 0;
    background: none;
    color: var(--ink);
    outline: none;
    font-size: 13px;
}
.search-box input::placeholder {
    color: var(--muted);
}
.search-box kbd {
    color: var(--faint);
    border: 1px solid var(--line);
    padding: 0 5px;
    border-radius: 3px;
    font-family: inherit;
}
.field-label {
    display: block;
    color: var(--soft);
    font-size: 13px;
    font-weight: 700;
    margin: 20px 0 7px;
}
#direction-field {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}
#direction-field[hidden] {
    display: none;
}
#direction-field legend {
    padding: 0;
}
#direction-options {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
}
.direction-option {
    position: relative;
    cursor: pointer;
    text-align: center;
}
.direction-option input {
    appearance: none;
    position: absolute;
    inset: 0;
    margin: 0;
    border-radius: 5px;
    cursor: pointer;
}
.direction-option span {
    display: block;
    padding: 10px 1px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 12px;
    background: var(--field);
    pointer-events: none;
}
.direction-option:hover span {
    border-color: var(--line-strong);
}
.direction-option input:checked + span {
    border-color: var(--gold);
    background: var(--button);
    color: var(--gold);
    font-weight: 700;
}
.direction-option input:focus-visible + span {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}
select {
    width: 100%;
    background: var(--field);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 10px 12px;
    color: var(--ink);
    font-size: 13px;
}
select:hover {
    border-color: var(--line-strong);
}
.section-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 25px 0 10px;
}
.section-row h2 {
    color: var(--gold);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}
/* The website's .button.small, sized for the panel. */
.text-button {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: var(--button);
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    padding: 6px 12px;
}
.text-button:hover {
    filter: brightness(1.15);
}
.layer {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 39px;
    cursor: pointer;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}
.layer:hover {
    background: #ffffff06;
}
.layer-swatch {
    height: 7px;
    width: 7px;
    border-radius: 50%;
    background: var(--color);
    flex: none;
}
.layer-swatch--zone {
    width: 12px;
    height: 10px;
    border: 1px solid var(--color);
    border-radius: 2px;
    background: color-mix(in srgb, var(--color) 24%, transparent);
}
.layer-swatch--dungeon {
    height: 12px;
    width: 11px;
    box-sizing: border-box;
    border: 2px solid var(--color);
    border-bottom-width: 1px;
    border-radius: 6px 6px 1px 1px;
    background: none;
}
.layer-swatch--altar {
    position: relative;
    width: 11px;
    height: 11px;
    border-bottom: 2px solid var(--color);
    border-radius: 0;
    background: none;
}
.layer-swatch--altar::before {
    position: absolute;
    top: 1px;
    left: 3px;
    width: 5px;
    height: 5px;
    border: 1px solid var(--color);
    transform: rotate(45deg);
    content: "";
}
.player-atlas .layer {
    min-height: 44px;
    font-size: 14px;
}
.layer input:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}
.layer-name {
    flex: 1;
}
.layer-count {
    font-size: 11px;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}
.layer input {
    appearance: none;
    flex: none;
    width: 29px;
    height: 16px;
    border-radius: 12px;
    background: var(--button);
    position: relative;
    cursor: pointer;
}
.layer input:before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    top: 3px;
    left: 3px;
    border-radius: 50%;
    background: var(--muted);
    transition: transform 0.15s;
}
.layer input:checked {
    background: #8a6516;
}
.layer input:checked:before {
    transform: translateX(13px);
    background: var(--gold);
}
.muted {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
}
.waypoint {
    display: flex;
    align-items: center;
    gap: 4px;
    border-bottom: 1px solid var(--line);
}
.waypoint > button:first-child {
    flex: 1;
    text-align: left;
    padding: 9px 0;
    font-size: 13px;
    background: none;
    border: 0;
}
.waypoint > button:first-child:hover {
    color: var(--gold);
}
.waypoint small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    margin-top: 4px;
}
.waypoint .remove {
    background: none;
    border: 0;
    color: var(--muted);
    font-size: 18px;
}
.waypoint .remove:hover {
    color: var(--ink);
}
.waypoint-export-format {
    margin-top: 12px;
}
.waypoint-export-format label {
    display: block;
    margin-bottom: 6px;
    color: var(--soft);
    font-size: 13px;
    font-weight: 700;
}
.waypoint-export-format select {
    padding: 7px 9px;
}
.waypoint-actions {
    display: flex;
    gap: 8px;
    margin: 10px 0;
}
#waypoint-export-help {
    margin: 0 0 8px;
    overflow-wrap: anywhere;
}
#data-notes {
    margin-top: 22px;
    border-top: 1px solid var(--line);
    padding-top: 17px;
    font-size: 12px;
    color: var(--muted);
}
#data-notes summary {
    cursor: pointer;
    color: var(--soft);
    font-weight: 700;
}
.map-title {
    position: absolute;
    z-index: 700;
    top: 30px;
    left: calc(var(--panel) + 45px);
    pointer-events: none;
    text-shadow: 0 2px 8px #000;
}
.map-context {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    color: var(--soft);
    font-size: 13px;
    font-weight: 700;
}
.map-context a {
    color: var(--heading);
    text-decoration: none;
    pointer-events: auto;
}
.map-context a:hover {
    color: var(--gold);
    text-decoration: underline;
}
.map-title h1 {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.15;
    margin: 4px 0 7px;
    color: var(--gold);
    max-width: calc(100vw - var(--panel) - 140px);
    text-wrap: balance;
}
.coordinate-bar {
    width: min(214px, 100%);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr);
    margin-top: 10px;
    padding: 2px;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    box-shadow: 0 3px 8px #0004;
    pointer-events: auto;
    text-shadow: none;
}
.coordinate-bar label {
    display: flex;
    align-items: center;
    padding: 0 6px 0 9px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
}
.coordinate-bar label[for="coordinate-z"] {
    border-left: 1px solid var(--line);
}
.coordinate-bar input {
    width: 100%;
    min-width: 0;
    height: 34px;
    border: 0;
    border-radius: 3px;
    padding: 0 5px;
    background: transparent;
    color: var(--ink);
    font-size: 16px;
    font-variant-numeric: tabular-nums;
    outline-offset: -2px;
}
#map-transition {
    width: fit-content;
    margin-top: 10px;
    padding: 9px 13px;
    color: var(--gold);
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    pointer-events: none;
    text-shadow: none;
}
.map-tools {
    position: absolute;
    z-index: 750;
    right: 22px;
    top: 25px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.map-button {
    width: 38px;
    height: 38px;
    font-size: 24px;
    color: var(--heading);
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    box-shadow: 0 3px 8px #0004;
    display: grid;
    place-items: center;
}
.map-button:hover {
    background: var(--hover);
    border-color: var(--gold);
    color: var(--gold);
}
.compass {
    position: absolute;
    right: 25px;
    bottom: 80px;
    z-index: 700;
    text-align: center;
    pointer-events: none;
    color: var(--heading);
    text-shadow: 0 2px 5px #000;
    width: 54px;
    height: 54px;
    transform: rotate(var(--north-angle, -63deg));
}
.compass span {
    display: block;
    font-size: 11px;
    font-weight: 700;
    transform: rotate(calc(-1 * var(--north-angle, -63deg)));
}
.compass div {
    font-size: 42px;
    line-height: 1;
}
.leaflet-control-attribution {
    display: none;
}
#hover-label {
    position: absolute;
    pointer-events: none;
    z-index: 900;
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 12px;
    max-width: 280px;
    box-shadow: 0 4px 15px #0006;
}
#toast {
    position: absolute;
    z-index: 1000;
    bottom: 65px;
    left: calc(50% + 90px);
    transform: translate(-50%, 12px);
    padding: 12px 20px;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.18s,
        transform 0.18s;
    max-width: 80vw;
}
#toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}
#loading {
    position: absolute;
    z-index: 1100;
    inset: 0;
    background: var(--bg);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    color: var(--heading);
    font-size: 20px;
    font-weight: 700;
    transition: opacity 0.25s;
}
#loading.done {
    opacity: 0;
    pointer-events: none;
}
.loading-ring {
    width: 24px;
    height: 24px;
    border: 2px solid var(--line);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.mobile {
    display: none;
}
.focus #explorer {
    transform: translateX(-350px);
    opacity: 0;
    pointer-events: none;
}
.focus .map-title {
    left: 30px;
}
.focus #toast {
    left: 50%;
}
.focus #open-panel {
    display: flex;
    position: absolute;
    bottom: 25px;
    left: 25px;
    z-index: 750;
    width: auto;
    gap: 8px;
    padding: 0 12px;
    font-size: 14px;
}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
    background: #171316;
    color: var(--ink);
    box-shadow: 0 4px 24px #0006;
}
.leaflet-popup-content-wrapper {
    border: 1px solid var(--line);
    border-radius: 8px;
}
.leaflet-container,
.leaflet-container .leaflet-popup-content {
    font-family: "Karla", sans-serif;
}
.leaflet-container a.leaflet-popup-close-button {
    color: var(--muted);
}
.leaflet-container a.leaflet-popup-close-button:hover {
    color: var(--gold);
}
.leaflet-popup-content {
    margin: 18px;
    min-width: 180px;
    max-width: 290px;
}
.popup-title {
    color: var(--gold);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 10px;
}
.popup-body {
    white-space: pre-line;
    font-size: 13px;
    color: var(--soft);
    line-height: 1.65;
    max-height: 240px;
    overflow: auto;
}
.elite-drops {
    max-height: min(240px, 36vh);
    margin-top: 10px;
    padding: 8px 6px 0 0;
    overflow: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    scrollbar-width: thin;
    border-top: 1px solid var(--line);
    overflow-wrap: anywhere;
}
.elite-drops h3 {
    margin: 3px 0 7px;
    color: var(--heading);
    font-size: 13px;
    font-weight: 700;
}
.elite-gear,
.gear-drop-stats {
    margin: 0;
    padding: 0;
    list-style: none;
}
.gear-drop {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 0;
}
.gear-drop + .gear-drop {
    border-top: 1px solid var(--line);
}
.gear-drop[data-tier="2"] { --item-tier: #95d887; }
.gear-drop[data-tier="3"] { --item-tier: #83dce1; }
.gear-drop[data-tier="4"] { --item-tier: #d5a5f2; }
.gear-drop[data-tier="5"] { --item-tier: #f5d879; }
.gear-drop-icon {
    flex: none;
    width: 32px;
    height: 32px;
    object-fit: contain;
    image-rendering: pixelated;
}
.gear-drop-name {
    display: block;
    color: var(--item-tier, var(--ink));
    font-size: 13px;
    font-weight: 700;
}
.gear-drop-meta {
    margin: 1px 0 3px;
    color: var(--muted);
    font-size: 11px;
}
.gear-drop-stats,
.elite-extra-drops {
    color: var(--soft);
    font-size: 12px;
    line-height: 1.45;
}
.elite-extra-drops {
    margin: 0 0 7px;
    padding-left: 15px;
}
.popup-actions {
    display: flex;
    gap: 14px;
    margin-top: 13px;
}
.popup-actions button {
    background: none;
    border: 0;
    color: var(--link);
    font-size: 13px;
    font-weight: 700;
    padding: 3px 0;
}
.popup-actions button:hover {
    text-decoration: underline;
}
.popup-coords {
    font-size: 11px;
    color: var(--muted);
    margin-top: 10px;
    font-variant-numeric: tabular-nums;
}
#search-results {
    margin-top: 6px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.35);
    max-height: 250px;
    overflow: auto;
}
#search-results button {
    display: block;
    text-align: left;
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: none;
    padding: 10px;
    color: var(--ink);
    font-size: 13px;
}
#search-results button:hover,
#search-results button:focus {
    background: var(--hover);
}
#search-results small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
}
.empty-result {
    padding: 13px;
    font-size: 13px;
    color: var(--muted);
}
.map-overlay {
    pointer-events: none;
    transform-origin: 0 0;
    will-change: transform;
}
@media (max-width: 760px) {
    :root {
        --panel: 285px;
    }
    #explorer {
        inset: 0 auto 0 0;
        width: min(320px, 88vw);
        border-radius: 0;
        transform: translateX(-105%);
        transition: transform 0.2s;
    }
    body.panel-open #explorer {
        transform: translateX(0);
    }
    .brand {
        position: relative;
        padding: 20px;
    }
    .brand-logo img {
        width: 117px;
        height: 60px;
    }
    .mobile {
        display: flex;
    }
    #close-panel {
        position: absolute;
        top: 5px;
        right: 7px;
        background: none;
        border: 0;
        font-size: 24px;
        color: var(--muted);
    }
    #open-panel {
        position: absolute;
        z-index: 750;
        left: 16px;
        top: 18px;
        display: flex;
        width: auto;
        padding: 0 12px;
        gap: 8px;
        font-size: 16px;
    }
    .map-title {
        left: 17px;
        top: 79px;
    }
    .map-title h1 {
        font-size: 24px;
        max-width: calc(100vw - 100px);
    }
    .map-context {
        font-size: 12px;
    }
    .map-tools {
        right: 16px;
        top: 18px;
    }
    .compass {
        right: 17px;
        bottom: 62px;
    }
    #toast {
        left: 50%;
        bottom: 58px;
        min-width: 190px;
        text-align: center;
    }
    .focus .map-title {
        left: 17px;
    }
    .focus #open-panel {
        top: 18px;
        bottom: auto;
        left: 16px;
    }
    .focus #explorer {
        opacity: 1;
        pointer-events: auto;
    }
    .focus.panel-open #explorer {
        transform: translateX(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *:before,
    *:after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

html {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.focus #explorer {
    visibility: hidden;
}
@media (max-width: 760px) {
    #explorer {
        visibility: hidden;
    }
    .panel-open #explorer,
    .focus.panel-open #explorer {
        visibility: visible;
    }
}

.player-atlas {
    --panel: 256px;
}
.player-atlas #explorer {
    inset: 12px auto auto 12px;
    width: min(var(--panel), calc(100vw - 64px));
    max-height: calc(100% - 24px);
    border-radius: 9px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(calc(-100% - 12px));
    transition: transform 0.18s, opacity 0.18s, visibility 0s 0.18s;
}
.player-atlas.panel-open #explorer {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    transition-delay: 0s;
}
.player-atlas .brand {
    position: relative;
    padding: 10px 13px 12px;
}
.player-atlas .brand-logo {
    margin: 0 0 10px;
}
.player-atlas .brand-logo img {
    width: 93px;
    height: 48px;
}
.player-atlas .site-nav a {
    font-size: 12px;
    padding: 6px 7px;
}
.player-atlas .section-heading {
    display: none;
}
.player-atlas #close-panel {
    position: absolute;
    top: 11px;
    right: 8px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid transparent;
    border-radius: 5px;
    background: none;
    color: var(--muted);
    font-size: 25px;
}
.player-atlas #close-panel:hover {
    border-color: var(--line);
    background: var(--hover);
    color: var(--ink);
}
.player-atlas .explore-body {
    min-height: 0;
    padding: 13px 13px 10px;
}
.player-atlas .explore-body .field-label {
    margin-top: 14px;
}
.player-atlas .section-row {
    margin-top: 17px;
}
.player-atlas #open-panel {
    position: absolute;
    z-index: 750;
    inset: 16px auto auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: auto;
    height: 42px;
    padding: 0 10px;
    font-size: 15px;
}
.player-atlas #open-panel .explorer-label {
    font-size: 12px;
}
.player-atlas.panel-open #open-panel {
    visibility: hidden;
}
#player-maps:not([hidden]) {
    position: absolute;
    z-index: 750;
    left: max(16px, env(safe-area-inset-left));
    bottom: max(16px, env(safe-area-inset-bottom));
    display: flex;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    background: var(--surface);
    box-shadow: 0 3px 8px #0004;
}
#player-maps button {
    min-height: 36px;
    padding: 0 12px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
}
#player-maps button:hover,
#player-maps button[aria-pressed="true"] {
    background: var(--button);
    color: var(--gold);
}
.player-atlas.panel-open #player-maps,
.player-atlas.focus #player-maps {
    visibility: hidden;
}
.player-atlas .map-title {
    top: 20px;
    left: 50%;
    width: min(35rem, calc(100% - 128px));
    transform: translateX(-50%);
    text-align: center;
}
.player-atlas .map-title h1 {
    max-width: none;
    line-height: 1.15;
}
.player-atlas .map-context {
    justify-content: center;
}
.player-atlas .coordinate-bar,
.player-atlas #map-transition {
    margin-inline: auto;
}
.player-atlas .coordinate-bar input {
    text-align: start;
}
.player-atlas #toast {
    left: 50%;
}
.player-atlas.focus #explorer,
.player-atlas.focus #open-panel,
.player-atlas.focus .map-title,
.player-atlas.focus .compass,
.player-atlas.focus .map-tools button:not(#focus-mode) {
    display: none;
}
.player-atlas.focus #focus-mode {
    color: var(--gold);
}
@media (max-width: 760px) {
    .player-atlas #open-panel {
        width: 42px;
        padding: 0;
        font-size: 19px;
    }
    .player-atlas #open-panel .explorer-label {
        display: none;
    }
}

.cluster-list {
    max-height: 280px;
    overflow: auto;
}
.cluster-list button {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 9px 0;
    color: var(--ink);
    font-size: 13px;
}
.cluster-list button:hover {
    color: var(--gold);
}

body {
    width: 100%;
    height: 100%;
    position: relative;
    isolation: isolate;
}

html,
body {
    overflow: clip;
}
