    /* =================== SCREEN 2: DETAIL =================== */
    #detail-view {
      background: var(--detail-bg);
    }

    .detail-top-artwork {
      height: var(--detail-hero-h, 38%);
      min-height: 240px;
      width: 100%;
      position: relative;
      overflow: hidden;
      background: var(--art-ground);
    }

    /* Top Navigation Back Button */
    .back-floating-btn {
      position: fixed;
      top: max(16px, env(safe-area-inset-top));
      left: 18px;
      width: 42px;
      height: 42px;
      background: var(--surface);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 14px rgba(var(--shade-rgb), 0.24);
      border: none;
      cursor: pointer;
      z-index: 70;
      color: var(--ink);
      opacity: 0;
      transform: scale(0.65) translateY(-6px);
      transition: opacity 0.38s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
      pointer-events: none;
      will-change: transform, opacity;
    }

    .back-floating-btn.nav-btn-visible {
      opacity: 1;
      transform: scale(1) translateY(0);
      pointer-events: auto;
    }

    .back-floating-btn:active {
      transform: scale(0.92) translateY(0);
    }

    .back-floating-btn.menu-floating {
      left: auto;
      right: 18px;
    }

    /* A card that is information, not a button */
    .feature-card.static {
      cursor: default;
    }

    .feature-card.static:active {
      transform: none;
    }

    /* Detail Sheet & Staggered Entrance Elements */
    .detail-sheet {
      flex: 1;
      background: var(--surface);
      border-radius: var(--sheet-radius, 34px) var(--sheet-radius, 34px) 0 0;
      margin-top: var(--sheet-overlap, -24px);
      position: relative;
      z-index: 5;
      /* The two calls to action now close the sheet, so it needs room
         under them rather than sitting them flush on the bottom edge. */
      padding: 22px 20px calc(26px + max(14px, env(safe-area-inset-bottom)));
      display: flex;
      flex-direction: column;
      box-shadow: 0 -10px 30px rgba(var(--ink-rgb), 0.06);
      overflow-y: auto;
      scrollbar-width: none;
      transform: translateY(0);
      opacity: 1;
      transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.42s ease;
      will-change: transform, opacity;
    }

    .detail-sheet::-webkit-scrollbar {
      display: none;
    }

    /* Same for the hub sheet. The illustration still grows out of the
       card that was tapped, which is the transition worth having; the
       copy under it no longer climbs into place behind it. */
    .animate-enter-item {
      opacity: 1;
      transform: none;
    }


    .detail-header-row {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
    }

    .detail-header-title {
      color: var(--ink);
    }

    .detail-location-tag {
      display: flex;
      align-items: center;
      gap: 4px;
      font-size: 13px;
      color: var(--ink-3);
      font-weight: 500;
      margin-top: 4px;
    }

    .distance-pill {
      background: var(--accent-soft);
      color: var(--accent);
      border: 1px solid rgba(var(--accent-rgb), 0.18);
      padding: 6px 14px;
      border-radius: 20px;
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 12.5px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.2s;
    }

    .distance-pill:active {
      transform: scale(0.94);
      background: var(--accent-soft-press);
    }

    /* Gallery */
    .thumbnail-row {
      display: flex;
      gap: 10px;
      margin-top: 14px;
    }

    .thumb-item {
      flex: 1;
      height: var(--thumb-h, 52px);
      border-radius: 14px;
      overflow: hidden;
      position: relative;
      cursor: pointer;
      box-shadow: 0 3px 8px rgba(var(--ink-rgb), 0.06);
      transition: transform 0.15s;
    }

    .thumb-item:active {
      transform: scale(0.95);
    }

    .thumb-item svg {
      width: 100%;
      height: 100%;
      display: block;
    }

    .thumb-overlay {
      position: absolute;
      inset: 0;
      background: var(--veil);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--on-dark);
      font-size: 13px;
      font-weight: 700;
    }

    /* Actions */
    /* The two calls to action close the destination hub: they sit under the
       whole section grid, so the page reads "here is the place, here is
       everything in it, now here is how you go". A rule and a wider gap
       above set them apart from the last row of tiles. */
    .detail-bottom-bar {
      margin-top: 22px;
      padding-top: 20px;
      border-top: 1px solid var(--hairline);
      display: flex;
      gap: 12px;
      align-items: center;
    }

    .book-btn {
      flex: 1;
      height: var(--book-btn-h, 52px);
      border-radius: 26px;
      background: var(--accent);
      color: var(--on-accent);
      font-size: 14.5px;
      font-weight: 700;
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 8px 22px rgba(var(--accent-rgb), 0.32);
      transition: all 0.2s;
    }

    .book-btn:active {
      transform: scale(0.97);
      background: var(--accent-press);
    }

