/* Bike bits maker (/gifts/bike/): on top of the shared maker look (/gifts/globes/maker.css). */

.bk [hidden] { display: none !important; }
.bk .wm-seg button { padding: 6px 8px; white-space: normal; line-height: 1.25; }
.bk .wm-sec > .wm-seg + .wm-seg, .bk .wm-sec > .wm-seg + .wm-hint + .wm-seg { margin-top: 8px; }
.bk-label { margin: 14px 0 6px; font-size: 0.8rem; color: var(--muted); }
.bk-row { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.bk-row .wm-seg { flex: 1 1 140px; }

.bk-tabs { margin-bottom: 10px; }
.bk-tabs button[aria-selected="true"] { background: var(--accent); color: #04201c; }
.bk-chips .wm-chip { font-size: 0.78rem; padding: 5px 10px; }
.bk-chips .wm-chip small { color: var(--muted); margin-left: 4px; }
.bk-file {
    display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; cursor: pointer; position: relative;
    border: 1.5px dashed rgba(236, 238, 233, 0.25); background: var(--field); transition: border-color 0.15s;
}
.bk-file:hover, .bk-file:focus-within { border-color: var(--accent); }
.bk-file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.bk-file i { font-size: 1.6rem; color: var(--accent); }
.bk-file span { display: flex; flex-direction: column; gap: 2px; }
.bk-file small { color: var(--muted); font-size: 0.78rem; }
.bk-inline { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; font-size: 0.86rem; cursor: pointer; line-height: 1.35; }
.bk-inline input { accent-color: var(--accent); margin-top: 2px; }
.bk-drawbar { display: flex; gap: 6px; margin-top: 8px; }
.bk-drawbar .wm-btn { flex: 1 1 0; justify-content: center; }
.bk-drop {
    position: absolute; inset: 12px; z-index: 5; display: flex; align-items: center; justify-content: center; gap: 10px;
    border: 2px dashed var(--accent); border-radius: 16px; background: rgba(20, 23, 22, 0.84); color: var(--ink); font-size: 1.1rem; pointer-events: none;
}
.bk-drop i { font-size: 1.8rem; color: var(--accent); }

.bk .bk-mapwrap { max-width: none; position: relative; margin-top: 10px; }
.bk .bk-map { aspect-ratio: 1 / 0.8; }
.bk-map.is-drawing .maplibregl-canvas { cursor: crosshair; }
.bk-dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45); }
.bk-dot.is-start { background: #2fa596; }
.bk-dot.is-top { background: repeating-conic-gradient(#111 0 25%, #fff 0 50%) 50% / 6px 6px; }

/* the climb: its profile and numbers */
.bk-card { margin-top: 10px; background: var(--field); border-radius: 12px; padding: 10px 12px 12px; }
.bk-prof { display: block; width: 100%; height: 64px; }
.bk-prof .fill { fill: rgba(47, 165, 150, 0.32); }
.bk-prof .line { fill: none; stroke: var(--accent); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.bk-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 6px 10px; margin: 8px 0 0; }
.bk-stats div { min-width: 0; }
.bk-stats dt { font-size: 0.7rem; color: var(--muted); }
.bk-stats dd { margin: 0; font-size: 0.92rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bk .bk-cr { margin-top: 10px; }

.bk-items { gap: 6px; }
.bk-items .wm-chip[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--accent); background: rgba(47, 165, 150, 0.14); }
.bk-items .wm-chip i { background: none; width: auto; height: auto; font-size: 1rem; vertical-align: -2px; margin-right: 4px; color: var(--accent); }
.bk-pals .wm-chip b { display: inline-flex; gap: 1px; margin-right: 6px; vertical-align: -2px; border-radius: 3px; overflow: hidden; }
.bk-pals .wm-chip b i { display: block; width: 8px; height: 12px; margin: 0; border-radius: 0; box-shadow: none; }

.bk-safety { display: flex; gap: 10px; align-items: flex-start; background: rgba(47, 165, 150, 0.1); border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; }
.bk-safety i { font-size: 1.3rem; color: var(--accent); flex: none; margin-top: 1px; }
.bk-safety p { margin: 0; font-size: 0.8rem; line-height: 1.45; color: var(--ink); }

.bk-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); }
.bk-swatches li { display: flex; align-items: center; gap: 6px; }
.bk-swatches i { width: 14px; height: 14px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.bk-warn { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.bk-warn:empty { display: none; }
.bk-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) {
    .bk .wm-stagebar .wm-btn span { display: none; }
}
