/* Stained-glass suncatcher (/gifts/suncatcher/): on top of the shared maker look (/gifts/globes/maker.css). */

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

/* the map: the frame's window is clear, the rest dimmed (drawn by app.js) */
.sc .sc-mapwrap { max-width: none; position: relative; }
.sc .sc-map { aspect-ratio: 1; }
.sc-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.sc-chips { margin-top: 10px; }
.sc-chips .wm-chip { font-size: 0.76rem; padding: 5px 10px; }

/* the preview: a soft daylit room behind the window */
.sc .sc-view {
    background:
        radial-gradient(ellipse at 50% 38%, rgba(255, 252, 240, 0.16), transparent 64%),
        linear-gradient(180deg, #2c3038, #1d2027);
}
.sc .wm-stagebar .wm-btn[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--accent); }

.sc-shuffle { margin-top: 10px; }

/* the parts and their filaments */
.sc-parts { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 0.8rem; color: var(--muted); }
.sc-parts li { display: flex; align-items: center; gap: 8px; }
.sc-parts i { width: 14px; height: 14px; border-radius: 3px; flex: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }

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