

    :root {

      --sun: #ffcc4d;

      --orange: #ff8a3d;

      --sky: #77cfff;

      --blue: #17324d;

      --ink: #1f2937;

      --muted: #667085;

      --line: rgba(23,50,77,.14);

      --card: rgba(255,255,255,.95);

      --shadow: 0 18px 50px rgba(23,50,77,.14);

      --radius: 24px;

    }



    * { box-sizing: border-box; }



    html { scroll-behavior: smooth; }



    body {

      margin: 0;

      min-height: 100vh;

      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

      color: var(--ink);

      background:

        radial-gradient(circle at 20% 0%, rgba(255,204,77,.45), transparent 34%),

        radial-gradient(circle at 80% 10%, rgba(119,207,255,.44), transparent 30%),

        linear-gradient(180deg, #fff9e8 0%, #f5fbff 48%, #fff 100%);

    }



    body.modal-open { overflow: hidden; }

    button, input, select { font: inherit; }

    button { -webkit-tap-highlight-color: transparent; }

    a { color: inherit; }



    .hero {

      position: relative;

      overflow: hidden;

      padding: 0;

      background: #fff9e8;

      border-bottom: 1px solid rgba(23,50,77,.10);

    }



    .hero-image {

      display: block;

      width: 100%;

      height: auto;

      object-fit: contain;

      object-position: center;

    }



    .hero-post-wrap {

      position: absolute;

      right: max(18px, calc((100vw - 1180px) / 2 + 18px));

      bottom: 18px;

      z-index: 5;

    }



    .post-button {

      display: inline-flex;

      align-items: center;

      justify-content: center;

      min-height: 44px;

      padding: 0 18px;

      border-radius: 999px;

      background: var(--blue);

      color: white;

      text-decoration: none;

      font-weight: 900;

      box-shadow: 0 12px 28px rgba(23,50,77,.22);

      white-space: nowrap;

    }



    .free-photo-contribute { max-width: 1180px; margin: 8px auto 0; padding: 9px 16px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; font-size: 13px; color: #394751; }

    .free-photo-contribute a { font-weight: 850; text-decoration: underline; text-underline-offset: 3px; color: var(--blue); }

    .quickbar {

      max-width: 1180px;

      margin: 12px auto 0;

      padding: 0 16px;

    }



    .quick-group {

      display: flex;

      gap: 8px;

      flex-wrap: wrap;

      align-items: center;

      padding: 10px;

      border: 1px solid rgba(23,50,77,.10);

      border-radius: 999px;

      background: rgba(255,255,255,.80);

      box-shadow: 0 8px 24px rgba(23,50,77,.08);

    }



    .quick-label {

      flex: 0 0 auto;

      font-size: 12px;

      font-weight: 900;

      color: rgba(23,50,77,.72);

      padding: 0 4px;

    }



    .quick, .chip, select {

      min-height: 38px;

      border: 1px solid #cfd8e3;

      border-radius: 999px;

      padding: 8px 12px;

      background: white;

      color: var(--blue);

      font-size: 13px;

      font-weight: 800;

      cursor: pointer;

    }



    .quick.active, .chip.active {

      border-color: var(--blue);

      background: var(--blue);

      color: white;

    }



    .app {

      max-width: 1180px;

      margin: 0 auto;

      padding: 14px 16px 24px;

      display: grid;

      grid-template-columns: 410px minmax(0, 1fr);

      gap: 16px;

      min-height: calc(100vh - 220px);

    }



    .panel, .map-shell {

      overflow: hidden;

      border: 1px solid rgba(23,50,77,.10);

      border-radius: var(--radius);

      background: var(--card);

      box-shadow: var(--shadow);

      backdrop-filter: blur(10px);

    }



    .filters {

      padding: 16px;

      border-bottom: 1px solid var(--line);

      background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.88));

    }



    .search {

      width: 100%;

      min-height: 48px;

      padding: 12px 15px;

      border: 1px solid #cfd8e3;

      border-radius: 999px;

      background: white;

      color: var(--ink);

      font-size: 16px;

      outline: none;

    }



    .search:focus, select:focus, .quick:focus-visible, .chip:focus-visible,

    .action-button:focus-visible, .modal-close:focus-visible {

      outline: 3px solid rgba(119,207,255,.55);

      outline-offset: 2px;

    }



    .filter-row {

      display: flex;

      flex-wrap: wrap;

      gap: 8px;

      margin-top: 10px;

    }



    .filter-row select {

      min-width: 0;

      flex: 1 1 160px;

    }



    .filter-caption {

      margin-top: 13px;

      font-size: 12px;

      font-weight: 900;

      color: rgba(23,50,77,.68);

      letter-spacing: .02em;

    }



    .count {

      margin-top: 13px;

      display: flex;

      align-items: center;

      gap: 8px;

      color: var(--muted);

      font-size: 13px;

    }



    .dot {

      width: 8px;

      height: 8px;

      flex: 0 0 auto;

      border-radius: 999px;

      background: var(--sun);

      box-shadow: 0 0 0 4px rgba(255,204,77,.22);

    }



    .list {

      max-height: calc(100vh - 390px);

      overflow: auto;

      padding: 12px;

      overscroll-behavior: contain;

    }



    .empty-card {

      padding: 20px;

      border: 1px dashed rgba(23,50,77,.20);

      border-radius: 18px;

      background: rgba(255,255,255,.88);

      color: var(--muted);

      line-height: 1.7;

    }



    .store-card {

      margin-bottom: 11px;

      padding: 12px;

      border: 1px solid var(--line);

      border-radius: 18px;

      background: white;

      cursor: pointer;

      transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;

    }



    .store-card:hover {

      transform: translateY(-1px);

      border-color: rgba(23,50,77,.24);

      box-shadow: 0 10px 24px rgba(23,50,77,.10);

    }



    .store-card.active {

      border-color: var(--orange);

      box-shadow: 0 0 0 3px rgba(255,138,61,.18);

    }



    .store-photo-wrap {

      position: relative;

      margin-bottom: 10px;

      overflow: hidden;

      border-radius: 14px;

      background: #eef2f7;

    }



    .store-photo {

      display: block;

      width: 100%;

      aspect-ratio: 16 / 9;

      object-fit: cover;

    }



    .photo-indicator {

      position: absolute;

      right: 9px;

      bottom: 9px;

      padding: 5px 9px;

      border-radius: 999px;

      background: rgba(23,50,77,.86);

      color: white;

      font-size: 11px;

      font-weight: 900;

    }



    .reference-image-credit {

      font-size: 10px;

      margin: -5px 3px 8px;

      color: #526579;

      line-height: 1.4;

    }

    .reference-image-credit a {

      color: #365f87;

      text-decoration: underline;

      text-underline-offset: 2px;

    }

    .photo-fallback-message {

      aspect-ratio: 16/9;

      display: flex;

      align-items: center;

      justify-content: center;

      padding: 16px;

      background: #f1f6f8;

      color: #314f63;

      font-weight: 700;

      text-align: center;

      font-size: 12px;

    }



    .store-title {

      display: flex;

      align-items: flex-start;

      justify-content: space-between;

      gap: 8px;

      margin-bottom: 6px;

    }



    .store-title strong {

      color: var(--blue);

      font-size: 16px;

      line-height: 1.35;

    }



    .badge {

      flex: 0 0 auto;

      display: inline-flex;

      align-items: center;

      gap: 4px;

      padding: 4px 8px;

      border-radius: 999px;

      background: #fff4c2;

      color: #7a4b00;

      font-size: 11px;

      font-weight: 900;

      white-space: nowrap;

    }



    .meta {

      display: flex;

      flex-wrap: wrap;

      gap: 6px;

      margin: 7px 0;

      color: var(--muted);

      font-size: 12px;

    }



    .tag {

      padding: 3px 8px;

      border: 1px solid #e2e8f0;

      border-radius: 999px;

      background: #f8fafc;

    }



    .summary-line {

      margin-top: 7px;

      color: #344054;

      font-size: 13px;

      line-height: 1.55;

    }



    .reason {

      display: -webkit-box;

      margin: 8px 0 0;

      overflow: hidden;

      color: #344054;

      font-size: 13px;

      line-height: 1.65;

      -webkit-box-orient: vertical;

      -webkit-line-clamp: 3;

    }



    .card-actions {

      display: flex;

      flex-wrap: wrap;

      gap: 8px;

      margin-top: 11px;

    }



    .action-button {

      min-height: 38px;

      display: inline-flex;

      align-items: center;

      justify-content: center;

      padding: 0 12px;

      border: 1px solid #d6e0eb;

      border-radius: 999px;

      background: white;

      color: var(--blue);

      font-size: 13px;

      font-weight: 900;

      text-decoration: none;

      cursor: pointer;

      touch-action: manipulation;

    }



    .action-button.primary {

      border-color: var(--blue);

      background: var(--blue);

      color: white;

    }



    .action-button.sun {

      border-color: #edba27;

      background: #fff4c2;

      color: #684600;

    }



    .notice {

      padding: 12px 16px 15px;

      border-top: 1px solid var(--line);

      background: rgba(255,255,255,.74);

      color: var(--muted);

      font-size: 12px;

      line-height: 1.6;

    }



    .map-shell {

      position: sticky;

      top: 12px;

      height: calc(100vh - 160px);

      min-height: 620px;

    }



    #map {

      width: 100%;

      height: 100%;

      z-index: 1;

      background: #eaf1f6;

    }



    .map-loading {

      position: absolute;

      inset: 0;

      z-index: 2;

      display: flex;

      align-items: center;

      justify-content: center;

      color: var(--muted);

      font-size: 14px;

      font-weight: 800;

      pointer-events: none;

    }



    .map-shell.is-ready .map-loading { display: none; }



    .legend {

      position: absolute;

      right: 14px;

      top: 14px;

      z-index: 500;

      width: min(300px, calc(100% - 28px));

      overflow: hidden;

      border: 1px solid rgba(23,50,77,.16);

      border-radius: 18px;

      background: rgba(255,255,255,.95);

      box-shadow: 0 12px 34px rgba(23,50,77,.18);

      backdrop-filter: blur(10px);

    }



    .legend-toggle {

      width: 100%;

      display: flex;

      align-items: center;

      justify-content: space-between;

      gap: 10px;

      padding: 10px 12px;

      border: 0;

      background: rgba(23,50,77,.94);

      color: white;

      font-weight: 900;

      cursor: pointer;

    }



    .legend-body {

      max-height: 360px;

      overflow: auto;

      padding: 10px 12px 12px;

    }



    .legend.is-collapsed .legend-body { display: none; }

    .legend.is-collapsed .legend-toggle-icon { transform: rotate(-90deg); }



    .legend-title {

      margin: 2px 0 8px;

      color: var(--blue);

      font-size: 12px;

      font-weight: 900;

    }



    .legend-row {

      display: flex;

      align-items: center;

      gap: 8px;

      margin: 6px 0;

      color: #344054;

      font-size: 12px;

    }



    .legend-dot {

      width: 14px;

      height: 14px;

      flex: 0 0 auto;

      display: inline-block;

      border: 2px solid var(--blue);

      border-radius: 999px;

    }



    .legend-star {

      width: 22px;

      display: inline-flex;

      justify-content: center;

      color: var(--sun);

      font-size: 20px;

      line-height: 1;

      -webkit-text-stroke: 1.5px var(--blue);

    }



    .venue-marker {

      font-size: 26px;

      text-shadow: 0 3px 10px rgba(23,50,77,.28);

    }



    .local-store-marker {

      border: 0 !important;

      background: transparent !important;

    }



    .local-store-marker-inner {

      width: 34px;

      height: 34px;

      display: flex;

      align-items: center;

      justify-content: center;

      color: var(--pin-color, #ffcc4d);

      font-size: 34px;

      line-height: 1;

      transform: translateY(-1px);

      text-shadow: 0 2px 0 rgba(255,255,255,.9), 0 8px 18px rgba(23,50,77,.30);

      -webkit-text-stroke: 2.2px #17324d;

    }



    .popup {

      min-width: 220px;

      max-width: 310px;

    }



    .popup img {

      width: 100%;

      max-height: 180px;

      margin-bottom: 7px;

      border-radius: 10px;

      object-fit: cover;

    }



    .popup-title {

      margin-bottom: 4px;

      color: var(--blue);

      font-weight: 900;

    }



    .popup-meta {

      margin-top: 5px;

      color: var(--muted);

      font-size: 12px;

      line-height: 1.55;

    }



    .popup-actions {

      display: flex;

      flex-wrap: wrap;

      gap: 7px;

      margin-top: 8px;

    }



    .popup-actions button, .popup-actions a {

      display: inline-flex;

      align-items: center;

      justify-content: center;

      min-height: 34px;

      padding: 0 10px;

      border: 1px solid #d6e0eb;

      border-radius: 999px;

      background: white;

      color: var(--blue);

      font-size: 12px;

      font-weight: 900;

      text-decoration: none;

      cursor: pointer;

    }



    .floating-post-button {

      position: fixed;

      right: 16px;

      bottom: calc(16px + env(safe-area-inset-bottom));

      z-index: 900;

      display: none;

      align-items: center;

      justify-content: center;

      min-height: 48px;

      padding: 0 17px;

      border-radius: 999px;

      background: var(--orange);

      color: white;

      font-weight: 900;

      text-decoration: none;

      box-shadow: 0 12px 30px rgba(255,138,61,.35);

    }



    .modal {

      position: fixed;

      inset: 0;

      z-index: 19000;

      display: none;

      align-items: center;

      justify-content: center;

      padding: 18px;

      background: rgba(5,18,31,.72);

      backdrop-filter: blur(7px);

    }



    .modal.is-open { display: flex; }



    .modal-card {

      width: min(720px, 100%);

      max-height: min(90dvh, 920px);

      display: grid;

      grid-template-rows: auto minmax(0,1fr);

      overflow: hidden;

      border: 1px solid rgba(255,255,255,.62);

      border-radius: 24px;

      background: white;

      box-shadow: 0 28px 90px rgba(0,0,0,.38);

    }



    .modal-header {

      display: flex;

      align-items: center;

      justify-content: space-between;

      gap: 12px;

      padding: 13px 14px;

      border-bottom: 1px solid rgba(23,50,77,.10);

      background: linear-gradient(180deg, white, #fffaf0);

    }



    .modal-title {

      min-width: 0;

      overflow: hidden;

      color: var(--blue);

      font-size: 16px;

      font-weight: 900;

      text-overflow: ellipsis;

      white-space: nowrap;

    }



    .modal-close {

      width: 40px;

      height: 40px;

      flex: 0 0 auto;

      border: 1px solid rgba(23,50,77,.14);

      border-radius: 999px;

      background: white;

      color: var(--blue);

      font-size: 22px;

      font-weight: 900;

      line-height: 1;

      cursor: pointer;

    }



    .modal-scroll {

      min-height: 0;

      overflow-y: auto;

      overscroll-behavior: contain;

      -webkit-overflow-scrolling: touch;

    }



    .detail-photo {

      display: block;

      width: 100%;

      max-height: 310px;

      object-fit: cover;

      background: #eef4f8;

    }



    .detail-content {

      padding: 17px 18px calc(22px + env(safe-area-inset-bottom));

    }



    .detail-name-row {

      display: flex;

      align-items: flex-start;

      justify-content: space-between;

      gap: 12px;

      margin-bottom: 9px;

    }



    .detail-name {

      margin: 0;

      color: var(--blue);

      font-size: clamp(22px,5.2vw,30px);

      font-weight: 950;

      line-height: 1.25;

    }



    .detail-rating {

      flex: 0 0 auto;

      padding: 6px 9px;

      border: 1px solid rgba(225,171,25,.28);

      border-radius: 999px;

      background: #fff7d6;

      color: #8a5a00;

      font-size: 13px;

      font-weight: 900;

      white-space: nowrap;

    }



    .detail-tags {

      display: flex;

      flex-wrap: wrap;

      gap: 7px;

      margin: 0 0 15px;

    }



    .detail-section {

      margin-top: 12px;

      padding: 13px 14px;

      border: 1px solid rgba(23,50,77,.10);

      border-radius: 16px;

      background: #f8fbfd;

    }



    .detail-section.sun {

      border-color: rgba(225,171,25,.36);

      background: #fff9dc;

    }



    .detail-label {

      display: block;

      margin-bottom: 5px;

      color: rgba(23,50,77,.72);

      font-size: 12px;

      font-weight: 900;

    }



    .detail-value {

      color: var(--blue);

      font-size: 15px;

      font-weight: 700;

      line-height: 1.65;

      white-space: pre-wrap;

      overflow-wrap: anywhere;

    }



    .detail-reason {

      margin-top: 14px;

      color: #24384b;

      font-size: 15px;

      line-height: 1.8;

      white-space: pre-wrap;

      overflow-wrap: anywhere;

    }



    .detail-actions {

      position: sticky;

      bottom: 0;

      z-index: 2;

      display: grid;

      grid-template-columns: repeat(2,minmax(0,1fr));

      gap: 9px;

      margin: 18px -18px calc(-22px - env(safe-area-inset-bottom));

      padding: 12px 18px calc(12px + env(safe-area-inset-bottom));

      border-top: 1px solid rgba(23,50,77,.10);

      background: rgba(255,255,255,.96);

      backdrop-filter: blur(8px);

    }



    .detail-actions .action-button {

      min-height: 46px;

      border-radius: 14px;

    }



    .detail-actions .wide { grid-column: 1 / -1; }



    .photo-stage {

      padding: 12px;

      background: #07131f;

    }



    .photo-stage img {

      display: block;

      width: 100%;

      max-height: 72dvh;

      object-fit: contain;

      border-radius: 14px;

      background: #07131f;

    }



    .photo-note {

      padding: 10px 14px calc(12px + env(safe-area-inset-bottom));

      color: var(--muted);

      font-size: 11px;

      line-height: 1.6;

      background: white;

    }



    .fatal {

      margin: 16px;

      padding: 16px;

      border: 1px solid #fecaca;

      border-radius: 14px;

      background: #fff1f2;

      color: #9f1239;

      font-weight: 700;

      line-height: 1.7;

    }



    @media (max-width: 940px) {

      .hero-post-wrap { display: none; }



      .hero-image {

        min-height: 112px;

        object-fit: cover;

        object-position: center;

      }



      .quickbar {

        margin-top: 10px;

        padding: 0 10px;

        overflow: hidden;

      }



      .quick-group {

        width: 100%;

        overflow-x: auto;

        flex-wrap: nowrap;

        border-radius: 20px;

        scrollbar-width: none;

        -webkit-overflow-scrolling: touch;

      }



      .quick-group::-webkit-scrollbar { display: none; }

      .quick { flex: 0 0 auto; }



      .app {

        grid-template-columns: 1fr;

        gap: 12px;

        padding: 12px 10px calc(90px + env(safe-area-inset-bottom));

      }



      .map-shell {

        order: 1;

        position: relative;

        top: 0;

        height: min(58dvh, 590px);

        min-height: 420px;

      }



      .panel { order: 2; }



      .legend {

        top: auto;

        right: 10px;

        bottom: 10px;

        width: calc(100% - 20px);

        border-radius: 16px;

      }



      .legend-toggle {

        background: rgba(255,255,255,.95);

        color: var(--blue);

      }



      .legend-body { max-height: min(42dvh,300px); }



      .filters { padding: 14px; }



      .filter-row select {

        flex: 1 1 100%;

        width: 100%;

        min-height: 48px;

        font-size: 16px;

      }



      .chip {

        min-height: 44px;

        flex: 1 1 calc(50% - 8px);

        font-size: 14px;

      }



      .list {

        max-height: none;

        overflow: visible;

      }



      .store-card { padding: 13px; }



      .card-actions {

        display: grid;

        grid-template-columns: repeat(2,minmax(0,1fr));

      }



      .card-actions .action-button {

        min-height: 44px;

        width: 100%;

      }



      .card-actions .wide { grid-column: 1 / -1; }



      .floating-post-button { display: inline-flex; }



      .modal {

        align-items: flex-end;

        padding: 0;

      }



      .modal-card {

        width: 100%;

        max-height: calc(92dvh - env(safe-area-inset-top));

        border-width: 1px 0 0;

        border-radius: 24px 24px 0 0;

      }



      .detail-photo { max-height: min(31dvh,270px); }

      .detail-content { padding: 16px 16px calc(20px + env(safe-area-inset-bottom)); }



      .detail-actions {

        margin-right: -16px;

        margin-left: -16px;

        margin-bottom: calc(-20px - env(safe-area-inset-bottom));

        padding-right: 16px;

        padding-left: 16px;

      }



      .popup { max-width: min(78vw,310px); }

    }



    @media (max-width: 520px) {

      .hero-image {

        min-height: 102px;

        object-position: center;

      }



      .store-title { align-items: center; }

      .store-title strong { font-size: 17px; }

      .action-button { font-size: 13px; }

    }



    .store-photo-placeholder {

      min-height: 180px;

      display: flex;

      align-items: center;

      justify-content: center;

      border-radius: 16px;

      background:

        radial-gradient(circle at 50% 40%, rgba(255,204,77,.22), transparent 34%),

        linear-gradient(180deg, #eef6fb, #f9fcfe);

      color: rgba(23,50,77,.62);

      font-size: 14px;

      font-weight: 900;

      text-align: center;

      padding: 18px;

    }



    .photo-load-error {

      min-height: 280px;

      display: flex;

      align-items: center;

      justify-content: center;

      padding: 24px;

      color: #667085;

      font-weight: 800;

      text-align: center;

    }







    .nearby-location {

      border-color: rgba(26,126,207,.34);

      background: linear-gradient(180deg,#fff,#edf8ff);

      color: #1267a8;

      flex: 0 0 auto;

    }



    .nearby-location.active {

      border-color: #1679bf;

      background: #1679bf;

      color: #fff;

      box-shadow: 0 8px 20px rgba(22,121,191,.24);

    }



    .nearby-location.is-loading {

      opacity: .74;

      cursor: progress;

    }



    .user-location-marker {

      background: transparent !important;

      border: 0 !important;

    }



    .user-location-marker-inner {

      width: 24px;

      height: 24px;

      border: 4px solid #fff;

      border-radius: 999px;

      background: #1679bf;

      box-shadow:

        0 0 0 4px rgba(22,121,191,.28),

        0 8px 22px rgba(23,50,77,.28);

    }



    .nearby-distance {

      display: inline-flex;

      align-items: center;

      width: fit-content;

      margin: 4px 0 7px;

      padding: 4px 8px;

      border: 1px solid rgba(22,121,191,.18);

      border-radius: 999px;

      background: #edf8ff;

      color: #1267a8;

      font-size: 12px;

      font-weight: 900;

    }



    .popup-distance {

      margin-top: 6px;

      color: #1267a8;

      font-size: 12px;

      font-weight: 900;

    }
