  /* ── Detail panel ── */
  .detail-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(8px);
    z-index: 40;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .detail-overlay.show { opacity: 1; pointer-events: auto; }

  .detail-panel {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    max-height: 88dvh;
    background: var(--bg);
    border-radius: 28px 28px 0 0;
    z-index: 50;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.38s cubic-bezier(0.32,0.72,0,1);
    padding-bottom: max(32px, env(safe-area-inset-bottom));
  }
  .detail-panel.show { transform: translateY(0); }

  .detail-handle {
    width: 36px; height: 4px;
    background: var(--border);
    border-radius: 2px;
    margin: 12px auto 0;
  }
  .detail-close {
    position: absolute;
    top: 14px; right: 18px;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    cursor: pointer;
    color: var(--text-dim);
    pointer-events: auto;
  }

  .detail-hero {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    margin-top: 10px;
  }
  .detail-body { padding: 20px 20px 0; }

  .detail-name {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.6px;
    line-height: 1.1;
    margin-bottom: 4px;
  }
  .detail-location {
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 14px;
  }

  .detail-section { margin-bottom: 18px; }
  .detail-section-title {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 7px;
  }
  .detail-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
    opacity: 0.85;
  }

  .detail-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 18px;
  }
  .stat-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px 14px;
  }
  .stat-label { font-size: 10px; color: var(--text-dim); letter-spacing: 0.3px; margin-bottom: 3px; }
  .stat-value { font-size: 15px; font-weight: 700; letter-spacing: -0.3px; color: var(--text); }
  .stat-value.gold { color: var(--gold); }

  .detail-actions {
    display: flex;
    gap: 10px;
    padding: 0 0 4px;
  }
  .detail-btn {
    flex: 1;
    padding: 14px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: opacity 0.15s;
  }
  .detail-btn.pitch { background: var(--go); color: #fff; }
  .detail-btn.skip  { background: var(--surface); border: 1px solid var(--border); color: var(--text-dim); }
  .detail-btn:active { opacity: 0.75; }

  .detail-photos {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 0 4px;
  }
  .detail-photos::-webkit-scrollbar { display: none; }
  .detail-photo {
    flex-shrink: 0;
    width: 120px;
    height: 90px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.75;
    transition: opacity 0.2s;
  }
  .detail-photo:hover, .detail-photo.active { opacity: 1; border-color: var(--gold); }

  .nearby-list { list-style: none; }
  .nearby-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    color: var(--text);
    opacity: 0.85;
  }
  .nearby-list li:last-child { border-bottom: none; }
  .nearby-icon { font-size: 16px; width: 22px; text-align: center; }
