/* Cloud UI components: top bar, dates and guests, map, lens. Uses the tokens in styles.css
 * (--bg, --bg-elev, --fg, --fg-muted, --line, --accent, --radius-*, --ease, --dur). */

:root {
  --topbar-h: 150px;
  --warn: #8a5300;
  --warn-soft: rgba(183, 121, 31, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --warn: #f0b35b;
    --warn-soft: rgba(240, 179, 91, 0.14);
  }
}

:root[data-theme="dark"] {
  --warn: #f0b35b;
  --warn-soft: rgba(240, 179, 91, 0.14);
}

html {
  scroll-padding-top: calc(var(--topbar-h) + 12px);
}

.shell {
  padding-top: var(--topbar-h);
}

.masthead {
  padding-top: 28px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform var(--dur) var(--ease);
}

.skip:focus {
  transform: none;
}

/* Shared icon sizing for the component buttons */

.bar-btn svg,
.seg-btn svg,
.stay-pill svg,
.map-ctl svg,
.stepper-btn svg,
.warn-line svg,
.lens-warn svg,
.lens-loc svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Top bar: pinned, at any scroll depth */

.cloud-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  padding-top: env(safe-area-inset-top);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.cloud-topbar[data-scrolled] {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(0, 0, 0, 0.45);
}

.topbar-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 6px var(--gutter) 8px;
  display: grid;
  align-items: center;
  gap: 6px 8px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "back title actions"
    "stay stay view"
    "tabs tabs sort";
}

.topbar-back {
  grid-area: back;
  margin-left: -10px;
}

.topbar-back[hidden] {
  display: none;
}

.topbar-title {
  grid-area: title;
  margin: 0;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-stay {
  grid-area: stay;
  min-width: 0;
}

.topbar-stay[hidden] {
  display: none;
}

.topbar-view {
  grid-area: view;
  justify-self: end;
}

.topbar-actions {
  grid-area: actions;
  justify-self: end;
  display: flex;
  gap: 6px;
}

.topbar-tabs {
  grid-area: tabs;
}

.topbar-sort {
  grid-area: sort;
}

.sort.topbar-sort {
  width: auto;
}

.bar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg-elev);
  color: var(--fg);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.bar-btn:hover:not(:disabled) {
  border-color: var(--fg);
}

.bar-btn[aria-pressed="true"] {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.bar-btn[aria-pressed="true"] svg {
  fill: currentColor;
}

.bar-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.seg {
  display: inline-flex;
  padding: 2px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg-elev);
}

.seg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--fg-muted);
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.seg-btn:hover {
  color: var(--fg);
}

.seg-btn[aria-pressed="true"] {
  background: var(--fg);
  color: var(--bg);
}

@media (max-width: 519px) {
  .bar-label,
  .seg-btn span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .topbar-sort > span {
    display: none;
  }

  .topbar-sort select {
    max-width: 150px;
  }

  .bar-btn {
    gap: 4px;
    padding: 0 8px;
  }

  .seg-btn {
    padding: 0;
  }

  .stay-pill {
    gap: 6px;
    padding: 0 12px;
  }

  .stay-guests {
    padding-left: 8px;
  }

  .stay-pill > svg {
    display: none;
  }

  .stay-guests-w {
    display: none;
  }
}

@media (min-width: 960px) {
  .topbar-grid {
    padding-top: 8px;
    gap: 8px 12px;
    grid-template-columns: auto auto auto minmax(0, 1fr) auto auto;
    grid-template-areas:
      "back title stay . view actions"
      "tabs tabs tabs tabs tabs sort";
  }

  .topbar-title {
    max-width: 26ch;
    font-size: 22px;
  }
}

/* Dates and guests */

.stay {
  position: relative;
  min-width: 0;
}

.stay-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg-elev);
  color: var(--fg);
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.stay-pill:hover {
  border-color: var(--fg);
}

.stay-pill.is-changed {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.stay-dates {
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stay-guests {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-left: 10px;
  border-left: 1px solid var(--line-strong);
  color: var(--fg-muted);
}

.stay-pill .stay-guests svg {
  width: 16px;
  height: 16px;
}

.stay-guests-w {
  white-space: pre;
}

.stay-pop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 40;
  width: min(420px, calc(100vw - 2 * var(--gutter)));
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  box-shadow: 0 28px 60px -24px rgba(0, 0, 0, 0.4);
  animation: cloud-pop-in 200ms var(--ease);
  transform-origin: top left;
}

.stay-pop[hidden] {
  display: none;
}

@keyframes cloud-pop-in {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
  }
}

.stay-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.stay-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.stay-field label,
.stay-label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.stay-input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--bg);
  color: var(--fg);
  font: inherit;
  font-variant-numeric: tabular-nums;
}

.stay-input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.stay-field-guests {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.stepper-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.stepper-btn:hover:not(:disabled) {
  border-color: var(--fg);
}

.stepper-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.stepper-value {
  min-width: 2ch;
  text-align: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}

.stay-foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
}

.stay-line {
  margin: 0;
  font-size: 13px;
  color: var(--fg-muted);
}

.stay-reset {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.stay-reset[hidden] {
  display: none;
}

.stay-done {
  width: 100%;
  margin-top: 12px;
}

.stay-inline {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.stay-heading {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* Estimates and availability */

.estimate-note {
  margin: 0;
  font-size: 12px;
  color: var(--fg-muted);
}

.card-price .est {
  margin-top: 2px;
  white-space: nowrap;
}

.pick-price .price .est {
  display: block;
  margin: 4px 0 0;
}

.warn-line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 13px;
  color: var(--warn);
}

.warn-line svg {
  width: 16px;
  height: 16px;
}

.card-warn {
  grid-column: 1 / -1;
  margin-top: 4px;
}

.card[data-unavailable] .card-media img {
  filter: saturate(0.55);
}

.lens-warn {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--warn-soft);
  color: var(--fg);
  font-size: 14px;
}

.lens-warn svg {
  color: var(--warn);
  margin-top: 1px;
}

/* View switch */

body[data-view="map"] .masthead,
body[data-view="map"] .pick {
  display: none;
}

#content:not([hidden]),
.mapview:not([hidden]) {
  animation: cloud-view-in 280ms var(--ease);
}

@keyframes cloud-view-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

#content:focus {
  outline: none;
}

/* Map */

.mapview {
  padding-top: 16px;
}

.map-host {
  height: calc(100dvh - var(--topbar-h) - 96px);
  min-height: 420px;
}

.map-frame {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--image-fallback);
}

.map-frame[aria-busy="true"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.18) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: cloud-shimmer 1.6s linear infinite;
  pointer-events: none;
}

@keyframes cloud-shimmer {
  from {
    background-position: 150% 0;
  }
  to {
    background-position: -50% 0;
  }
}

.map-canvas {
  position: absolute;
  inset: 0;
}

.map-controls {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  gap: 6px;
}

.map-controls[hidden] {
  display: none;
}

.map-ctl {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-elev);
  color: var(--fg);
  box-shadow: 0 4px 14px -6px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.map-ctl:hover {
  border-color: var(--fg);
}

.map-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.map-note {
  margin: 10px 2px 0;
  font-size: 13px;
  color: var(--fg-muted);
}

.gpin-layer {
  position: absolute;
  left: 0;
  top: 0;
}

.gpin {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  display: grid;
  place-items: end center;
  min-width: 44px;
  min-height: 44px;
  padding: 4px 2px 6px;
  border: 0;
  background: transparent;
  color: var(--fg);
  font: inherit;
  cursor: pointer;
}

.gpin[data-pick] {
  z-index: 2;
}

.gpin:hover,
.gpin:focus-visible,
.gpin[data-focused] {
  z-index: 3;
}

.gpin:focus-visible {
  outline: none;
}

.gpin-body {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--bg-elev);
  color: var(--fg);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  box-shadow: 0 0 0 1px var(--line-strong), 0 4px 12px -4px rgba(0, 0, 0, 0.35);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.gpin-body::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 8px;
  height: 8px;
  background: inherit;
  transform: translateX(-50%) rotate(45deg);
  box-shadow: 1px 1px 0 0 var(--line-strong);
}

.gpin-body svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
  stroke: none;
}

.gpin[data-pick] .gpin-body {
  background: var(--accent);
  color: var(--accent-fg);
}

.gpin[data-muted] .gpin-body {
  background: var(--bg);
  color: var(--fg-muted);
}

.gpin:hover .gpin-body,
.gpin:focus-visible .gpin-body,
.gpin[data-focused] .gpin-body {
  transform: scale(1.08);
  background: var(--fg);
  color: var(--bg);
}

.gpin:focus-visible .gpin-body {
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
}

.map-fallback {
  position: absolute;
  inset: 0;
  overflow: auto;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: 28px 20px;
  text-align: center;
}

.map-fallback > svg {
  width: 36px;
  height: 36px;
  stroke: var(--fg-muted);
  stroke-width: 1.4;
  fill: none;
}

.map-fallback-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
}

.map-fallback-note {
  margin: 0;
  max-width: 46ch;
  color: var(--fg-muted);
  font-size: 14px;
}

.map-fallback-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.map-fallback-list li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.map-fallback-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  font-size: 13px;
  color: var(--fg-muted);
}

/* Lens */

.lens-slot:empty {
  display: none;
}

.lens-section {
  display: grid;
  gap: 8px;
}

.lens-h {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.sheet-head-copy {
  min-width: 0;
}

.sheet-head-copy .overline {
  margin-bottom: 4px;
}

.lens-price {
  text-align: right;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.lens-price small {
  display: block;
  margin-top: 4px;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--fg-muted);
}

.lens-total {
  display: block;
  margin-top: 6px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--fg-muted);
}

.lens-total strong {
  color: var(--fg);
  font-weight: 600;
}

.lens-price .estimate-note {
  max-width: 24ch;
  margin-left: auto;
}

.seller-scroll {
  overflow-x: auto;
}

.sellers {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.sellers th,
.sellers td {
  padding: 8px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.sellers thead th {
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-muted);
}

.sellers tbody th {
  font-weight: 500;
}

.sellers .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.sellers td:last-child {
  text-align: right;
}

.seller-note {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--fg-muted);
}

.facts dd.fact-source,
.fact-source {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.4;
  color: var(--fg-faint);
}

.lens-loc {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 15px;
}

.lens-muted {
  margin: 0;
  font-size: 13px;
  color: var(--fg-muted);
}

.lens-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.lens-rating {
  margin: 0;
  font-size: 15px;
}

.lens-rating strong {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  margin-right: 4px;
}

@media (max-width: 719px) {
  .sheet-head {
    grid-template-columns: 1fr;
  }

  .sheet-head .lens-price,
  .sheet-head .lens-price .estimate-note {
    text-align: left;
    margin-left: 0;
    max-width: none;
  }

  .sellers thead th:nth-child(2),
  .sellers tbody td:nth-child(2) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .map-frame[aria-busy="true"]::after {
    animation: none;
  }

  .gpin:hover .gpin-body,
  .gpin:focus-visible .gpin-body,
  .gpin[data-focused] .gpin-body {
    transform: none;
  }
}

/* cloud.gallery/4: pin clusters, the home pin, category picks side by side, sources. */

.gcluster-layer {
  position: absolute;
  left: 0;
  top: 0;
}

.gpin[hidden] {
  display: none;
}

.gcluster {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  display: grid;
  place-items: end center;
  min-width: 44px;
  min-height: 44px;
  padding: 2px;
  border: 0;
  background: transparent;
  color: var(--bg);
  font: inherit;
  cursor: pointer;
}

.gcluster-body {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--fg) 22%, transparent), 0 6px 14px -6px rgba(0, 0, 0, 0.45);
  transition: transform var(--dur) var(--ease);
}

.gcluster[data-pick] .gcluster-body {
  background: var(--accent);
  color: var(--accent-fg);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent), 0 6px 14px -6px rgba(0, 0, 0, 0.45);
}

.gcluster-body svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
  stroke: none;
}

.gcluster:hover .gcluster-body,
.gcluster:focus-visible .gcluster-body {
  transform: scale(1.08);
}

.gcluster:focus-visible {
  outline: none;
}

.gcluster:focus-visible .gcluster-body {
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
}

.ghome {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  pointer-events: none;
  padding-bottom: 6px;
}

.ghome-body {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 8px;
  border-radius: 10px;
  background: var(--bg);
  color: var(--fg);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 0 0 1.5px var(--fg), 0 4px 12px -4px rgba(0, 0, 0, 0.35);
}

.ghome-body::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 8px;
  height: 8px;
  background: inherit;
  transform: translateX(-50%) rotate(45deg);
  box-shadow: 1.5px 1.5px 0 0 var(--fg);
}

.ghome-body svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.ghome-area {
  font-weight: 400;
  color: var(--fg-muted);
}

.pick[data-layout="multi"] {
  display: block;
  padding: 0;
  background: transparent;
  border: 0;
}

.pick-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.pick-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
  min-width: 0;
  padding: 12px;
  border-radius: calc(var(--radius-lg) + 6px);
  background: var(--bg-elev);
  border: 1px solid var(--line);
}

.pick-card .overline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pick-card .overline svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
  stroke: none;
}

.pick-card .pick-title {
  font-size: clamp(24px, 2.4vw, 30px);
}

.pick-media.is-missing::after {
  content: attr(data-initial);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--fg-muted);
}

.pick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin: 0;
  font-size: 14px;
  color: var(--fg-muted);
}

.pick-facts .dot + .dot::before {
  content: "\00B7";
  margin: 0 8px;
}

.pick-card .pick-actions {
  margin-top: auto;
  padding-top: 6px;
}

.tag-category {
  background: var(--bg-elev);
  color: var(--fg);
}

.lens-source-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.lens-source-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
}

.lens-source-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--fg);
  text-underline-offset: 3px;
}

.lens-source-list svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

@media (min-width: 720px) {
  .pick-row {
    grid-template-columns: repeat(var(--picks, 3), minmax(0, 1fr));
  }
}
