/* Toy-car play mat (/gifts/play-mat/): on top of the shared maker look (/gifts/globes/maker.css). */

.pm [hidden] { display: none !important; }
.pm .wm-seg button { padding: 6px 8px; white-space: normal; line-height: 1.25; }
.pm .pm-label { display: block; font-size: 0.8rem; color: var(--muted); margin: 14px 0 6px; }
.pm .pm-mapwrap { max-width: none; position: relative; margin-top: 10px; }
.pm .pm-map { aspect-ratio: 1 / 1; }
.pm-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pm-chips { margin-top: 10px; }
.pm-chips .wm-chip, .pm-suggest .wm-chip { font-size: 0.76rem; padding: 5px 10px; }
.pm-chips .wm-chip[aria-pressed="true"], .pm-suggest .wm-chip[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--accent); }
.pm-suggest { margin-top: 8px; }
.pm-suggest strong { font-weight: 600; }
.pm-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pm-row .wm-btn { flex: 1 1 auto; justify-content: center; }
.pm .wm-stagebar .wm-btn[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--accent); }
.pm-area { font-size: 0.8rem; margin: 8px 0 0; color: var(--text, #e8e8e8); font-weight: 600; }
.pm-home { font-size: 0.8rem; margin: 8px 0 4px; color: var(--muted); }
.pm-link { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; cursor: pointer; text-decoration: underline; }
.pm-steps { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.pm-step { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; }
.pm-step > span { color: var(--muted); min-width: 3.4em; }
.pm-step .wm-btn { width: 32px; height: 32px; padding: 0; justify-content: center; font-size: 1.1rem; }
.pm-step strong { min-width: 1.4em; text-align: center; font-size: 1rem; }
.pm-tiles { display: flex; flex-wrap: wrap; gap: 6px; }
.pm-tiles .wm-btn { font-size: 0.78rem; padding: 5px 10px; }
.pm-bad { color: #f3d38a !important; }
.pm-safe { font-size: 0.8rem; line-height: 1.4; margin: 0 0 10px; padding: 8px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); }
.pm-safe i { margin-right: 4px; vertical-align: -2px; }

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