/* ═══════════════════════════════════════════════════════════════════════
   CONVERSATIONAL AI ORBS — SHOWCASE & STUDIO STYLES
   Design: ElevenLabs + Apple + Linear Aesthetic
   Typography: Switzer / Inter / System Sans
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  /* Light Theme (Default in Recording) */
  --bg-primary: #F3F3F5;
  --bg-surface: #FFFFFF;
  --bg-surface-translucent: rgba(255, 255, 255, 0.82);
  --bg-surface-elevated: rgba(255, 255, 255, 0.95);
  --bg-muted: #EAEAEE;
  --bg-track: #E4E4E8;
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.16);
  --text-primary: #121216;
  --text-secondary: #575762;
  --text-tertiary: #8C8C9A;
  --accent: #2563EB;
  --accent-glow: rgba(37, 99, 235, 0.25);
  --ring-glow: rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.12);
  --shadow-orb: 0 30px 70px -15px rgba(0, 0, 0, 0.18);
  --font-family: 'Switzer', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

[data-theme="dark"] {
  --bg-primary: #0A0A0D;
  --bg-surface: #141418;
  --bg-surface-translucent: rgba(20, 20, 24, 0.82);
  --bg-surface-elevated: rgba(26, 26, 32, 0.95);
  --bg-muted: #1E1E26;
  --bg-track: #262632;
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text-primary: #F4F4F8;
  --text-secondary: #A0A0B0;
  --text-tertiary: #686878;
  --accent: #3B82F6;
  --accent-glow: rgba(59, 130, 246, 0.35);
  --ring-glow: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.6);
  --shadow-orb: 0 35px 80px -10px rgba(0, 0, 0, 0.6);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.35s ease, color 0.35s ease;
}

/* ── APP LAYOUT ────────────────────────────────────────────── */
.orb-app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* ── HEADER ────────────────────────────────────────────────── */
.orb-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  z-index: 200;
  background: var(--bg-surface-translucent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.orb-header__left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.orb-header__back-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bg-muted);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.orb-header__back-link:hover {
  color: var(--text-primary);
  background: var(--bg-surface);
  transform: translateX(-2px);
  border-color: var(--border-strong);
}

.orb-header__back-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.orb-header__back-link:hover svg {
  transform: translateX(-3px);
}

.orb-header__title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.orb-header__title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.orb-header__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #10B981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 999px;
}

.orb-header__pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.orb-header__center {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-muted);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
}

.orb-view-btn {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.orb-view-btn svg {
  width: 14px;
  height: 14px;
}

.orb-view-btn:hover {
  color: var(--text-primary);
}

.orb-view-btn.is-active {
  background: var(--bg-surface);
  color: var(--text-primary);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.orb-header__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.orb-btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-primary);
}

.orb-btn-pill:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.orb-btn-pill.is-active {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}

.orb-theme-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.orb-theme-btn:hover {
  border-color: var(--border-strong);
  transform: rotate(15deg);
}

.orb-theme-btn svg {
  width: 17px;
  height: 17px;
}

/* ── MAIN STAGE CONTAINER ──────────────────────────────────── */
.orb-stage-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 96px 24px 64px;
  position: relative;
  z-index: 10;
}

/* Ambient glow backdrop */
.orb-stage-backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 480px;
  background: radial-gradient(circle, var(--accent-glow) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.45;
  transition: background 0.8s ease, opacity 0.5s ease;
  z-index: -1;
}

/* ── CAROUSEL STAGE ────────────────────────────────────────── */
.orb-carousel-viewport {
  width: 100%;
  max-width: 1400px;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  perspective: 1200px;
  user-select: none;
  touch-action: pan-y;
}

.orb-carousel-track {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 100%;
}

/* Play/Pause Button on Center Orb */
.orb-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #FFFFFF;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16), 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.orb-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22), 0 3px 8px rgba(0, 0, 0, 0.12);
}

.orb-play-btn:active {
  transform: translate(-50%, -50%) scale(0.96);
}

.orb-play-btn svg {
  width: 22px;
  height: 22px;
  fill: #000000;
  color: #000000;
  transition: transform 0.2s ease;
}

/* ── CAROUSEL ARROWS ───────────────────────────────────────── */
.orb-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 40;
  box-shadow: var(--shadow-md);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.orb-nav-btn--prev { left: 40px; }
.orb-nav-btn--next { right: 40px; }

.orb-nav-btn:hover {
  background: var(--bg-surface);
  border-color: var(--border-strong);
  transform: translateY(-50%) scale(1.08);
}

.orb-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.orb-nav-btn svg {
  width: 20px;
  height: 20px;
}

/* ── ORB INFORMATION & STATUS BADGE ────────────────────────── */
.orb-info-bar {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.orb-info-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.orb-info-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.orb-state-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--bg-muted);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.orb-state-indicator.state-talking {
  background: rgba(239, 68, 68, 0.12);
  color: #EF4444;
  border-color: rgba(239, 68, 68, 0.3);
}

.orb-state-indicator.state-listening {
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  border-color: rgba(16, 185, 129, 0.3);
}

.orb-state-indicator.state-thinking {
  background: rgba(168, 85, 247, 0.12);
  color: #A855F7;
  border-color: rgba(168, 85, 247, 0.3);
}

.orb-state-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.orb-info-palette {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}

.orb-color-swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  display: inline-block;
}

/* ── QUICK ACTION CONTROL BAR ──────────────────────────────── */
.orb-action-bar {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 900px;
}

.orb-state-pills {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-surface);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.orb-state-pill-btn {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.orb-state-pill-btn:hover {
  color: var(--text-primary);
}

.orb-state-pill-btn.is-active {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.orb-mic-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.orb-mic-btn:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.orb-mic-btn.is-active {
  background: #EF4444;
  color: #FFFFFF;
  border-color: #EF4444;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.4);
}

.orb-mic-btn.is-active .orb-mic-icon {
  animation: pulse-mic 1s infinite alternate;
}

@keyframes pulse-mic {
  from { transform: scale(1); }
  to { transform: scale(1.2); }
}

/* ── CAROUSEL DOTS INDICATOR ───────────────────────────────── */
.orb-dots-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

.orb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}

.orb-dot.is-active {
  width: 24px;
  border-radius: 12px;
  background: var(--text-primary);
}

/* ═══════════════════════════════════════════════════════════════
   PROPERTIES INSPECTOR DRAWER (CAPTURING ALL PROPERTIES)
   ═══════════════════════════════════════════════════════════════ */
.orb-inspector {
  position: fixed;
  top: 72px;
  right: -480px;
  width: 460px;
  max-width: 90vw;
  height: calc(100vh - 72px);
  background: var(--bg-surface-elevated);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-left: 1px solid var(--border-subtle);
  z-index: 150;
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.15);
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.orb-inspector.is-open {
  right: 0;
}

.orb-inspector__header {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.orb-inspector__title-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.orb-inspector__title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.orb-inspector__badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  background: var(--bg-muted);
  border-radius: 999px;
  color: var(--text-secondary);
}

.orb-inspector__close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-muted);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.orb-inspector__close:hover {
  background: var(--border-strong);
}

/* Tabs */
.orb-inspector__tabs {
  display: flex;
  padding: 0 16px;
  gap: 4px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-muted);
}

.orb-tab-btn {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-tertiary);
  padding: 12px 14px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.orb-tab-btn:hover {
  color: var(--text-primary);
}

.orb-tab-btn.is-active {
  color: var(--text-primary);
  border-bottom-color: var(--accent);
}

.orb-inspector__body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Tab Content Visibility */
.orb-tab-content {
  display: none;
  flex-direction: column;
  gap: 24px;
}

.orb-tab-content.is-active {
  display: flex;
}

/* Control Group */
.orb-prop-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.orb-prop-group__title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.orb-prop-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.orb-prop-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.orb-prop-label-name {
  font-family: var(--font-mono);
  font-size: 12px;
}

.orb-prop-val-display {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-primary);
  background: var(--bg-muted);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Sliders */
.orb-range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--bg-track);
  outline: none;
  transition: background 0.2s ease;
}

.orb-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--text-primary);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.orb-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.orb-range-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--text-primary);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Color Pickers Row */
.orb-colors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.orb-color-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--bg-muted);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}

.orb-color-field input[type="color"] {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  background: transparent;
}

.orb-color-field input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

.orb-color-field input[type="color"]::-webkit-color-swatch {
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 50%;
}

.orb-color-hex-input {
  flex: 1;
  background: transparent;
  border: none;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  outline: none;
  text-transform: uppercase;
}

/* Preset Palettes Grid */
.orb-presets-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.orb-preset-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--bg-muted);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  text-align: left;
}

.orb-preset-pill:hover {
  background: var(--bg-surface);
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.orb-preset-pill.is-active {
  background: var(--bg-surface);
  border-color: var(--accent);
  color: var(--text-primary);
  box-shadow: 0 0 0 1px var(--accent);
}

.orb-preset-pill__gradient {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* Volume VU Meter */
.orb-vu-meter {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 18px;
  padding: 2px;
  background: var(--bg-track);
  border-radius: 4px;
  overflow: hidden;
}

.orb-vu-bar {
  flex: 1;
  height: 100%;
  background: #10B981;
  border-radius: 2px;
  opacity: 0.25;
  transition: opacity 0.08s ease;
}

.orb-vu-bar.lit-mid { background: #F59E0B; }
.orb-vu-bar.lit-peak { background: #EF4444; }
.orb-vu-bar.active { opacity: 1; }

/* Code / JSON Box */
.orb-code-box {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  color: var(--text-secondary);
  overflow-x: auto;
  white-space: pre;
  max-height: 260px;
}

.orb-inspector__footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 12px;
  background: var(--bg-surface);
}

/* ── STUDIO FOCUS VIEW ─────────────────────────────────────── */
.orb-studio-view {
  display: none;
  width: 100%;
  max-width: 900px;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  position: relative;
}

.orb-studio-view.is-active {
  display: flex;
}

.orb-studio-hero-wrapper {
  position: relative;
  width: 380px;
  height: 380px;
  max-width: 80vw;
  max-height: 80vw;
  border-radius: 50%;
}

/* Oscilloscope Canvas */
.orb-oscilloscope-canvas {
  width: 100%;
  max-width: 480px;
  height: 60px;
  border-radius: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

/* ── GALLERY / GRID VIEW ───────────────────────────────────── */
.orb-gallery-view {
  display: none;
  width: 100%;
  max-width: 1200px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  padding: 32px 0;
}

.orb-gallery-view.is-active {
  display: grid;
}

/* ── RESPONSIVE TWEAKS ─────────────────────────────────────── */
@media (max-width: 768px) {
  .orb-header {
    padding: 0 16px;
  }
  .orb-header__title-group span {
    display: none;
  }
  .orb-carousel-viewport {
    height: 380px;
  }
  .orb-nav-btn--prev { left: 8px; }
  .orb-nav-btn--next { right: 8px; }
  .orb-info-title {
    font-size: 20px;
  }
  .orb-inspector {
    width: 100vw;
  }
}
