/* /map/create-world — the gwc engine's map chrome. */

/* Paint-design composites are pixel art — never smooth them. Uploaded
 * photos/GIFs (kind="media") deliberately DON'T get this class. */
.gw-paint-img {
  image-rendering: pixelated;
}

/* Pin-mode active state on the EasyButton (mirrors the painter's /
 * place-objects' toggle look — the shared .tp-edit-active class). */
.gw-pin-easybtn.tp-edit-active,
.gw-pin-easybtn.tp-edit-active button {
  background: var(--mantine-color-harbor-6);
  color: white;
}

/* Mobile: the Details rail takes the full width on small screens so
 * its content never renders squeezed beside a sliver of map. */
@media (max-width: 480px) {
  #gw-details-drawer .mantine-Drawer-content,
  .mantine-Drawer-root .mantine-Drawer-content {
    max-width: 100vw;
  }
}
