/* Gift card holder (/gifts/gift-card/): on top of the shared maker look (/gifts/globes/maker.css). */

.gc [hidden] { display: none !important; }
.gc .gc-label { display: block; font-size: 0.8rem; color: var(--muted); margin: 14px 0 6px; }
.gc .wm-seg + .wm-hint { margin-top: 8px; }

/* the map: the holder's map area over it (drawn by app.js) */
.gc .gc-mapwrap { max-width: none; position: relative; margin-top: 10px; }
.gc .gc-map { aspect-ratio: 4 / 3; }
.gc-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.gc-chips { margin-top: 10px; }
.gc-chips .wm-chip, .gc-swatches .wm-chip { font-size: 0.76rem; padding: 5px 10px; }
.gc .gc-kind { margin-bottom: 8px; }
.gc .gc-kind .bx { margin-right: 4px; vertical-align: -2px; }
.gc-kindhint { margin: 0 0 12px; }

/* lettering */
.gc-fonts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.gc-font {
    display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px 7px;
    background: var(--field); border: 0; border-radius: 9px; color: var(--ink); font: inherit; cursor: pointer;
}
.gc-font:hover { background: #262b29; }
.gc-font[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--accent); }
.gc-font b { font-size: 1.15rem; font-weight: 400; line-height: 1.3; }
.gc-font small { font-size: 0.68rem; color: var(--muted); }
.gc-swatch[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--accent) !important; }

/* the card in the preview */
.gc-cardtoggle { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--muted); cursor: pointer; }
.gc-cardtoggle input { accent-color: var(--accent); }

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