/* Camera shelf, shared by host setup, guest selection and the in-camera switcher. */
.camera-collection { min-width: 0; width: 100%; }
.catalog-track { position: relative; display: flex; align-items: stretch; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-block: 4px 12px; scrollbar-width: none; }
.catalog-track::-webkit-scrollbar { display: none; }
.catalog-card { display: flex; flex: 0 0 100%; flex-direction: column; align-items: center; min-width: 0; padding: 20px 20px 24px; border-radius: 20px; background: var(--ui-card); color: var(--ui-text); scroll-snap-align: center; scroll-snap-stop: always; text-align: center; }
.catalog-card:focus-visible { outline: 2px solid var(--ui-tint); outline-offset: -4px; }
.catalog-card:active { opacity: 1; }
.catalog-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 24px; color: var(--ui-secondary); font-size: 13px; font-weight: 500; letter-spacing: .04em; }
.catalog-tag { padding: 3px 9px; border-radius: 980px; background: var(--ui-fill); color: var(--ui-text); font-size: 12px; letter-spacing: 0; }
.catalog-art { display: block; flex-shrink: 0; width: 100%; height: clamp(150px, 26dvh, 230px); overflow: hidden; }
.catalog-art img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 14px rgb(0 0 0 / .18)); pointer-events: none; }
.catalog-model { font-size: clamp(26px, 7vw, 30px); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; margin-top: 8px; }
.catalog-type { color: var(--ui-secondary); font-size: 15px; margin-top: 4px; }
.catalog-for { color: var(--ui-secondary); font-size: 15px; margin-top: 2px; }
.catalog-navigation { display: flex; align-items: center; justify-content: center; gap: 24px; margin: 4px 0 0; }
.catalog-navigation button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ui-fill); color: var(--ui-text); }
.catalog-navigation svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.catalog-navigation button:disabled { opacity: .35; cursor: default; }
.catalog-position { margin: 0; min-width: 44px; text-align: center; color: var(--ui-secondary); font-size: 15px; font-variant-numeric: tabular-nums; }
.collection-page { width: 100%; max-width: 560px; margin: auto; min-height: 100dvh; padding: max(12px, env(safe-area-inset-top)) 0 max(16px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; }
.collection-heading { padding-inline: 20px; }
.collection-heading .flow-nav { margin-bottom: 12px; }
.collection-heading .flow-copy { margin-bottom: 16px; }
.catalog-track { padding-inline: 20px; scroll-padding-inline: 20px; gap: 12px; }
.collection-footer { position: sticky; bottom: 0; z-index: 2; margin-top: auto; padding: 16px 20px max(12px, env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--ui-bg) 20px); }
.collection-footer .field-help { text-align: center; margin: 10px 0 0; }
.setup-camera-shelf { margin: 0 -20px 16px; }
.setup-sample { margin: 0 0 24px; }
.setup-sample summary { min-height: 44px; padding: 12px 4px; color: var(--ui-tint); font-size: 15px; cursor: pointer; list-style: none; text-align: center; }
.setup-sample summary::-webkit-details-marker { display: none; }
.camera-picker { width: min(100%, 560px); height: min(100dvh, 900px); max-height: 100dvh; padding: 0; margin: auto auto 0; background: var(--ui-bg); color: var(--ui-text); border: 0; border-radius: 16px 16px 0 0; overflow: hidden; }
.camera-picker-content { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; }
.camera-picker-heading { padding: max(12px, env(safe-area-inset-top)) 20px 8px; }
.camera-picker-heading .dialog-heading { min-height: 52px; }
.camera-picker-heading h2 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.camera-picker-heading p { font-size: 15px; line-height: 1.4; color: var(--ui-secondary); margin: 0; }
.camera-picker-body { min-height: 0; overflow-y: auto; padding-block: 8px 16px; }
.camera-picker .collection-footer { position: static; background: none; }
.camera-picker .catalog-art { height: clamp(150px, 26dvh, 250px); }
.camera-picker .icon-button { width: 32px; height: 32px; min-width: 44px; min-height: 44px; background: none; flex-shrink: 0; }
.camera-picker .close-symbol { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ui-fill); color: var(--ui-secondary); font-size: 20px; }
.camera-dock .film-summary { gap: 9px; max-width: 100%; min-height: 44px; }
.current-camera-art { width: 48px; height: 44px; object-fit: contain; pointer-events: none; }
.current-camera-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.current-camera-copy strong { font-size: 13px; font-weight: 500; color: #f5f5f7; }
.current-camera-copy > span { font-size: 12px; color: #98989d; }
.shared-photo .photo-camera { display: block; font-size: 12px; color: #c7c7cc; margin-top: 3px; }
.viewer-camera { font-size: 13px; color: #8e8e93; }
@media(max-height:700px) {
  .catalog-card { padding: 12px 16px 16px; }
  .catalog-art, .camera-picker .catalog-art { height: 140px; }
    .catalog-model { font-size: 26px; }
  .collection-heading .flow-nav { margin-bottom: 6px; }
}
@media(orientation:landscape) and (max-height:600px) {
  .camera-picker-heading { padding-top: 8px; }
  .camera-picker-heading .dialog-heading { margin-bottom: 0; }
  .camera-picker-heading > p { display: none; }
  .camera-picker .catalog-card { display: grid; grid-template-columns: 140px 1fr; column-gap: 18px; text-align: left; padding-block: 10px; }
  .camera-picker .catalog-top { grid-column: 1/-1; }
  .camera-picker .catalog-art { grid-row: 2/6; width: 140px; height: 105px; }
  .camera-picker .catalog-model { font-size: 24px; }
  .camera-picker .catalog-navigation { display: none; }
  .camera-picker   .camera-picker .collection-footer { padding-block: 8px; }
  .camera-picker .collection-footer .field-help { display: none; }
}

.close-symbol { font-size: 28px; line-height: 1; font-weight: 300; }
