/* public/css/guest-page-detail.css: moved from the inline <style> of routes/venue-client.js (6.66.125) by scripts/refactor/extract-guest-page.js. Loaded by lib/guest-page-html.js in this order: layout, map, kiosk, detail, (inline), demo. */
    /* ── POI Detail Panel ── */
    /* -- Distance badge styles -- */
    .ni-dist { font-size: 0.6875rem; color: var(--color-text-placeholder); margin-left: auto; white-space: normal; font-weight: 500; max-width: 100%; text-align: right; }   /* 6.66.107: a long distance wraps (the row wraps too) */
    /* -- Connector marker styles -- */
    .poi-marker.connector-marker { border: 2px solid var(--color-white); box-shadow: 0 0 0 2px rgba(46,134,171,0.5); }
    .connector-badge { display: inline-block; background: #2E86AB; color: var(--color-white); font-size: 0.5625rem; font-weight: 600; padding: 1px 5px; border-radius: 3px; margin-left: 6px; vertical-align: middle; text-transform: uppercase; letter-spacing: 0.3px; }
    .poi-detail-goesto { margin-bottom: 14px; }
    .poi-detail-goesto-title { font-size: 0.75rem; font-weight: 600; color: var(--color-text-secondary); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
    .poi-detail-goesto-link { display: inline-block; padding: 6px 14px; margin: 0 6px 6px 0; background: #f0f4f8; border: 1px solid #d0d5dd; border-radius: 6px; font-size: 0.8125rem; color: var(--accent); font-weight: 500; cursor: pointer; text-decoration: none; transition: background 0.15s; }
    .poi-detail-goesto-link:active { background: #dde3ea; }
    .nearby-connector { font-size: 0.6875rem; color: var(--color-text-muted); margin-left: 28px; margin-top: -2px; margin-bottom: 4px; }
    .poi-detail-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0,0,0,0.4); z-index: 1500; opacity: 0; visibility: hidden;
      transition: opacity 200ms ease, visibility 200ms ease; }
    .poi-detail-overlay.show { opacity: 1; visibility: visible; transition-duration: 250ms; transition-timing-function: var(--ease-out, ease-out); }
    .poi-detail-overlay.route-shown { background: transparent; }
    .poi-detail-panel { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1501;
      background: white; border-radius: 16px 16px 0 0; max-height: 70vh; overflow-y: auto;
      transform: translateY(100%); transition: transform 200ms var(--ease-drawer, cubic-bezier(0.32, 0.72, 0, 1));   /* 6.66.87: closes in 200 ms, opens in 300 ms (below) */
      box-shadow: 0 -4px 24px rgba(0,0,0,0.15); font-family: 'DM Sans', sans-serif;
      -webkit-overflow-scrolling: touch; }
    .poi-detail-panel.show { transform: translateY(0); transition-duration: 300ms; }
    .poi-detail-handle { width: 36px; height: 4px; border-radius: 2px; background: #d0d5dd;
      margin: 10px auto 0; }
    .poi-detail-close { position: absolute; top: 10px; right: 14px; width: 30px; height: 30px;
      border-radius: 50%; border: none; background: #f3f4f6; font-size: 18px; cursor: pointer;
      display: flex; align-items: center; justify-content: center; color: var(--color-text-secondary);
      -webkit-tap-highlight-color: transparent; }
    .poi-detail-close:active { background: var(--color-border-mid); }
    .poi-detail-img { width: 100%; max-height: 200px; object-fit: cover; border-radius: 0;
      margin-bottom: 0; display: block; }
    .poi-detail-body { padding: 16px 20px 24px; }
    .poi-detail-name { font-size: 1.25rem; font-weight: 700; color: var(--color-text-dark); margin-bottom: 4px; overflow-wrap: anywhere; }
    .poi-detail-cat { font-size: 0.75rem; color: var(--accent); font-weight: 600;
      text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
    .poi-detail-desc { font-size: 0.875rem; color: #444; line-height: 1.6; margin-bottom: 14px; }
    .poi-detail-meta { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
    .poi-detail-meta-row { display: flex; align-items: center; gap: 8px; font-size: 0.8125rem; color: var(--color-text-body); }
    .poi-detail-meta-row svg { width: 16px; height: 16px; fill: var(--accent); flex-shrink: 0; }
    .poi-detail-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px;
      background: var(--accent); color: white; text-decoration: none; border-radius: 8px;
      font-size: 0.8125rem; font-weight: 600; margin-bottom: 12px; -webkit-tap-highlight-color: transparent; transition: transform var(--dur-press, 120ms) var(--ease-out, ease-out); }
    .poi-detail-link:active { transform: scale(0.97); }
    .poi-detail-link svg { width: 14px; height: 14px; fill: white; }
    .poi-detail-actions { display: flex; gap: 8px 4px; padding-top: 12px; border-top: 1px solid #eee; }
    /* Release 6.53: while a route shows, the panel keeps the name, the category, the actions and the result line.
       The other parts return when the route clears. */
    .poi-detail-panel.route-compact .poi-detail-img,
    .poi-detail-panel.route-compact .poi-detail-goesto,
    .poi-detail-panel.route-compact .poi-detail-desc,
    .poi-detail-panel.route-compact .poi-detail-meta,
    .poi-detail-panel.route-compact .poi-detail-link { display: none; }
    /* Release 6.46: the admin bar (about 46 px) sits above the panel. Lift the panel clear of it. */
    .has-admin-bar .poi-detail-panel { bottom: 46px; max-height: calc(70vh - 46px); }
    @media (min-width: 600px) {
      .poi-detail-panel { left: 50%; right: auto; width: min(25rem, calc(100vw - 32px)); transform: translate(-50%, 100%);   /* 6.66.107: 400 px at 16 px text, wider with larger text */
        border-radius: 16px 16px 0 0; }
      .poi-detail-panel.show { transform: translate(-50%, 0); }
    }
    /* The phone layout of this panel (size cap, sticky name and close, More, route fold) is in lib/detail-panel-page.js. */

