/* Powers of Ten (/gifts/powers-of-ten/): on top of the shared maker look (/gifts/globes/maker.css). */

.pt [hidden] { display: none !important; }
.pt .wm-seg button { padding: 6px 8px; white-space: normal; line-height: 1.25; }
.pt .pt-label { display: block; font-size: 0.8rem; color: var(--muted); margin: 14px 0 6px; }
.pt .pt-label:first-of-type { margin-top: 0; }
.pt .pt-search { margin-top: 0; }
.pt-chips { margin-top: 10px; }
.pt-chips .wm-chip, .pt-mono .wm-chip { font-size: 0.76rem; padding: 5px 10px; }
.pt .wm-checks small { color: var(--muted); font-size: 0.74rem; }

/* the map picker: the cross is the spot, the squares are the prints */
.pt .pt-mapwrap { max-width: none; position: relative; margin-top: 10px; }
.pt .pt-map { aspect-ratio: 1; }
.pt-frames { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.pt-frames text { font: 600 11px 'Schibsted Grotesk', system-ui, sans-serif; fill: #3a2e12; paint-order: stroke; stroke: rgba(255, 255, 255, 0.85); stroke-width: 3px; }

/* the levels, widest first */
.pt-levels { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; font-size: 0.78rem; color: var(--muted); }
.pt-levels li { display: flex; align-items: center; gap: 6px; }
.pt-levels li + li::before { content: '→'; color: rgba(236, 238, 233, 0.35); }
.pt-levels b { color: var(--ink); font-weight: 600; }

/* the zoom's words, in the preview's corner */
.pt-hud {
    position: absolute; left: 16px; top: 14px; z-index: 2; pointer-events: none;
    display: flex; flex-direction: column; gap: 2px; color: var(--ink);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}
.pt-hud-x { font-size: 0.8rem; color: rgba(236, 238, 233, 0.72); letter-spacing: 0.02em; }
.pt-hud-km { font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.pt-dots { display: flex; gap: 6px; margin-top: 8px; }
.pt-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(236, 238, 233, 0.25); transition: background 0.3s; }
.pt-dots i.on { background: var(--gold); }
.pt .wm-stagebar .wm-btn[aria-pressed="true"] { background: var(--ink); color: #141716; }

/* the colours in use */
.pt-mono { margin-top: 10px; }
.pt-mono .wm-chip i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.pt-swatches { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 0.78rem; color: var(--muted); }
.pt-swatches li { display: flex; align-items: center; gap: 6px; }
.pt-swatches i { width: 14px; height: 14px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }

/* one print at a time */
.pt-prints { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.pt-prints li { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; background: var(--field); border-radius: 9px; padding: 6px 6px 6px 10px; }
.pt-prints li > span { flex: 1; min-width: 0; line-height: 1.3; }
.pt-prints li small { display: block; color: var(--muted); font-size: 0.74rem; }
.pt-prints .wm-btn { padding: 5px 10px; font-size: 0.78rem; }
.pt-prints li.is-wait { opacity: 0.5; }

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