/* Cache container (/gifts/cache-containers/): on top of the shared maker look (/gifts/globes/maker.css). */

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

/* the map: the circle is the lid (drawn by app.js), the pin marks the hiding spot */
.cc .cc-mapwrap { max-width: none; position: relative; }
.cc .cc-map { aspect-ratio: 1; }
.cc-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cc-pin { cursor: grab; line-height: 0; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45)); }
.cc-chips { margin-top: 10px; }
.cc-chips .wm-chip { font-size: 0.76rem; padding: 5px 10px; }
.cc-chips .wm-chip[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--accent); }
.cc-pal i { display: inline-block; width: 14px; height: 14px; border-radius: 50%; margin-right: 6px; vertical-align: -2px; border: 1px solid rgba(255, 255, 255, 0.25); }
.cc-row { display: flex; gap: 6px; margin-top: 8px; }
.cc-row .wm-btn { flex: 1 1 0; justify-content: center; }
.cc-row .wm-btn[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--accent); }
.cc #ccCoords { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cc .cc-seal { font-size: 0.82rem; line-height: 1.45; border-left: 3px solid var(--accent); padding: 4px 0 4px 10px; margin: 10px 0; }

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