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

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

/* the preview: a soft winter evening behind the ball */
.bb .bb-view { background: radial-gradient(120% 90% at 50% 30%, #2b3a48 0%, #1b232c 62%, #151a20 100%); }
.bb .bb-views { display: inline-flex; }
.bb .bb-views button { padding: 5px 10px; }

/* the map: the circle wraps the front; white is solid (caps, band), dark goes round the side (drawn by app.js) */
.bb .bb-mapwrap { max-width: none; position: relative; }
.bb .bb-map { aspect-ratio: 1; }
.bb-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.bb .bb-side { margin-bottom: 10px; }
.bb-chips { margin-top: 10px; }
.bb-chips .wm-chip, .bb-colours .wm-chip { font-size: 0.76rem; padding: 5px 10px; }
.bb-colours { margin-bottom: 10px; }

/* warnings */
.bb-warn { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.bb-warn:empty { display: none; }
.bb-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) {
    .bb .bb-views button { padding: 5px 7px; font-size: 0.78rem; }
}
