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

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

/* the map: the circle is the area, the bright slice becomes the snowflake (drawn by app.js) */
.sf .sf-mapwrap { max-width: none; position: relative; }
.sf .sf-map { aspect-ratio: 1; }
.sf-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.sf-chips { margin-top: 10px; }
.sf-chips .wm-chip, .sf-colours .wm-chip { font-size: 0.76rem; padding: 5px 10px; }

/* turning the slice */
.sf-turn { display: flex; gap: 6px; margin-top: 8px; }
.sf-turn .wm-btn { flex: 1 1 0; justify-content: center; }
.sf-turn .wm-btn[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--accent); }

/* warnings */
.sf-warn { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sf-warn:empty { display: none; }
.sf-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) {
    .sf .wm-stagebar .wm-btn span { display: none; }
}
