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

.gt [hidden] { display: none !important; }
.gt .gt-label { display: block; font-size: 0.8rem; color: var(--muted); margin: 14px 0 6px; }

/* the list of tags */
.gt-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.gt-row { display: flex; align-items: stretch; gap: 4px; }
.gt-pick {
    flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; text-align: left;
    background: var(--field); border: 0; border-radius: 9px; padding: 7px 10px; color: var(--ink); font: inherit; cursor: pointer;
}
.gt-pick:hover { background: #262b29; }
.gt-row.on .gt-pick { box-shadow: inset 0 0 0 1.5px var(--accent); background: rgba(47, 165, 150, 0.1); }
.gt-row.bad .gt-pick { box-shadow: inset 0 0 0 1.5px #d9b14a; }
.gt-num {
    flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(236, 238, 233, 0.1); font-size: 0.78rem; font-weight: 600;
}
.gt-row.on .gt-num { background: var(--accent); color: #0f1413; }
.gt-who { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.gt-who b { font-weight: 600; font-size: 0.88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gt-who small { color: var(--muted); font-size: 0.74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gt-del {
    flex: none; width: 34px; border: 0; border-radius: 9px; background: var(--field); color: var(--muted); cursor: pointer; font-size: 1.1rem;
}
.gt-del:hover { color: var(--ink); background: #262b29; }
.gt-listbar { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.gt-listbar .wm-hint { margin: 0; }

/* the map: the tag's outline over it (drawn by app.js) */
.gt .gt-mapwrap { max-width: none; position: relative; margin-top: 10px; }
.gt .gt-map { aspect-ratio: 1; }
.gt-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.gt-chips { margin-top: 10px; }
.gt-chips .wm-chip, .gt-swatches .wm-chip { font-size: 0.76rem; padding: 5px 10px; }

/* shapes and lettering */
.gt-shapes, .gt-fonts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.gt-shape, .gt-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;
}
.gt-shape svg { width: 34px; height: 34px; color: var(--muted); }
.gt-shape span { font-size: 0.76rem; }
.gt-shape:hover, .gt-font:hover { background: #262b29; }
.gt-shape[aria-pressed="true"], .gt-font[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--accent); }
.gt-shape[aria-pressed="true"] svg { color: var(--accent); }
.gt-font b { font-size: 1.15rem; font-weight: 400; line-height: 1.3; }
.gt-font small { font-size: 0.68rem; color: var(--muted); }
.gt-swatch[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--accent) !important; }
.gt-bed { margin-top: 0; }

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