/* Light-up Christmas village (/gifts/christmas-village/): on top of the shared maker look (/gifts/globes/maker.css). */

.cv .cv-label { display: block; font-size: 0.8rem; color: var(--muted); margin: 14px 0 6px; }
.cv .wm-sec .cv-label:first-of-type { margin-top: 2px; }
.cv .wm-seg button { padding: 6px 8px; }
.cv .cv-chips { margin: 10px 0 0; gap: 6px; }
.cv .cv-chips .wm-chip { font-size: 0.8rem; padding: 5px 10px; cursor: pointer; font-family: inherit; }
.cv .cv-mapwrap { max-width: none; margin-top: 10px; }
.cv .cv-mapwrap .wm-map { aspect-ratio: 16 / 12; }
.cv .wm-stagebar .wm-btn[aria-pressed="true"] { background: var(--accent); color: #fff; }
.cv .cv-view { background: #0b1226; }

/* the numbered pins on the map */
.cv-pin {
    width: 20px; height: 20px; border-radius: 50%; background: #13232b; color: #fff; border: 2px solid #2fa596;
    font: 650 0.7rem/16px 'Schibsted Grotesk', system-ui, sans-serif; text-align: center; pointer-events: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

/* the list of houses */
.cv-count { margin: 10px 0 6px; font-size: 0.86rem; }
.cv-count:empty { display: none; }
.cv-houses { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 4px; }
.cv-houses li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto 28px; gap: 8px; align-items: center; font-size: 0.84rem; }
.cv-num { width: 22px; height: 22px; border-radius: 50%; background: #2a3340; color: #fff; font-weight: 650; font-size: 0.74rem; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2); }
.cv-houses li.is-home .cv-num { background: var(--accent); }
.cv-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-dim { color: var(--muted); font-size: 0.78rem; white-space: nowrap; }
.cv-rm { width: 28px; height: 28px; border-radius: 8px; border: 0; background: transparent; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.cv-rm:hover { background: var(--field); color: var(--ink); }

.cv .cv-field { display: grid; gap: 6px; margin-top: 10px; font-size: 0.84rem; color: var(--muted); }
.cv .cv-field input { background: var(--field); color: var(--ink); border: 1px solid transparent; border-radius: 9px; padding: 8px 10px; font: inherit; font-size: 0.9rem; }
.cv .cv-field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.cv-sheet { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.cv-sheet select { background: var(--field); color: var(--ink); border: 1px solid transparent; border-radius: 9px; padding: 8px 10px; font: inherit; font-size: 0.88rem; }
.cv .wm-sec-out h3 { margin-top: 16px; }
.cv .wm-colors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cv [hidden] { display: none !important; }

@media (max-width: 560px) {
    .cv .wm-seg button { padding: 6px 5px; font-size: 0.76rem; }
    .cv .wm-stagebar .wm-btn span { display: none; }
    .cv-dim { display: none; }
    .cv-houses li { grid-template-columns: 22px minmax(0, 1fr) 28px; }
}
