/* Map gift box (/gifts/gift-box/): on top of the shared maker look (/gifts/globes/maker.css). */

.gb [hidden] { display: none !important; }
.gb .wm-seg button { padding: 6px 8px; white-space: normal; line-height: 1.25; }
.gb .wm-seg.gb-sub { margin-top: 8px; }
.gb .gb-label { display: block; font-size: 0.8rem; color: var(--muted); margin: 14px 0 6px; }

/* the map: the outline is the lid (drawn by app.js), the heart marks the spot */
.gb .gb-mapwrap { max-width: none; position: relative; }
.gb .gb-map { aspect-ratio: 1; }
.gb-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.gb-heart { cursor: grab; line-height: 0; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45)); }
.gb-chips { margin-top: 10px; }
.gb-chips .wm-chip { font-size: 0.76rem; padding: 5px 10px; }
.gb-chips .wm-chip[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--accent); }
.gb-pal i { display: inline-block; width: 14px; height: 14px; border-radius: 50%; margin-right: 6px; vertical-align: -2px; border: 1px solid rgba(255, 255, 255, 0.25); }
#gbInside { margin-bottom: 10px; }
#gbInsRow { margin-bottom: 6px; }
.gb-row { display: flex; gap: 6px; margin-top: 8px; }
.gb-row .wm-btn { flex: 1 1 0; justify-content: center; }
.gb-row .wm-btn[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--accent); }
.gb #gbCoords { color: var(--muted); white-space: nowrap; }

/* warnings */
.gb-warn { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.gb-warn:empty { display: none; }
.gb-warn li { font-size: 0.78rem; line-height: 1.4; color: #f3d38a; background: rgba(217, 177, 74, 0.1); border-radius: 8px; padding: 7px 9px; }

@media (max-width: 560px) {
    .gb .wm-stagebar .wm-btn span { display: none; }
}
