:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  --block-ink: #071a4b;
  --block-yellow-top: #ffe16a;
  --block-yellow-main: #ffcb28;
  --block-yellow-bottom: #c99a08;
  --block-yellow-border: #b68b00;
  --block-panel: #0d1421;
  --block-panel-deep: #080d16;
  --block-edge-top: #465267;
  --block-edge-side: #202a3a;
  --block-button-top: #354052;
  --block-button-main: #1b2432;
  --block-button-bottom: #0c121d;
  --fresh-sky: #23b3ed;
}

* {
  box-sizing: border-box;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
input,
label,
summary {
  touch-action: manipulation;
}

@media (hover: none), (pointer: coarse) {
  button,
  input,
  label,
  summary {
    -webkit-tap-highlight-color: transparent;
  }
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #000;
}

body {
  color: #fff;
}

.app-shell {
  width: 100%;
  height: 100%;
}

#map {
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

#map.dragging {
  cursor: grabbing;
}

#map.pin-hover:not(.dragging) {
  cursor: pointer;
}

#map.guide-line-hover:not(.dragging) {
  cursor: move;
}

.pin-panel {
  display: flex;
  flex-direction: column;
  container-type: inline-size;
  position: fixed;
  z-index: 10;
  inset: 0 auto 0 0;
  width: 420px;
  padding: 14px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  background: #111;
  overflow: visible;
}

.mobile-dimension-switcher {
  display: none;
}

.pin-panel-resizer {
  position: absolute;
  z-index: 2;
  top: 0;
  right: -4px;
  width: 8px;
  height: 100%;
  cursor: ew-resize;
  touch-action: none;
}

.pin-panel.collapsed .pin-panel-resizer {
  display: none;
}

.pin-panel-brand {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  min-width: 0;
  gap: 9px;
}

.pin-panel-logo {
  align-self: center;
  width: 41px;
  height: 41px;
  max-width: 41px;
  max-height: 41px;
  aspect-ratio: 1;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.65));
  object-fit: contain;
}

.pin-panel-heading {
  align-self: start;
  min-width: 0;
}

.pin-panel-title {
  min-width: 0;
  margin: 0;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}

.pin-panel-description {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.35;
}

.pin-panel-header {
  margin-bottom: 10px;
}

.sidebar-toggle,
.sidebar-close {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  background: rgba(10, 10, 10, 0.9);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  color: #fff;
  cursor: pointer;
}

.sidebar-toggle svg,
.sidebar-close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.sidebar-toggle:focus-visible,
.sidebar-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.share-selection {
  position: fixed;
  z-index: 10;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  gap: 6px;
  padding: 9px 13px;
  border: 2px solid;
  border-color: #ffe16a #b68b00 #8a6900;
  border-radius: 0;
  background: linear-gradient(to bottom, #ffe16a 0 4px, #ffcb28 4px calc(100% - 5px), #c99a08 calc(100% - 5px));
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.62);
  color: #071a4b;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.share-selection span {
  white-space: nowrap;
}

.share-selection-icon {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.share-selection:hover,
.share-selection:focus-visible {
  border-color: #fff0a1 #c89a00 #957000;
  background: linear-gradient(to bottom, #fff0a1 0 4px, #ffd84a 4px calc(100% - 5px), #d4a511 calc(100% - 5px));
  color: #071a4b;
}

.share-selection:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.62);
}

.map-scale {
  position: fixed;
  z-index: 9;
  bottom: 16px;
  display: grid;
  justify-items: center;
  min-width: 54px;
  color: rgba(255, 255, 255, 0.9);
  filter: drop-shadow(0 1px 2px #000) drop-shadow(0 2px 5px rgba(0, 0, 0, 0.7));
  pointer-events: none;
}

.map-scale-label {
  margin-bottom: 3px;
  font-size: 11px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
}

.map-scale-bar {
  display: block;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
}

.pin-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 7px;
  padding: 3px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.pin-tab {
  min-height: 36px;
  padding: 6px 8px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.pin-tab[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
}

.pin-view {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

.pin-view[hidden] {
  display: none;
}

.objective-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 5px;
  margin-bottom: 6px;
}

.objective-master {
  display: flex;
  align-items: center;
  min-height: 32px;
  gap: 8px;
  margin: 0 4px 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.objective-legend {
  display: flex;
  width: 100%;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 6px;
  gap: clamp(2px, 1.4cqw, 8px);
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  font-size: clamp(11px, 3.4cqw, 14px);
}

.objective-legend-item {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 4px;
  gap: clamp(3px, 0.9cqw, 4px);
  padding: 1px 2px;
  padding: 1px clamp(1px, 0.4cqw, 3px);
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.objective-legend-item:hover,
.objective-legend-item:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  outline: none;
}

.objective-legend-item[aria-pressed="true"] {
  background: color-mix(in srgb, var(--objective-group-color) 22%, transparent);
  color: #fff;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--objective-group-color) 55%, transparent);
}

.objective-legend-swatch {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  width: clamp(7px, 2cqw, 8px);
  height: clamp(7px, 2cqw, 8px);
  border: 1px solid var(--objective-group-color);
  background: var(--objective-group-color);
}

.objective-legend-quest-control {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
}

.objective-legend-quest-control .objective-legend-item {
  align-self: stretch;
  padding-right: clamp(2px, 0.6cqw, 4px);
  border-radius: 0;
}

.objective-legend-quest-control:has(.objective-legend-item[aria-pressed="true"]) {
  background: color-mix(in srgb, var(--objective-group-color) 24%, #102334);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--objective-group-color) 65%, transparent);
}

.objective-legend-quest-control .objective-legend-item[aria-pressed="true"] {
  background: transparent;
  box-shadow: none;
}

.quest-scope-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  flex: 0 0 auto;
  width: 15px;
  min-width: 15px;
  min-height: 17px;
  padding: 2px 1px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--fresh-sky);
  cursor: pointer;
}

.quest-scope-toggle:hover,
.quest-scope-toggle:focus-visible,
.quest-scope-toggle[aria-expanded="true"] {
  background: rgb(35 179 237 / 13%);
  box-shadow: inset 0 0 0 1px rgb(35 179 237 / 42%);
  outline: none;
}

.quest-scope-toggle.quest-scope-all .opening-lightning-icon {
  opacity: 0.55;
}

.quest-scope-toggle.quest-scope-later {
  color: rgba(255, 255, 255, 0.36);
}

.quest-scope-toggle.quest-scope-later:hover,
.quest-scope-toggle.quest-scope-later:focus-visible,
.quest-scope-toggle.quest-scope-later[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
}

.opening-lightning-icon {
  display: block;
  width: 11px;
  height: 11px;
  overflow: visible;
  fill: currentColor;
}

.quest-scope-later .opening-lightning-icon {
  fill: none;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 13;
}

.quest-scope-menu {
  position: fixed;
  z-index: 1001;
  display: grid;
  width: max-content;
  min-width: 174px;
  padding: 4px;
  border: 2px solid;
  border-color: var(--block-edge-top) var(--block-edge-side) var(--block-panel-deep);
  border-radius: 0;
  background: var(--block-panel);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.07), inset 0 -3px 0 rgba(0, 0, 0, 0.42), 4px 4px 0 rgba(0, 0, 0, 0.38);
}

.quest-scope-option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  min-height: 30px;
  gap: 6px;
  padding: 5px 7px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
}

.quest-scope-option:hover,
.quest-scope-option:focus-visible {
  background: #142d40;
  color: #fff;
  outline: none;
}

.quest-scope-option[aria-checked="true"] {
  background: #102334;
  box-shadow: inset 2px 0 0 var(--fresh-sky);
  color: #fff;
}

.quest-scope-option-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fresh-sky);
}

.quest-scope-option.quest-scope-all .quest-scope-option-icon {
  opacity: 0.55;
}

.quest-scope-option.quest-scope-later .quest-scope-option-icon {
  color: rgba(255, 255, 255, 0.48);
}

.source-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 6px;
  margin-bottom: 6px;
}

.source-deselect-all {
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.source-deselect-all:hover,
.source-deselect-all:focus-visible {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
  outline: none;
}

.source-deselect-all:disabled {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.24);
  cursor: default;
}

.search-field {
  position: relative;
  min-width: 0;
}

.search-field .objective-search {
  padding-right: 36px;
}

.objective-search::-webkit-search-cancel-button {
  display: none;
}

.search-clear {
  position: absolute;
  top: 50%;
  right: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: rgba(255, 255, 255, 0.56);
  transform: translateY(-50%);
  cursor: pointer;
}

.search-clear[hidden] {
  display: none;
}

.search-clear svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.search-clear:hover,
.search-clear:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  outline: none;
}

.selection-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.76);
  cursor: pointer;
}

.selection-reset svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.selection-reset:hover:not(:disabled),
.selection-reset:focus-visible:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  outline: none;
}

.selection-reset:disabled {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.24);
  cursor: default;
}

.objective-search {
  width: 100%;
  height: 38px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  outline: none;
  background: rgba(0, 0, 0, 0.32);
  color: #fff;
  font: inherit;
  font-size: 14px;
}

.objective-search:focus {
  border-color: rgba(255, 255, 255, 0.48);
}

.objective-list {
  display: grid;
  flex: 1;
  align-content: start;
  gap: 3px;
  grid-auto-rows: max-content;
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
}

.objective-item {
  display: grid;
  grid-template-columns: 18px 24px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 43px;
  gap: 7px;
  padding: 5px 6px;
  border-left: 3px solid var(--objective-group-color, transparent);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.76);
  cursor: pointer;
}

.objective-entry {
  min-width: 0;
}

.objective-pin-options {
  display: grid;
  gap: 2px;
  margin: 0 4px 7px 32px;
  padding: 3px 0 4px 9px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.objective-pin-option {
  display: grid;
  grid-template-columns: 17px 22px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 30px;
  gap: 9px;
  padding: 4px 5px;
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.objective-pin-section {
  min-width: 0;
}

.objective-pin-section + .objective-pin-section {
  margin-top: 5px;
}

.objective-pin-section-header {
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr);
  align-items: center;
  min-height: 32px;
  gap: 9px;
  padding: 4px 5px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.objective-pin-section-header input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #f3b33d;
}

.objective-pin-section-items {
  display: grid;
  gap: 2px;
  margin-left: 8px;
  padding-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.objective-pin-option-group > .source-filter-controls {
  margin-left: 20px;
  padding-left: 27px;
}

.objective-pin-option:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.objective-pin-option input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #f3b33d;
}

.objective-pin-option-name {
  overflow: hidden;
  font-size: 14px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.objective-pin-empty {
  display: grid;
  gap: 5px;
  margin: 4px 6px 4px 0;
  padding: 8px 9px;
  border: 1px solid rgba(239, 91, 91, 0.55);
  border-radius: 5px;
  background: rgba(126, 31, 31, 0.2);
  color: rgba(255, 214, 214, 0.9);
  font-size: 14px;
}

.objective-pin-feedback {
  width: fit-content;
  color: #8fc8ff;
  font-size: 12px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.objective-pin-feedback:hover,
.objective-pin-feedback:focus-visible {
  color: #fff;
}

.objective-item:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.objective-item input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #f3b33d;
}

.objective-name {
  font-size: 14px;
  line-height: 1.25;
}

.objective-title {
  display: flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  gap: 4px;
  margin-bottom: 2px;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
}

.objective-title-text {
  min-width: 0;
}

.opening-objective-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--fresh-sky);
  cursor: help;
}

.opening-objective-marker .opening-lightning-icon {
  width: 14px;
  height: 14px;
}

.opening-objective-marker:focus-visible {
  border-radius: 2px;
  outline: 1px solid rgb(35 179 237 / 70%);
  outline-offset: 1px;
}

.objective-modifier-tooltip {
  position: fixed;
  z-index: 1000;
  width: max-content;
  max-width: calc(100vw - 16px);
  padding: 6px 8px;
  border: 2px solid;
  border-color: var(--block-edge-top) var(--block-edge-side) var(--block-panel-deep);
  border-radius: 0;
  background: #142535;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.07), inset 0 -3px 0 rgba(0, 0, 0, 0.42), 4px 4px 0 rgba(0, 0, 0, 0.38);
  color: var(--fresh-sky);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  pointer-events: none;
}

.objective-description {
  display: block;
  color: rgba(255, 255, 255, 0.66);
}

.objective-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  image-rendering: pixelated;
}

.pin-categories {
  display: grid;
  flex: 1;
  align-content: start;
  gap: 4px;
  grid-auto-rows: max-content;
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
}

.public-footer {
  display: grid;
  flex: 0 0 auto;
  gap: 3px;
  margin-top: 9px;
  padding: 9px 5px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  line-height: 1.35;
}

.public-footer strong {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 650;
}

.feedback-link {
  width: fit-content;
  color: #8fc8ff;
  font-weight: 650;
  text-decoration: underline;
}

.feedback-link:hover,
.feedback-link:focus-visible {
  color: #fff;
}

.changelog-trigger {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  cursor: pointer;
}

.changelog-trigger:hover,
.changelog-trigger:focus-visible {
  color: #fff;
}

.changelog-trigger:focus-visible {
  border-radius: 2px;
  outline: 2px solid #8fc8ff;
  outline-offset: 2px;
}

.changelog-dialog {
  width: min(520px, calc(100vw - 32px));
  max-width: none;
  max-height: min(720px, calc(100dvh - 32px));
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #3a3a3a;
  border-radius: 7px;
  background: #171717;
  color: #fff;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.58);
}

.changelog-dialog::backdrop {
  background: rgba(0, 0, 0, 0.7);
}

.update-announcement-dialog {
  width: min(700px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #3a3a3a;
  border-radius: 12px;
  background: #171717;
  color: #fff;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.62);
}

.update-announcement-dialog::backdrop {
  background: rgba(0, 0, 0, 0.7);
}

.update-announcement-shell {
  display: flex;
  min-height: 0;
  max-height: calc(100dvh - 32px);
  flex-direction: column;
  margin: 0;
}

.update-announcement-banner {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  aspect-ratio: 3 / 1;
  background: #101010;
}

.update-announcement-media {
  position: absolute;
  overflow: hidden;
  border-bottom: 1px solid #8b8b8b;
  inset: 0;
}

.update-announcement-media::after {
  position: absolute;
  background:
    linear-gradient(180deg, rgba(7, 13, 7, 0.08) 20%, rgba(7, 13, 7, 0.72) 100%),
    linear-gradient(90deg, rgba(16, 16, 16, 0.18), transparent 55%);
  content: "";
  inset: 0;
  pointer-events: none;
}

.update-announcement-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.update-announcement-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(246, 201, 69, 0.2), transparent 48%),
    repeating-linear-gradient(-45deg, #1f1f1f 0 18px, #242424 18px 36px);
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.update-announcement-content {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  background: #171717;
}

.update-announcement-scroll {
  min-height: 0;
  overflow-y: auto;
  padding: 42px 30px 0;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.update-announcement-banner h2 {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 0;
  left: 28px;
  margin: 0;
  color: #ffd83d;
  font-family: "Gridlock Pixel", ui-monospace, monospace;
  font-size: clamp(30px, 7vw, 50px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1;
  text-align: center;
  text-shadow:
    3px 3px 0 #4b270d,
    -2px -2px 0 #171717,
    2px -2px 0 #171717,
    -2px 2px 0 #171717;
  transform: translateY(42%);
}

.update-announcement-content p {
  font-size: 14px;
  line-height: 1.55;
}

.update-announcement-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.update-announcement-copy {
  color: rgba(255, 255, 255, 0.78);
}

.update-announcement-copy p {
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.update-announcement-copy p + p {
  margin-top: 12px;
}

.update-announcement-copy a,
.update-announcement-copy button {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f6c945;
  font: inherit;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: pointer;
}

.update-announcement-copy a:hover,
.update-announcement-copy a:focus-visible,
.update-announcement-copy button:hover,
.update-announcement-copy button:focus-visible {
  color: #ffe37a;
  outline: none;
  text-decoration-thickness: 2px;
}

.changelog-close.update-announcement-close {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(13, 18, 13, 0.7);
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(5px);
}

.changelog-close.update-announcement-close:hover,
.changelog-close.update-announcement-close:focus-visible {
  background: rgba(13, 18, 13, 0.92);
}

.external-link-icon {
  display: inline-block;
  margin-left: 3px;
  vertical-align: -2px;
}

.update-announcement-signoff {
  margin: 17px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-style: italic;
}

.update-announcement-actions {
  display: flex;
  flex: 0 0 auto;
  justify-content: flex-end;
  margin: 0;
  padding: 20px 30px 24px;
  background: inherit;
}

.update-announcement-dismiss {
  min-width: 88px;
  min-height: 38px;
  padding: 8px 18px;
  border: 1px solid #8a8a8a;
  border-radius: 6px;
  background: #fff;
  color: #191919;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.update-announcement-dismiss:hover,
.update-announcement-dismiss:focus-visible {
  border-color: #202020;
  background: #f1f1f1;
  outline: none;
  box-shadow: 0 0 0 2px #8fc8ff;
}

.changelog-shell {
  display: flex;
  flex-direction: column;
  max-height: min(720px, calc(100dvh - 32px));
}

.changelog-header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 17px;
  border-bottom: 1px solid #333;
}

.changelog-header h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.1;
}

.changelog-close {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.changelog-close::before,
.changelog-close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.changelog-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.changelog-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.changelog-close:hover,
.changelog-close:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  outline: none;
}

.changelog-close:focus-visible {
  box-shadow: 0 0 0 2px #8fc8ff;
}

.changelog-body {
  overflow-y: auto;
  scrollbar-width: thin;
}

.changelog-day + .changelog-day {
  border-top: 1px solid #333;
}

.changelog-day summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 17px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.changelog-day summary::-webkit-details-marker {
  display: none;
}

.changelog-day summary:hover,
.changelog-day summary:focus-visible {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.changelog-day summary:focus-visible {
  outline: 2px solid #8fc8ff;
  outline-offset: -2px;
}

.changelog-day-toggle::before {
  color: rgba(255, 255, 255, 0.62);
  font: 20px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  content: "+";
}

.changelog-day[open] .changelog-day-toggle::before {
  content: "−";
}

.changelog-day-content {
  padding: 0 17px 17px;
}

.changelog-day-content h3 {
  margin: 2px 0 9px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
}

.changelog-source-note {
  margin: 0 0 15px;
  padding: 9px 10px;
  border-left: 3px solid #8fc8ff;
  background: rgba(143, 200, 255, 0.07);
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.45;
}

.changelog-source-note a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #8fc8ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.changelog-source-note svg {
  flex: 0 0 auto;
}

.changelog-source-note a:hover,
.changelog-source-note a:focus-visible {
  color: #fff;
}

.changelog-day-content ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0 0 0 19px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.45;
}

.changelog-day-content strong {
  color: rgba(255, 255, 255, 0.92);
}

.changelog-entry-list {
  gap: 11px !important;
  padding-left: 0 !important;
  list-style: none;
}

.changelog-entry-list li {
  display: grid;
  grid-template-columns: 8px 24px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
}

.changelog-entry-list li::before {
  color: rgba(255, 255, 255, 0.45);
  content: "•";
}

.changelog-entry-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
}

.changelog-entry-icon > img:not(.changelog-container-badge) {
  width: 24px;
  height: 24px;
  object-fit: contain;
  image-rendering: pixelated;
}

.changelog-share-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.changelog-container-icon {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
}

.changelog-container-base {
  width: 24px;
  height: 24px;
  object-fit: contain;
  image-rendering: pixelated;
}

.changelog-container-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 14px;
  height: 14px;
  object-fit: contain;
  image-rendering: pixelated;
}

.changelog-objective-list {
  gap: 10px;
  padding: 0;
  list-style: none;
}

.changelog-objective-list li {
  display: grid;
  grid-template-columns: 8px 20px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
}

.changelog-objective-list li::before {
  color: rgba(255, 255, 255, 0.45);
  content: "•";
}

.changelog-objective-icon,
.changelog-objective-icon-placeholder {
  width: 20px;
  height: 20px;
}

.changelog-objective-icon {
  object-fit: contain;
  image-rendering: pixelated;
}

.changelog-objective-list li {
  grid-template-columns: 8px 24px minmax(0, 1fr);
}

.changelog-objective-list li::before {
  content: "•";
}

.changelog-objective-icon,
.changelog-objective-icon-placeholder {
  width: 24px;
  height: 24px;
}

.objective-group-simple { color: #16b84e !important; }
.objective-group-complex { color: #a719e6 !important; }
.objective-group-team { color: #2878ef !important; }
.objective-group-opponent { color: #ed1826 !important; }
.objective-group-quest { color: #d99008 !important; }
.objective-group-buried { color: #fad64a !important; }
.quest-eligibility-opening { color: var(--fresh-sky) !important; }
.quest-eligibility-later { color: #187ed0 !important; }

.changelog-quote {
  color: #fff !important;
  font-weight: 700;
}

.changelog-description-removed {
  color: #ff9b9b !important;
}

.changelog-description-added {
  color: #91e6a7 !important;
}

.pin-category-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  border-radius: 6px;
}

.pin-category-header:hover {
  background: rgba(255, 255, 255, 0.08);
}

.pin-category {
  display: grid;
  grid-template-columns: 18px 22px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 41px;
  gap: 9px;
  padding: 6px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
}

.pin-category:hover {
  color: #fff;
}

.pin-category input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #f3b33d;
}

.pin-swatch {
  width: 10px;
  height: 10px;
  border: 2px solid rgba(0, 0, 0, 0.45);
  border-radius: 50%;
}

.source-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  image-rendering: pixelated;
}

.source-icon.fallback {
  width: 10px;
  height: 10px;
  margin: 3px;
  border: 2px solid rgba(0, 0, 0, 0.45);
  border-radius: 50%;
}

.pin-category-name {
  overflow: hidden;
  font-size: 14px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pin-category-count {
  color: rgba(255, 255, 255, 0.46);
  font: 14px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.dimension-counts {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font: 14px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.dimension-count {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-width: 13px;
}

.dimension-count::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.dimension-count.overworld { color: #62bde8; }
.dimension-count.nether { color: #ed715d; }
.dimension-count.end { color: #b99add; }

.pin-expand {
  width: 31px;
  height: 31px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font: 19px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  cursor: pointer;
}

.pin-expand:hover,
.pin-expand:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  outline: none;
}

.pin-subtypes {
  display: grid;
  gap: 2px;
  margin: 0 3px 6px 13px;
  padding: 3px 0;
}

.pin-subtypes[hidden] {
  display: none;
}

.pin-subtype {
  display: grid;
  grid-template-columns: 17px 22px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 34px;
  gap: 8px;
  padding: 3px 5px;
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.pin-subtype:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.pin-subtype[hidden],
.pin-category-group[hidden] {
  display: none;
}

.pin-subtype input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #f3b33d;
}

.pin-subtype .pin-swatch {
  width: 8px;
  height: 8px;
}

.pin-subtype-name {
  overflow: hidden;
  margin-left: 2px;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-filter-controls {
  display: grid;
  gap: 7px;
  padding: 5px 8px 9px 31px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.pin-subtype-group {
  min-width: 0;
}

.pin-subtype-group[hidden] {
  display: none;
}

.pin-subtype-group > .pin-subtype {
  margin-left: 0;
}

.pin-subtype-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 26px;
  align-items: center;
}

.pin-subtype-header > .pin-subtype {
  margin-left: 0;
}

.pin-loot-items {
  margin-left: 28px;
}

.pin-loot-items[hidden] {
  display: none;
}

.pin-loot-item {
  padding-left: 10px;
}

.diamond-vein-filter {
  padding: 4px 8px 9px 28px;
}

.source-filter-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.source-filter-control select {
  min-width: 0;
  max-width: 145px;
  padding: 4px 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 5px;
  background: #171717;
  color: #fff;
  font: inherit;
}

.source-filter-range {
  grid-column: 1 / -1;
  width: 100%;
  accent-color: #52c7c2;
}

.pin-count-warning {
  padding: 6px 8px;
  border: 1px solid rgba(244, 184, 74, 0.65);
  border-radius: 4px;
  background: rgba(244, 184, 74, 0.12);
  color: #ffd889;
  font-size: 12px;
  line-height: 1.3;
}

.dimension-panel {
  position: fixed;
  z-index: 10;
  top: 16px;
  right: 16px;
  width: 280px;
  min-width: 280px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(10, 10, 10, 0.88);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
}

.dimension-panel.map-overlay {
  border: 2px solid;
  border-color: #465267 #202a3a #090e17;
  border-radius: 0;
  background: #0d1421;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.08), inset 0 -3px 0 rgba(0, 0, 0, 0.48), 4px 4px 0 rgba(0, 0, 0, 0.4);
  backdrop-filter: none;
}

.dimension-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.dimension-label {
  padding: 2px 4px 7px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.map-settings-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: -4px -2px 2px 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.map-settings-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.map-settings-toggle:hover,
.map-settings-toggle[aria-expanded="true"] {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.map-settings-toggle:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.dimension-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.dimension-button {
  min-height: 41px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.76);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

.dimension-button:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
}

.dimension-button[aria-pressed="true"] {
  border-color: rgba(255, 255, 255, 0.75);
  background: #fff;
  color: #000;
}

.dimension-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.dimension-panel.map-overlay .map-settings-toggle,
.dimension-panel.map-overlay .dimension-button {
  border: 2px solid;
  border-color: #465267 #202a3a #080d16;
  border-radius: 0;
  background: linear-gradient(to bottom, #354052 0 4px, #1b2432 4px calc(100% - 5px), #0c121d calc(100% - 5px));
  box-shadow: none;
  color: #f7f8fb;
}

.dimension-panel.map-overlay .map-settings-toggle:hover,
.dimension-panel.map-overlay .map-settings-toggle[aria-expanded="true"],
.dimension-panel.map-overlay .dimension-button:hover {
  border-color: #59667c #293548 #0b111c;
  background: linear-gradient(to bottom, #465267 0 4px, #253143 4px calc(100% - 5px), #111925 calc(100% - 5px));
}

.dimension-panel.map-overlay .dimension-button[aria-pressed="true"] {
  border-color: #ffe16a #b68b00 #8a6900;
  background: linear-gradient(to bottom, #ffe16a 0 4px, #ffcb28 4px calc(100% - 5px), #c99a08 calc(100% - 5px));
  color: #071a4b;
}

.dimension-panel.map-overlay .map-settings-toggle:active,
.dimension-panel.map-overlay .dimension-button:active {
  transform: translateY(1px);
}

.layer-bridge-options {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.layer-bridge-options[hidden] {
  display: none;
}

.layer-bridge-option {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px;
  align-items: center;
  gap: 8px;
  min-height: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.layer-bridge-toggle {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  cursor: pointer;
}

.layer-bridge-toggle > span:last-child {
  min-width: 0;
  white-space: normal;
  overflow-wrap: break-word;
  line-height: 1.3;
}

.layer-bridge-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.toggle-switch {
  position: relative;
  align-self: center;
  width: 32px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  transition: background-color 140ms ease, border-color 140ms ease;
}

.toggle-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.38);
  transition: transform 140ms ease, background-color 140ms ease;
}

.layer-bridge-option input:checked + .toggle-switch {
  border-color: #f3b33d;
  background: #f3b33d;
}

.layer-bridge-option input:checked + .toggle-switch::after {
  transform: translateX(14px);
  background: #18130a;
}

.layer-bridge-option input:focus-visible + .toggle-switch {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.setting-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 2px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.46);
  cursor: pointer;
}

.setting-reset[hidden] {
  display: none;
}

.setting-reset svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.setting-reset:hover,
.setting-reset:focus-visible {
  color: #fff;
}

.setting-reset:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 1px;
}

.coordinate-tooltip {
  position: fixed;
  z-index: 11;
  display: none;
  padding: 5px 7px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.84);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.4);
  color: #fff;
  font: 14px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  pointer-events: none;
  line-height: 1.35;
  width: max-content;
  max-width: calc(100vw - 16px);
  white-space: pre-line;
}

.pin-tooltip {
  position: fixed;
  z-index: 13;
  display: block;
  width: min(432px, calc(100vw - 24px));
  max-height: min(624px, calc(100vh - 24px));
  overflow: auto;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 7px;
  background: rgba(5, 5, 5, 0.94);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(3px);
  transition:
    opacity 60ms ease,
    transform 60ms ease,
    visibility 0s linear 60ms;
  pointer-events: none;
}

.pin-tooltip.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
  pointer-events: none;
}

.pin-tooltip.open.ready {
  pointer-events: auto;
}

.pin-tooltip-title {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.pin-tooltip-coordinates,
.pin-tooltip-detail {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.66);
  font: 14px/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow-wrap: anywhere;
}

.tooltip-objectives {
  display: grid;
  gap: 1px;
  margin-top: 7px;
}

.tooltip-objective {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  min-height: 36px;
  width: 100%;
  padding: 4px 6px;
  border: 0;
  border-left: 3px solid var(--objective-group-color, transparent);
  border-radius: 0;
  background: linear-gradient(to bottom, rgba(70, 82, 103, 0.13) 0 2px, rgba(27, 36, 50, 0.09) 2px calc(100% - 3px), rgba(0, 0, 0, 0.17) calc(100% - 3px));
  color: rgba(255, 255, 255, 0.8);
  text-align: left;
  cursor: pointer;
}

.tooltip-objective:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.tooltip-objective img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  image-rendering: pixelated;
}

.loot-item img {
  width: 29px;
  height: 29px;
  object-fit: contain;
  image-rendering: pixelated;
}

.tooltip-objective-name {
  font-size: 14px;
  line-height: 1.25;
}

.loot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 3px;
  width: 100%;
  margin-top: 7px;
}

.loot-item {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  width: 100%;
  aspect-ratio: 1;
  padding: 15px 4px 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.loot-icon-slot {
  display: grid;
  place-items: center;
  min-width: 0;
  width: 100%;
  height: 29px;
}

.loot-item.enchanted::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: repeating-linear-gradient(
    115deg,
    transparent 0 8px,
    rgba(154, 91, 255, 0.08) 8px 12px,
    rgba(100, 210, 255, 0.42) 12px 15px,
    transparent 15px 25px
  );
  mix-blend-mode: screen;
  -webkit-mask: var(--loot-icon) center / contain no-repeat;
  mask: var(--loot-icon) center / contain no-repeat;
  pointer-events: none;
  animation: loot-glint 1.8s linear infinite;
}

.loot-item img {
  position: relative;
  z-index: 1;
}

@keyframes loot-glint {
  from { background-position: -16px -8px; }
  to { background-position: 16px 8px; }
}

.loot-item.guaranteed {
  border-color: #f2c55b;
  background: rgba(242, 197, 91, 0.12);
}

.loot-item.quest-match {
  border-color: #68c8ff;
  background: rgba(65, 166, 224, 0.2);
  box-shadow: inset 0 0 0 1px rgba(104, 200, 255, 0.24);
}

.loot-item.selected-quest-match {
  border-color: #83e68f;
  background: rgba(55, 181, 79, 0.34);
  box-shadow: inset 0 0 0 1px #42c85c;
}

.loot-count {
  font-size: 10px;
}

.loot-stats {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.loot-count,
.loot-odds,
.loot-average {
  position: absolute;
  display: block;
  min-width: 0;
  width: auto;
  padding: 0;
  overflow: hidden;
  background: transparent;
  color: #e9eef5;
  font: 10px/1.1 ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.loot-count {
  top: 5px;
  left: 5px;
  max-width: 55%;
  color: #f5f7fb;
  text-align: left;
}

.loot-odds {
  top: 5px;
  right: 5px;
  max-width: 42%;
  color: #74cfff;
  text-align: right;
}

.loot-average {
  bottom: 4px;
  left: 50%;
  max-width: calc(100% - 8px);
  color: #91df7b;
  transform: translateX(-50%);
}
.loot-enchantment {
  position: absolute;
  top: 1px;
  right: 1px;
  z-index: 3;
  max-width: calc(100% - 3px);
  overflow: hidden;
  color: #d7c5ff;
  font: 700 10px/1 ui-monospace, monospace;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px #000, 1px 0 2px #000;
  white-space: nowrap;
}
.loot-odds.odds-100 { color: #ffd84d; font-weight: 800; }
.loot-odds.odds-75 { color: #f078d2; }
.loot-odds.odds-50 { color: #68c8ff; }

.status {
  position: fixed;
  z-index: 12;
  top: 50%;
  left: 50%;
  max-width: min(520px, calc(100vw - 40px));
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.88);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
  text-align: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.status[hidden] {
  display: none;
}

@media (max-width: 1024px) {
  .mobile-dimension-switcher {
    position: fixed;
    z-index: 9;
    top: max(10px, env(safe-area-inset-top));
    right: max(10px, env(safe-area-inset-right));
    display: grid;
    gap: 3px;
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(10, 10, 10, 0.78);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
  }

  .mobile-dimension-switcher button {
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 5px;
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    font: 750 12px/1 ui-monospace, monospace;
  }

  .mobile-dimension-switcher button[aria-pressed="true"] {
    border-color: rgba(255, 255, 255, 0.72);
    background: #fff;
    color: #000;
  }

  .mobile-dimension-switcher button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 1px;
  }

  .pin-panel {
    width: min(360px, calc(100vw - 56px)) !important;
    max-width: calc(100vw - 56px);
    height: 100dvh;
    padding: max(12px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom));
    border-right-color: rgba(255, 255, 255, 0.26);
    box-shadow: 18px 0 50px rgba(0, 0, 0, 0.58);
    transform: translateX(0);
    transition: transform 180ms ease, visibility 180ms;
  }

  .pin-panel.mobile-collapsed {
    visibility: hidden;
    transform: translateX(-100%);
  }

  .pin-panel-resizer {
    display: none;
  }

  .sidebar-toggle {
    position: fixed;
    z-index: 9;
    top: max(10px, env(safe-area-inset-top));
    left: max(10px, env(safe-area-inset-left));
    display: inline-flex;
    transition: opacity 120ms ease, transform 120ms ease;
  }

  .sidebar-toggle[aria-expanded="true"] {
    opacity: 0;
    transform: scale(0.86);
    pointer-events: none;
  }

  .sidebar-close {
    display: inline-flex;
    width: 38px;
    height: 38px;
    border-color: rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
  }

  .pin-panel-header {
    margin-bottom: 8px;
  }

  .pin-panel-title {
    font-size: 15px;
  }

  .dimension-panel {
    position: static;
    z-index: auto;
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    margin-bottom: 8px;
    padding: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
    box-shadow: none;
    backdrop-filter: none;
  }

  .dimension-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .dimension-label {
    padding: 2px 4px 6px;
    font-size: 12px;
  }

  .map-settings-toggle {
    display: inline-flex;
  }

  .dimension-buttons {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
  }

  .share-selection {
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
  }

  .map-scale {
    bottom: max(10px, env(safe-area-inset-bottom));
  }

  .dimension-button {
    min-width: 0;
    min-height: 36px;
    padding: 6px 4px;
    font-size: 11px;
  }

  .changelog-dialog {
    width: calc(100vw - 20px);
    max-height: min(720px, calc(100dvh - 20px));
  }

  .update-announcement-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
  }

  .update-announcement-shell {
    max-height: calc(100dvh - 20px);
  }

  .changelog-shell {
    max-height: min(720px, calc(100dvh - 20px));
  }

  .changelog-header {
    padding: 14px;
  }

  .changelog-header h2 {
    font-size: 18px;
  }

  .changelog-day summary {
    padding: 13px 14px;
  }

  .changelog-day-content {
    padding: 0 14px 15px;
  }
}

@media (max-width: 1024px) and (orientation: landscape) {
  .dimension-panel.map-overlay {
    position: fixed;
    z-index: 9;
    top: max(10px, env(safe-area-inset-top));
    right: max(10px, env(safe-area-inset-right));
    width: min(184px, calc(100vw - 76px));
    min-width: 0;
    margin: 0;
    padding: 8px;
    border-radius: 9px;
    background: rgba(10, 10, 10, 0.88);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
  }

  .dimension-panel.map-overlay .dimension-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .dimension-panel.map-overlay .dimension-button {
    min-height: 34px;
    padding: 5px 7px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .pin-panel {
    width: 100vw !important;
    max-width: none;
    border-right: 0;
  }

  .pin-panel:not(.mobile-collapsed) ~ .share-selection {
    display: none;
  }

  .changelog-dialog {
    width: 100vw;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
  }

  .update-announcement-dialog {
    width: 100vw;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
  }

  .update-announcement-shell {
    height: 100dvh;
    min-height: 0;
    max-height: 100dvh;
  }

  .update-announcement-banner {
    flex: 0 0 auto;
    aspect-ratio: 16 / 8.5;
  }

  .update-announcement-media img {
    object-position: 31% center;
  }

  .update-announcement-banner h2 {
    right: 18px;
    left: 18px;
    font-size: clamp(30px, 9.5vw, 38px);
    line-height: 1.04;
    transform: translateY(48%);
  }

  .update-announcement-content {
    flex: 1;
    min-height: 0;
  }

  .update-announcement-scroll {
    flex: 1 1 auto;
    padding:
      48px
      max(24px, env(safe-area-inset-right))
      20px
      max(24px, env(safe-area-inset-left));
  }

  .update-announcement-actions {
    justify-content: stretch;
    padding:
      10px
      max(24px, env(safe-area-inset-right))
      max(12px, env(safe-area-inset-bottom))
      max(24px, env(safe-area-inset-left));
    border-top: 1px solid var(--block-edge-side);
    background: var(--block-panel);
  }

  .changelog-close.update-announcement-close {
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    width: 42px;
    height: 42px;
  }

  .update-announcement-dismiss {
    width: 100%;
    min-width: 104px;
    min-height: 44px;
  }

  .changelog-shell {
    height: 100dvh;
    max-height: none;
  }

  .changelog-header {
    padding: max(10px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 10px max(12px, env(safe-area-inset-left));
  }

  .changelog-close {
    width: 42px;
    height: 42px;
  }

  .changelog-body {
    flex: 1;
    min-height: 0;
    overscroll-behavior: contain;
  }

  .changelog-day summary {
    min-height: 50px;
    padding: 13px max(14px, env(safe-area-inset-right)) 13px max(14px, env(safe-area-inset-left));
  }

  .changelog-day-content {
    padding-right: max(14px, env(safe-area-inset-right));
    padding-bottom: max(18px, env(safe-area-inset-bottom));
    padding-left: max(14px, env(safe-area-inset-left));
  }
}

@media (prefers-reduced-motion: reduce) {
  .pin-panel,
  .sidebar-toggle {
    transition: none;
  }
}

/* Shared Gridlock-style block theme. */
.pin-panel {
  border-right: 2px solid var(--block-edge-side);
  background: var(--block-panel-deep);
  box-shadow: inset -3px 0 0 rgba(0, 0, 0, 0.36);
}

.pin-tabs,
.dimension-panel,
.mobile-dimension-switcher,
.changelog-dialog,
.update-announcement-dialog,
.coordinate-tooltip,
.pin-tooltip,
.status {
  border: 2px solid;
  border-color: var(--block-edge-top) var(--block-edge-side) var(--block-panel-deep);
  border-radius: 0;
  background: var(--block-panel);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.07), inset 0 -3px 0 rgba(0, 0, 0, 0.42), 4px 4px 0 rgba(0, 0, 0, 0.38);
  backdrop-filter: none;
}

.pin-tabs {
  padding: 4px;
}

.sidebar-toggle,
.sidebar-close,
.pin-tab,
.source-deselect-all,
.selection-reset,
.search-clear,
.pin-expand,
.map-settings-toggle,
.dimension-button,
.mobile-dimension-switcher button,
.setting-reset,
.changelog-close,
.changelog-close.update-announcement-close {
  border: 2px solid;
  border-color: var(--block-edge-top) var(--block-edge-side) var(--block-panel-deep);
  border-radius: 0;
  background: linear-gradient(to bottom, var(--block-button-top) 0 4px, var(--block-button-main) 4px calc(100% - 5px), var(--block-button-bottom) calc(100% - 5px));
  box-shadow: none;
  color: #f7f8fb;
}

.sidebar-toggle:hover,
.sidebar-close:hover,
.pin-tab:hover,
.source-deselect-all:hover:not(:disabled),
.selection-reset:hover:not(:disabled),
.search-clear:hover,
.pin-expand:hover,
.map-settings-toggle:hover,
.dimension-button:hover,
.mobile-dimension-switcher button:hover,
.setting-reset:hover,
.changelog-close:hover,
.changelog-close.update-announcement-close:hover,
.changelog-close.update-announcement-close:focus-visible {
  border-color: #59667c #293548 #0b111c;
  background: linear-gradient(to bottom, #465267 0 4px, #253143 4px calc(100% - 5px), #111925 calc(100% - 5px));
  color: #fff;
}

.pin-tab[aria-pressed="true"],
.dimension-button[aria-pressed="true"],
.mobile-dimension-switcher button[aria-pressed="true"],
.update-announcement-dismiss {
  border: 2px solid;
  border-color: var(--block-yellow-top) var(--block-yellow-border) #8a6900;
  border-radius: 0;
  background: linear-gradient(to bottom, var(--block-yellow-top) 0 4px, var(--block-yellow-main) 4px calc(100% - 5px), var(--block-yellow-bottom) calc(100% - 5px));
  box-shadow: none;
  color: var(--block-ink);
}

.pin-tab[aria-pressed="true"]:hover,
.dimension-button[aria-pressed="true"]:hover,
.mobile-dimension-switcher button[aria-pressed="true"]:hover,
.update-announcement-dismiss:hover,
.update-announcement-dismiss:focus-visible {
  border-color: #fff0a1 #c89a00 #957000;
  background: linear-gradient(to bottom, #fff0a1 0 4px, #ffd84a 4px calc(100% - 5px), #d4a511 calc(100% - 5px));
  box-shadow: none;
  color: var(--block-ink);
}

.sidebar-toggle:active,
.sidebar-close:active,
.pin-tab:active,
.source-deselect-all:active:not(:disabled),
.selection-reset:active:not(:disabled),
.pin-expand:active,
.map-settings-toggle:active,
.dimension-button:active,
.mobile-dimension-switcher button:active,
.setting-reset:active,
.update-announcement-dismiss:active {
  transform: translate(1px, 1px);
}

.source-deselect-all:disabled,
.selection-reset:disabled {
  border-color: #252e3d #141b27 #070b12;
  background: linear-gradient(to bottom, #252e3d 0 4px, #141b27 4px calc(100% - 5px), #090e17 calc(100% - 5px));
  color: rgba(255, 255, 255, 0.28);
}

.objective-search,
.source-filter-control select {
  border: 2px solid;
  border-color: #111722 var(--block-edge-side) var(--block-edge-top);
  border-radius: 0;
  background: #0a101b;
  box-shadow: inset 2px 2px 0 rgba(0, 0, 0, 0.45), inset -1px -1px 0 rgba(255, 255, 255, 0.05);
}

.objective-search:focus,
.source-filter-control select:focus {
  border-color: var(--block-yellow-top) var(--block-yellow-border) #8a6900;
  outline: none;
}

.objective-item,
.objective-pin-option,
.pin-category-header,
.pin-category,
.pin-subtype,
.loot-item,
.objective-pin-empty,
.pin-count-warning {
  border-radius: 0;
}

.objective-item,
.pin-category-header,
.pin-subtype {
  background: linear-gradient(to bottom, rgba(70, 82, 103, 0.13) 0 2px, rgba(27, 36, 50, 0.09) 2px calc(100% - 3px), rgba(0, 0, 0, 0.17) calc(100% - 3px));
}

.objective-item:hover,
.objective-pin-option:hover,
.pin-category-header:hover,
.pin-subtype:hover {
  background: linear-gradient(to bottom, rgba(89, 102, 124, 0.38) 0 3px, rgba(37, 49, 67, 0.5) 3px calc(100% - 4px), rgba(9, 14, 23, 0.58) calc(100% - 4px));
}

.objective-legend-item {
  border-radius: 0;
}

.objective-legend-item:hover,
.objective-legend-item:focus-visible {
  background: linear-gradient(to bottom, rgba(70, 82, 103, 0.5) 0 2px, rgba(27, 36, 50, 0.72) 2px calc(100% - 3px), rgba(8, 13, 22, 0.8) calc(100% - 3px));
}

.objective-legend-item[aria-pressed="true"] {
  background: linear-gradient(to bottom, color-mix(in srgb, var(--objective-group-color) 48%, #fff) 0 2px, color-mix(in srgb, var(--objective-group-color) 32%, #151d2a) 2px calc(100% - 3px), color-mix(in srgb, var(--objective-group-color) 34%, #05080d) calc(100% - 3px));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--objective-group-color) 72%, transparent);
}

.toggle-switch {
  border: 2px solid;
  border-color: var(--block-edge-top) var(--block-edge-side) var(--block-panel-deep);
  border-radius: 0;
  background: var(--block-button-main);
}

.toggle-switch::after {
  top: 2px;
  left: 2px;
  width: 10px;
  height: 10px;
  border-radius: 0;
  background: #d8deea;
  box-shadow: none;
}

.layer-bridge-option input:checked + .toggle-switch {
  border-color: var(--block-yellow-top) var(--block-yellow-border) #8a6900;
  background: var(--block-yellow-main);
}

.layer-bridge-option input:checked + .toggle-switch::after {
  background: var(--block-ink);
}

.source-filter-range {
  height: 18px;
  appearance: none;
  background: transparent;
}

.source-filter-range::-webkit-slider-runnable-track {
  height: 7px;
  border: 2px solid;
  border-color: #0a0f18 var(--block-edge-side) var(--block-edge-top);
  border-radius: 0;
  background: var(--block-button-main);
}

.source-filter-range::-webkit-slider-thumb {
  width: 15px;
  height: 15px;
  margin-top: -6px;
  appearance: none;
  border: 2px solid;
  border-color: var(--block-yellow-top) var(--block-yellow-border) #8a6900;
  border-radius: 0;
  background: var(--block-yellow-main);
}

.source-filter-range::-moz-range-track {
  height: 3px;
  border: 2px solid;
  border-color: #0a0f18 var(--block-edge-side) var(--block-edge-top);
  border-radius: 0;
  background: var(--block-button-main);
}

.source-filter-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 2px solid;
  border-color: var(--block-yellow-top) var(--block-yellow-border) #8a6900;
  border-radius: 0;
  background: var(--block-yellow-main);
}

.changelog-header,
.update-announcement-media,
.public-footer,
.layer-bridge-options {
  border-color: var(--block-edge-side);
}

.update-announcement-content,
.update-announcement-actions {
  background: var(--block-panel);
}

.changelog-day summary:hover,
.changelog-day summary:focus-visible {
  background: linear-gradient(to bottom, rgba(70, 82, 103, 0.35) 0 3px, rgba(27, 36, 50, 0.42) 3px calc(100% - 4px), rgba(8, 13, 22, 0.5) calc(100% - 4px));
}

.loot-item {
  border: 1px solid;
  border-color: #50647d #2d4057 #101a28;
  background: linear-gradient(to bottom, #293a50 0 2px, #1b2a3c 2px calc(100% - 3px), #111b29 calc(100% - 3px));
}

.loot-item.guaranteed,
.loot-item.selected-quest-match {
  border-color: var(--block-yellow-top) var(--block-yellow-border) #8a6900;
}

.loot-count,
.loot-odds,
.loot-average {
  border-radius: 0;
}

.sidebar-close,
.changelog-close,
.changelog-close.update-announcement-close,
.sidebar-close:hover,
.sidebar-close:focus-visible,
.changelog-close:hover,
.changelog-close:focus-visible,
.changelog-close.update-announcement-close:hover,
.changelog-close.update-announcement-close:focus-visible {
  border: 1px solid #3a4659;
  background: #1b2534;
  box-shadow: none;
  backdrop-filter: none;
}

.sidebar-close:active,
.changelog-close:active,
.changelog-close.update-announcement-close:active {
  background: #111925;
}

@media (max-width: 1024px) {
  .pin-panel {
    border-right: 2px solid var(--block-edge-side);
    box-shadow: inset -3px 0 0 rgba(0, 0, 0, 0.36), 12px 0 0 rgba(0, 0, 0, 0.32);
  }

  .dimension-panel,
  .mobile-dimension-switcher {
    border-radius: 0;
    background: var(--block-panel);
  }
}

@media (max-width: 480px) {
  .changelog-dialog,
  .update-announcement-dialog {
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

/* Lightweight controls use the flatter hierarchy from the Gridlock UI. */
.pin-tabs {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.selection-reset,
.search-clear,
.pin-expand,
.map-settings-toggle,
.dimension-panel.map-overlay .map-settings-toggle,
.setting-reset {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(190, 202, 221, 0.58);
}

.selection-reset:hover:not(:disabled),
.selection-reset:focus-visible:not(:disabled),
.search-clear:hover,
.search-clear:focus-visible,
.pin-expand:hover,
.pin-expand:focus-visible,
.map-settings-toggle:hover,
.map-settings-toggle:focus-visible,
.map-settings-toggle[aria-expanded="true"],
.dimension-panel.map-overlay .map-settings-toggle:hover,
.dimension-panel.map-overlay .map-settings-toggle:focus-visible,
.dimension-panel.map-overlay .map-settings-toggle[aria-expanded="true"],
.setting-reset:hover,
.setting-reset:focus-visible {
  border: 0;
  background: #142d40;
  box-shadow: none;
  color: #5fd2ff;
  outline: none;
}

.selection-reset:disabled {
  border: 0;
  background: transparent;
  color: rgba(190, 202, 221, 0.22);
}

.selection-reset:active:not(:disabled),
.search-clear:active,
.pin-expand:active,
.map-settings-toggle:active,
.dimension-panel.map-overlay .map-settings-toggle:active,
.setting-reset:active {
  transform: none;
}

.objective-search,
.source-filter-control select {
  border: 1px solid #334158;
  background: #111725;
  box-shadow: none;
}

.objective-search:focus,
.source-filter-control select:focus {
  border-color: #36b9e9;
  box-shadow: inset 3px 0 0 rgba(54, 185, 233, 0.2);
}

.objective-legend-item:hover,
.objective-legend-item:focus-visible {
  background: rgba(20, 45, 64, 0.8);
}

.objective-legend-item[aria-pressed="true"] {
  background: color-mix(in srgb, var(--objective-group-color) 24%, #102334);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--objective-group-color) 65%, transparent);
}

.objective-legend-quest-control .objective-legend-item[aria-pressed="true"] {
  background: transparent;
  box-shadow: none;
}
