.compat-world {
  position: absolute; inset: 0; overflow: hidden; isolation: isolate;
  background: #dfcfaa; color: #473421; touch-action: none; user-select: none; cursor: grab;
}
.compat-world:active { cursor: grabbing; }
.compat-world > canvas { display: block; width: 100%; height: 100%; }
.compat-world .compat-pin {
  position: absolute; display: flex; align-items: center; justify-content: center; gap: .35em;
  min-height: 40px; padding: 5px 9px; border: 1px solid #755b38; border-radius: 5px;
  background: #fff2d8; color: #402c1c; font: 650 15px/1.25 var(--serif, serif);
  white-space: nowrap; cursor: pointer; transform: translate(-50%, -100%);
  box-shadow: 0 2px 5px #38271050; touch-action: manipulation;
}
.compat-world .compat-pin::after {
  content: ''; position: absolute; top: 100%; left: calc(50% - 4px); width: 7px; height: 7px;
  background: inherit; border: solid #755b38; border-width: 0 1px 1px 0; transform: translateY(-3px) rotate(45deg);
}
.compat-world .compat-pin[data-kind="npc"] { background: #60452f; color: #fff3d6; }
.compat-world .compat-pin[data-done="true"] { background: #e0eacb; color: #364c34; }
.compat-world .compat-pin:focus-visible { outline: 3px solid #a04831; outline-offset: 3px; }
.compat-world .compat-pin:hover { border-color: #8c3e30; }
.compat-world .compat-pin .scroll-icon { width: 15px; height: 15px; }
@media (pointer: coarse) { .compat-world .compat-pin { min-height: 44px; } }
@media (max-width: 550px) { .compat-world .compat-pin { font-size: 14px; padding: 5px 7px; gap: .22em; } }
