    /* =================== SHARED SCREEN SYSTEM =================== */
    .view-screen.tab-screen,
    #danceart-view,
    #culture-view {
      padding-bottom: env(safe-area-inset-bottom);
    }

    /* Tabs cross-fade in place. They used to lift and shrink slightly as
       they went, which read as the screen being drawn rather than
       swapped. */
    .view-screen.view-hidden-fade {
      transform: none;
      opacity: 0;
      pointer-events: none;
    }

    .screen-head {
      padding: max(18px, env(safe-area-inset-top)) 22px var(--crop-offset, 2px);
      display: flex;
      align-items: flex-start;
      gap: 13px;
      flex-shrink: 0;
    }

    /* The title block takes the slack, so the three controls are pinned to
       the right edge by the head itself rather than by whichever control
       happens to come first. One of them hiding can no longer move the
       other two. */
    .screen-head > div {
      flex: 1;
      min-width: 0;
    }

    .screen-back {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: var(--surface);
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--ink);
      box-shadow: 0 4px 14px rgba(var(--shade-rgb), 0.18);
      cursor: pointer;
      flex-shrink: 0;
      margin-top: 4px;
      transition: transform 0.15s ease;
    }

    .screen-back:active {
      transform: scale(0.92);
    }

    .screen-eyebrow {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1.1px;
      text-transform: uppercase;
      color: var(--ink-4);
    }

    .screen-title {
      color: var(--ink);
      margin-top: 2px;
    }

    .screen-sub {
      font-size: 12.5px;
      font-weight: 600;
      color: var(--ink-3);
      margin-top: 4px;
    }

    .screen-body {
      flex: 1;
      overflow-y: auto;
      scrollbar-width: none;
      padding: 16px 20px 24px;
    }

    .screen-body::-webkit-scrollbar {
      display: none;
    }

    /* A screen arrives as one pane. Its contents used to float up from
       below with staggered delays, which replayed every time a screen was
       drawn — including on the way back, where nothing has changed and
       nothing should move. The class is kept because the markup is full
       of it, and it still marks the rows worth animating if a reason ever
       turns up; it simply does nothing now. */
    .stagger-item {
      opacity: 1;
      transform: none;
    }


    .body-section-title {
      color: var(--ink);
      margin: 2px 0 11px;
    }

    /* A section heading that sits outside the scroll area and stays put
       while the list beneath it scrolls. */
    .section-lock {
      flex-shrink: 0;
      padding: 16px 20px 0;
    }

    .section-lock + .screen-body {
      padding-top: 0;
    }

    /* Illustration-led feature card */
    .feature-card {
      position: relative;
      height: var(--fc-height, 152px);
      border-radius: var(--fc-radius, 28px);
      overflow: hidden;
      margin-bottom: 14px;
      box-shadow: 0 12px 24px rgba(var(--shade-rgb), 0.18);
      cursor: pointer;
      transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .feature-card:active {
      transform: scale(0.975);
    }

    /* A destination still being curated: its scene faded toward the page,
       a quiet clock badge, and no tap. */
    .feature-card.is-soon {
      box-shadow: 0 6px 14px rgba(var(--shade-rgb), 0.1);
    }

    .feature-card.is-soon .fc-art {
      filter: grayscale(0.85) contrast(0.85);
      opacity: 0.55;
    }

    .fc-badge.fc-soon {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      letter-spacing: 0.2px;
    }

    .fc-art {
      position: absolute;
      inset: 0;
    }

    .fc-art svg {
      width: 100%;
      height: 100%;
      display: block;
    }

    /* A gallery section shows pictures in a grid rather than a list of
       named places. The tiles are .thumb-item too, so they inherit the
       rounding and the tap feedback, and the lightbox already finds them. */
    /* The services on offer, shown rather than listed: a traveler should
       see at a glance that they can ask for one of these and not a
       package. */
    .service-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
      margin-top: 12px;
    }

    .service-tile {
      background: var(--surface);
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 4px 14px rgba(var(--shade-rgb), 0.16);
    }

    .service-art {
      height: 74px;
      overflow: hidden;
    }

    .service-art svg,
    .service-art img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .service-label {
      padding: 9px 11px 11px;
      font-family: var(--sans);
      font-size: 12.5px;
      font-weight: 700;
      line-height: 1.25;
      letter-spacing: -0.2px;
      color: var(--ink);
    }

    .media-video {
      width: 100%;
      max-height: 70vh;
      border-radius: 16px;
      display: block;
      background: rgba(var(--ink-rgb), 0.06);
    }

    .gallery-tile-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
    }

    .gallery-tile {
      height: auto;
      aspect-ratio: 1 / 1;
      position: relative;
    }

    .gallery-caption {
      position: absolute;
      left: 0; right: 0; bottom: 0;
      padding: 18px 6px 6px;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
      color: #fff;
      font-size: 11px;
      font-weight: 600;
      line-height: 1.2;
      pointer-events: none;
    }

    .gallery-jump {
      margin-top: 14px;
    }

    /* A photograph stands in for a generated scene wherever one exists.
       Every art frame in the app is a fixed box that hides its overflow,
       so one rule covers all of them: fill the frame, keep the crop
       centred, and never stretch the picture. */
    .fc-art img,
    .tour-thumb img,
    .thumb-item img,
    .map-poi-thumb img,
    .artist-ring img,
    .gallery-thumb img,
    #shotPlate > img,
    .cover-photo {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    /* The veil that lets a card title read off its illustration. It follows
       the theme, because the illustration under it does. */
    .fc-scrim {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top,
        rgba(var(--fc-veil-rgb), 0.86),
        rgba(var(--fc-veil-rgb), 0) 56%);
    }

    .fc-copy {
      position: absolute;
      left: 20px;
      bottom: 17px;
      right: 20px;
      z-index: 3;
    }

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

    .fc-sub {
      font-size: 12px;
      font-weight: 600;
      color: var(--ink-2);
      margin-top: 3px;
    }

    .fc-badge {
      position: absolute;
      top: 15px;
      right: 15px;
      z-index: 3;
      background: rgba(var(--fc-veil-rgb), 0.9);
      border-radius: 16px;
      padding: 5px 12px;
      font-size: 11px;
      font-weight: 700;
      color: var(--ink-2);
    }

    /* The one exception in the whole app. A destination card's illustration
       is the country's flag, fixed in both themes, so everything sitting on
       it stays as it was: a cream veil and dark copy, which read against
       every one of the five flags. */
    .card-destination .card-title,
    .feature-card[data-dest] .fc-title,
    .feature-card[data-dest] .fc-sub,
    .feature-card[data-dest] .fc-badge {
      color: #241C17;
    }

    .feature-card[data-dest] .fc-scrim {
      background: linear-gradient(to top, rgba(255, 252, 246, 0.86), rgba(255, 252, 246, 0) 56%);
    }

    .feature-card[data-dest] .fc-badge {
      background: rgba(255, 252, 246, 0.9);
    }

    /* Artist avatars strip */
    .artist-row {
      display: flex;
      gap: 13px;
      overflow-x: auto;
      scrollbar-width: none;
      padding-bottom: 6px;
      margin-bottom: 16px;
    }

    .artist-row::-webkit-scrollbar {
      display: none;
    }

    .artist-chip {
      flex: 0 0 auto;
      width: 66px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 7px;
      cursor: pointer;
    }

    .artist-chip:active .artist-ring {
      transform: scale(0.9);
    }

    .artist-ring {
      width: var(--artist-ring-size, 56px);
      height: var(--artist-ring-size, 56px);
      border-radius: 50%;
      overflow: hidden;
      border: 2.5px solid var(--surface);
      box-shadow: 0 6px 14px rgba(var(--shade-rgb), 0.3);
      transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .artist-ring svg {
      width: 100%;
      height: 100%;
      display: block;
    }

    .artist-name {
      font-size: 10.5px;
      font-weight: 600;
      color: var(--ink-3);
      text-align: center;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      width: 100%;
    }

    /* Group tour rows */
    .tour-row {
      display: flex;
      align-items: center;
      gap: 12px;
      background: var(--surface);
      border: 1px solid var(--hairline);
      border-radius: var(--tour-radius, 24px);
      padding: var(--tour-row-pad-y, 10px) 14px var(--tour-row-pad-y, 10px) 10px;
      margin-bottom: 12px;
      box-shadow: 0 6px 18px rgba(var(--shade-rgb), 0.1);
    }

    .tour-thumb {
      width: var(--tour-thumb-size, 62px);
      height: var(--tour-thumb-size, 62px);
      border-radius: 18px;
      overflow: hidden;
      flex-shrink: 0;
    }

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

    .tour-info {
      flex: 1;
      min-width: 0;
    }

    .tour-name {
      color: var(--ink);
    }

    .tour-meta {
      font-size: 11.5px;
      font-weight: 600;
      color: var(--ink-3);
      margin-top: 3px;
    }

    .tour-seats {
      font-size: 11px;
      font-weight: 700;
      color: var(--accent);
      margin-top: 5px;
    }

    .tour-join {
      background: var(--accent);
      color: var(--on-accent);
      border: none;
      border-radius: 18px;
      padding: 10px 17px;
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
      flex-shrink: 0;
      box-shadow: 0 6px 16px rgba(var(--accent-rgb), 0.28);
      transition: transform 0.15s ease, background 0.2s ease;
    }

    .tour-join:active {
      transform: scale(0.93);
      background: var(--accent-press);
    }

    /* Build Trip composer */
    .chip-group {
      margin-bottom: 14px;
    }

    .chip-label {
      color: var(--ink);
      margin-bottom: 7px;
    }

    .chip-row {
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
    }

    .chip {
      padding: 8px 14px;
      border-radius: var(--chip-radius, 20px);
      font-size: 12px;
      font-weight: 600;
      color: var(--ink-3);
      background: var(--surface-2);
      border: none;
      cursor: pointer;
      transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
    }

    .chip.active {
      background: var(--pill-bg);
      color: var(--pill-ink);
    }

    .chip:active {
      transform: scale(0.94);
    }

    .summary-card {
      background: var(--accent-soft);
      border: 1px solid rgba(var(--accent-rgb), 0.2);
      border-radius: var(--summary-radius, 24px);
      padding: 16px 18px;
      margin-bottom: 14px;
    }

    .summary-title {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: var(--accent-ink);
    }

    .summary-line {
      font-size: 15.5px;
      font-weight: 800;
      color: var(--accent-ink-2);
      margin-top: 8px;
      line-height: 1.45;
      letter-spacing: -0.2px;
    }

    /* =================== PERSISTENT SHARED ILLUSTRATION =================== */
    #heroArt {
      position: fixed;
      display: none;
      overflow: hidden;
      pointer-events: none;
      z-index: 58;
      background: var(--art-ground);
      border: 0 solid var(--surface);
      will-change: top, left, width, height, border-radius;
    }

    #heroArt.hero-on {
      display: block;
    }

    #heroArt.hero-in-pin {
      position: absolute;
      inset: -3.5px;
    }

    .hero-plate {
      position: absolute;
      inset: 0;
    }

    .hero-plate > svg {
      width: 100%;
      height: 100%;
      display: block;
    }

    /* =================== BUILD TRIP: FITS ON ONE SCREEN =================== */
    /* The composer never scrolls. The hero card is the only flexible element,
       so it absorbs whatever height the viewport does not have. */
    .chip-hint {
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.6px;
      text-transform: uppercase;
      color: var(--ink-4);
      margin-left: 6px;
    }

    .build-cta-row {
      flex-shrink: 0;
      display: flex;
      justify-content: center;
      margin-top: auto;
      padding-top: 28px;
    }

    /* Shorter phones: tighten automatically so the composer still answers
       in one screen without ever needing a scroll. */
