﻿:root {
      --green: #03c75a;
      --green-dark: #019747;
      --ink: #17202a;
      --muted: #667085;
      --line: #e4e8ee;
      --bg: #f4f7f6;
      --card: #ffffff;
      --blue: #2f6fed;
      --amber: #f59e0b;
      --shadow: 0 10px 28px rgba(23, 32, 42, 0.08);
    }

    * {
      box-sizing: border-box;
    }

    html {
      background: #dfe6e3;
    }

    body {
      max-width: 430px;
      min-height: 100vh;
      margin: 0 auto;
      padding: 0 0 calc(92px + env(safe-area-inset-bottom));
      color: var(--ink);
      background: var(--bg);
      font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", sans-serif;
      letter-spacing: 0;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    .app-header {
      position: sticky;
      top: 0;
      z-index: 10;
      padding: 14px 18px 12px;
      border-bottom: 1px solid rgba(228, 232, 238, 0.9);
      background: rgba(255, 255, 255, 0.92);
      backdrop-filter: blur(14px);
    }

    .header-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 9px;
      font-weight: 900;
      color: var(--green-dark);
      font-size: 20px;
    }

    .brand-mark {
      width: 50px;
      height: 32px;
      border-radius: 8px;
      border: 1px solid var(--line);
      background: #fff;
      overflow: hidden;
      flex: 0 0 auto;
    }

    .brand-mark img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .status-pill {
      padding: 7px 10px;
      border-radius: 999px;
      color: var(--green-dark);
      background: #e7f8ee;
      font-size: 12px;
      font-weight: 900;
      white-space: nowrap;
    }

    .search-box {
      position: relative;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 8px;
      margin-top: 12px;
    }

    .search-input {
      width: 100%;
      min-width: 0;
      height: 42px;
      padding: 0 13px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #f8faf9;
      color: var(--ink);
      font-size: 16px;
      outline: none;
    }

    .search-input:focus {
      border-color: var(--green);
      background: #fff;
    }

    .search-button {
      height: 42px;
      padding: 0 14px;
      border: 0;
      border-radius: 12px;
      background: var(--green);
      color: #fff;
      font-size: 13px;
      font-weight: 900;
      cursor: pointer;
      white-space: nowrap;
    }

    .search-suggestions {
      display: none;
      position: absolute;
      top: 48px;
      left: 0;
      right: 64px;
      z-index: 30;
      max-height: 246px;
      overflow-y: auto;
      padding: 6px;
      border: 1px solid var(--line);
      border-radius: 13px;
      background: rgba(255, 255, 255, 0.98);
      box-shadow: var(--shadow);
      backdrop-filter: blur(14px);
    }

    .search-suggestions.is-visible {
      display: grid;
      gap: 4px;
    }

    .suggestion-item {
      display: block;
      width: 100%;
      padding: 10px;
      border: 0;
      border-radius: 10px;
      background: transparent;
      color: var(--ink);
      text-align: left;
      cursor: pointer;
    }

    .suggestion-item:hover,
    .suggestion-item:focus {
      background: #effbf4;
    }

    .suggestion-item strong,
    .suggestion-item span {
      display: block;
    }

    .suggestion-item strong {
      font-size: 13px;
      font-weight: 900;
    }

    .suggestion-item span {
      margin-top: 3px;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.35;
    }

    .content {
      padding: 16px 14px 22px;
      scroll-margin-top: 104px;
    }

    .hero {
      overflow: hidden;
      border-radius: 18px;
      background: var(--card);
      box-shadow: var(--shadow);
    }

    .hero-image {
      min-height: 180px;
      padding: 18px;
      color: #fff;
      background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.54)),
        url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=900&q=80") center/cover;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
    }

    .hero-image span {
      width: fit-content;
      margin-bottom: 9px;
      padding: 6px 9px;
      border-radius: 999px;
      background: rgba(3, 199, 90, 0.92);
      font-size: 12px;
      font-weight: 900;
    }

    .hero-image h1 {
      margin: 0 0 6px;
      font-size: 26px;
      line-height: 1.2;
    }

    .hero-image p {
      margin: 0;
      color: rgba(255, 255, 255, 0.88);
      font-size: 14px;
      line-height: 1.45;
    }

    .hero-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      padding: 12px;
    }

    .btn {
      display: grid;
      place-items: center;
      min-height: 43px;
      border-radius: 12px;
      background: #f3f6f5;
      color: #344054;
      font-size: 14px;
      font-weight: 900;
    }

    .btn.primary {
      color: #fff;
      background: var(--green);
    }

    .section {
      margin-top: 14px;
      border: 1px solid var(--line);
      border-radius: 16px;
      background: var(--card);
      box-shadow: 0 4px 16px rgba(23, 32, 42, 0.04);
      overflow: hidden;
      scroll-margin-top: 104px;
    }

    .section-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 15px 15px 10px;
    }

    .section-title {
      margin: 0;
      font-size: 17px;
      font-weight: 900;
    }

    .more {
      color: var(--muted);
      font-size: 12px;
      font-weight: 800;
    }

    .info-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      padding: 0 15px 15px;
    }

    .info-card {
      min-height: 78px;
      padding: 12px;
      border-radius: 13px;
      background: #f7f9fa;
    }

    .info-card span {
      display: block;
      margin-bottom: 7px;
      color: var(--muted);
      font-size: 12px;
      font-weight: 800;
    }

    .info-card strong {
      display: block;
      font-size: 15px;
      line-height: 1.35;
    }

    .center-list {
      display: grid;
      gap: 10px;
      max-height: 360px;
      overflow-y: auto;
      padding: 0 15px 15px;
      scroll-snap-type: y proximity;
      scrollbar-width: none;
      -webkit-overflow-scrolling: touch;
    }

    .center-list::-webkit-scrollbar {
      display: none;
    }

    .center-card {
      display: grid;
      gap: 10px;
      padding: 14px;
      border: 1px solid var(--line);
      border-radius: 16px;
      background: #fff;
      box-shadow: 0 6px 18px rgba(23, 32, 42, 0.04);
      scroll-snap-align: start;
    }

    .center-card.is-hidden {
      display: none;
    }

    .center-card strong {
      display: block;
      margin-bottom: 5px;
      font-size: 15px;
    }

    .center-card p {
      margin: 0 0 8px;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.35;
    }

    .badge-row {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .badge {
      padding: 4px 7px;
      border-radius: 999px;
      background: #edf8f2;
      color: var(--green-dark);
      font-size: 11px;
      font-weight: 900;
    }

    .badge.blue {
      background: #eef4ff;
      color: var(--blue);
    }


    .center-actions {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 6px;
      margin-top: 9px;
    }

    .empty-result {
      display: none;
      padding: 16px;
      border: 1px dashed var(--line);
      border-radius: 13px;
      background: #f7f9fa;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.5;
      text-align: center;
    }

    .empty-result.is-visible {
      display: block;
    }

    .small-action {
      display: grid;
      place-items: center;
      min-height: 34px;
      min-width: 0;
      border-radius: 10px;
      background: #f0fbf5;
      color: var(--green-dark);
      font-size: 12px;
      font-weight: 900;
      line-height: 1;
      white-space: nowrap;
    }

    .small-action.subtle {
      background: #f3f6f8;
      color: #475467;
    }

    .small-action.primary {
      color: #fff;
      background: var(--green);
    }

    .badge.amber {
      background: #fff7e6;
      color: #b76e00;
    }

    .badge.distance {
      background: #eafaf1;
      color: var(--green-dark);
    }

    .map-preview {
      position: relative;
      min-height: 260px;
      margin: 0 15px 12px;
      border-radius: 15px;
      background: #eef7f1;
      overflow: hidden;
    }

    .map-error {
      display: none;
      position: absolute;
      inset: 0;
      z-index: 2;
      place-items: center;
      padding: 22px;
      background: #eef7f1;
      text-align: center;
    }

    .map-error.is-visible {
      display: grid;
    }

    .map-error strong {
      display: block;
      margin-bottom: 8px;
      font-size: 16px;
    }

    .map-error p {
      margin: 0;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.5;
    }

    .location-panel {
      display: grid;
      gap: 9px;
      padding: 0 15px 15px;
    }

    .location-button {
      display: grid;
      place-items: center;
      width: 100%;
      min-height: 42px;
      border: 0;
      border-radius: 12px;
      color: #fff;
      background: var(--green);
      font: inherit;
      font-size: 14px;
      font-weight: 900;
      cursor: pointer;
    }

    .location-status {
      margin: 0;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.45;
      text-align: center;
    }

    .location-button.is-loading {
      opacity: 0.78;
      pointer-events: none;
    }

    .notice-list {
      display: grid;
      gap: 9px;
      padding: 0 15px 15px;
    }

    .notice-item {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      padding: 12px;
      border-radius: 12px;
      background: #f7f9fa;
      font-size: 13px;
    }

    .notice-item span {
      color: var(--muted);
      white-space: nowrap;
    }

    .site-footer {
      padding: 22px 8px 4px;
      color: #7b8794;
      text-align: center;
    }

    .footer-links {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin-bottom: 8px;
      color: var(--ink);
      font-size: 12px;
      font-weight: 900;
    }

    .footer-links a {
      color: inherit;
    }

    .footer-links span {
      color: #c4ccd6;
    }

    .company-info {
      display: grid;
      gap: 3px;
      margin-bottom: 8px;
      color: #667085;
      font-size: 11px;
      line-height: 1.45;
      font-weight: 700;
    }

    .company-info p {
      margin: 0;
    }

    .site-footer p {
      margin: 0;
      font-size: 12px;
      line-height: 1.45;
      font-weight: 700;
    }

    .bottom-nav {
      position: fixed;
      left: 50%;
      bottom: 0;
      z-index: 20;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      width: min(430px, 100%);
      padding: 9px 12px calc(10px + env(safe-area-inset-bottom));
      border-top: 1px solid var(--line);
      background: rgba(255, 255, 255, 0.95);
      box-shadow: 0 -8px 22px rgba(23, 32, 42, 0.06);
      backdrop-filter: blur(16px);
      transform: translateX(-50%);
    }

    .nav-item {
      display: grid;
      place-items: center;
      gap: 4px;
      min-height: 62px;
      border-radius: 16px;
      color: #6f7b8d;
      font-size: 13px;
      font-weight: 900;
      transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
    }

    .nav-item:active {
      transform: translateY(1px);
    }

    .nav-item svg {
      width: 24px;
      height: 24px;
      stroke-width: 2.2;
    }

    .nav-item.active {
      color: var(--green-dark);
      background: #eafaf1;
    }

    @media (max-width: 360px) {
      .content {
        padding-right: 10px;
        padding-left: 10px;
      }

      .hero-image h1 {
        font-size: 23px;
      }

      .info-grid {
        grid-template-columns: 1fr;
      }
    }
