
  .nearby.svelte-1ucjfd6 {
    margin: 16px 16px 12px;
    container-type: inline-size;
  }
  .nearby.divided.svelte-1ucjfd6 {
    margin-inline: 0;
    padding: 16px 16px 0;
    border-top: 1px solid #e5e7eb;
  }
  /* As wide as the menu panel lets a menu be (MfmMenu's 320px), so a
     tile's description has room for more than a word or two a line; and
     never wider than the panel actually got, which MfmMenu caps by the room
     beside its trigger (on a phone, less than 320px). */
  .nearby.menu.svelte-1ucjfd6 {
    width: 296px;
    max-width: calc(100% - 24px);
    margin: 8px 12px;
  }
  .nearby-title.svelte-1ucjfd6 {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
  }
  .nearby-grid.svelte-1ucjfd6 {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  /* Two columns only where each still has room for its description. */
  @container (min-width: 560px) {
    .nearby.svelte-1ucjfd6:not(.menu) .nearby-grid:where(.svelte-1ucjfd6) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  /* No padding and no border: the photo runs to the tile's top, bottom and
     leading edges, clipped by its rounded corners. Hover and focus draw an
     outline, which sits over the photo where a border would sit beside it. */
  .nearby-item.svelte-1ucjfd6 {
    display: flex;
    align-items: stretch;
    min-width: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #f3f4f6;
  }
  .nearby-item.svelte-1ucjfd6:hover,
  .nearby-item.svelte-1ucjfd6:has(:where(.svelte-1ucjfd6):focus-visible) {
    outline: 1px solid #1a73e8;
    outline-offset: -1px;
    background: #e8f0fe;
  }
  .nearby-item.svelte-1ucjfd6:has(.nearby-tile:where(.svelte-1ucjfd6):focus-visible) {
    outline: 2px solid #1a73e8;
    outline-offset: -2px;
  }
  /* The tile just visited: picked while the panel it opened slides away,
     then back to the others. No end keyframe: it ends on the tile's own
     look, light or dark. */
  .nearby-item.returned.svelte-1ucjfd6 {
    animation: svelte-1ucjfd6-nearby-returned 1.6s ease-out;
  }
  @keyframes svelte-1ucjfd6-nearby-returned {
    0%,
    30% {
      background: #d2e3fc;
      box-shadow: inset 0 0 0 2px #1a73e8;
    }
  }
  @keyframes svelte-1ucjfd6-nearby-returned-dark {
    0%,
    30% {
      background: #1e3a5f;
      box-shadow: inset 0 0 0 2px #60a5fa;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .nearby-item.returned.svelte-1ucjfd6 {
      animation: none;
    }
  }
  .nearby-tile.svelte-1ucjfd6 {
    display: flex;
    flex: 1;
    align-items: stretch;
    min-width: 0;
    min-height: 72px;
    padding: 0;
    color: inherit;
    border: none;
    background: none;
    text-align: start;
    text-decoration: none;
    cursor: pointer;
  }
  .nearby-tile.svelte-1ucjfd6:focus-visible {
    outline: none;
  }
  .nearby-thumb.svelte-1ucjfd6 {
    position: relative;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    background: #e5e7eb;
  }
  .nearby-thumb.svelte-1ucjfd6 img:where(.svelte-1ucjfd6) {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .nearby-thumb.svelte-1ucjfd6 img.nearby-icon:where(.svelte-1ucjfd6) {
    position: static;
    width: 28px;
    height: 28px;
    object-fit: contain;
  }
  .nearby-text.svelte-1ucjfd6 {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    padding: 6px 4px 6px 10px;
    line-height: 1.25;
  }
  .nearby-head.svelte-1ucjfd6 {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
  }
  .nearby-name.svelte-1ucjfd6 {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 13px;
    font-weight: 600;
    color: #111827;
  }
  .nearby-meta.svelte-1ucjfd6 {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 12px;
    color: #4b5563;
  }
  .nearby-subtype.svelte-1ucjfd6 {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nearby-dot.svelte-1ucjfd6 {
    color: #9ca3af;
  }
  .nearby-rating.svelte-1ucjfd6 {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 1px;
    margin-inline-start: 2px;
    font-weight: 600;
    color: #92400e;
  }
  .nearby-rating.svelte-1ucjfd6 .material-symbols-outlined:where(.svelte-1ucjfd6) {
    font-size: 13px;
    font-variation-settings: 'FILL' 1;
    color: #f59e0b;
  }
  .nearby-summary.svelte-1ucjfd6 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 12px;
    color: #6b7280;
  }
  /* One line of tags: a long one is cut rather than wrapping the tile taller. */
  .nearby-tags.svelte-1ucjfd6 {
    display: flex;
    gap: 4px;
    min-width: 0;
    margin-top: 2px;
    overflow: hidden;
  }
  .nearby-tag.svelte-1ucjfd6 {
    flex: 0 1 auto;
    min-width: 0;
    padding: 1px 6px;
    overflow: hidden;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #fff;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: 1px solid #b45309;
    border-radius: 8px;
  }
  .nearby-tag-more.svelte-1ucjfd6 {
    flex: none;
    color: #92400e;
    background: #fef3c7;
    border-color: #fcd34d;
  }
  .nearby-chevron.svelte-1ucjfd6 {
    flex: none;
    align-self: center;
    margin-inline-end: 4px;
    font-size: 20px;
    color: #9ca3af;
    transition: transform 0.15s ease, color 0.15s ease;
  }
  .nearby-chevron.svelte-1ucjfd6:dir(rtl) {
    transform: scaleX(-1);
  }
  .nearby-item.svelte-1ucjfd6:hover .nearby-chevron:where(.svelte-1ucjfd6),
  .nearby-item.svelte-1ucjfd6:has(:where(.svelte-1ucjfd6):focus-visible) .nearby-chevron:where(.svelte-1ucjfd6) {
    color: #1a73e8;
    transform: translateX(2px);
  }
  .nearby-item.svelte-1ucjfd6:hover .nearby-chevron:where(.svelte-1ucjfd6):dir(rtl),
  .nearby-item.svelte-1ucjfd6:has(:where(.svelte-1ucjfd6):focus-visible) .nearby-chevron:where(.svelte-1ucjfd6):dir(rtl) {
    transform: scaleX(-1) translateX(2px);
  }
  .nearby-actions.svelte-1ucjfd6 {
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 4px;
    padding: 6px 6px 6px 0;
  }
  html.dark .nearby.divided.svelte-1ucjfd6 { border-top-color: #374151; }
  html.dark .nearby-title.svelte-1ucjfd6 { color: #e5e7eb; }
  html.dark .nearby-item.svelte-1ucjfd6 { background: #1f2937; }
  html.dark .nearby-item.svelte-1ucjfd6:hover,
  html.dark .nearby-item.svelte-1ucjfd6:has(:where(.svelte-1ucjfd6):focus-visible) {
    outline-color: #60a5fa;
    background: #1e293b;
  }
  html.dark .nearby-item.returned.svelte-1ucjfd6 { animation-name: svelte-1ucjfd6-nearby-returned-dark; }
  html.dark .nearby-thumb.svelte-1ucjfd6 { background: #374151; }
  html.dark .nearby-name.svelte-1ucjfd6 { color: #f3f4f6; }
  html.dark .nearby-meta.svelte-1ucjfd6 { color: #9ca3af; }
  html.dark .nearby-summary.svelte-1ucjfd6 { color: #9ca3af; }
  html.dark .nearby-rating.svelte-1ucjfd6 { color: #fde68a; }
  html.dark .nearby-tag-more.svelte-1ucjfd6 {
    color: #fde68a;
    background: rgb(245 158 11 / 15%);
    border-color: rgb(245 158 11 / 40%);
  }
  html.dark .nearby-chevron.svelte-1ucjfd6 { color: #6b7280; }
  html.dark .nearby-item.svelte-1ucjfd6:hover .nearby-chevron:where(.svelte-1ucjfd6),
  html.dark .nearby-item.svelte-1ucjfd6:has(:where(.svelte-1ucjfd6):focus-visible) .nearby-chevron:where(.svelte-1ucjfd6) { color: #60a5fa; }

