    :root {
      --primary: #FF6B35;
      --primary-light: #FF8F65;
      --primary-dark: #E55A2B;
      --primary-bg: #FFF3ED;
      --secondary: #2D3436;
      --accent: #00B894;
      --accent-light: #55EFC4;
      --warning: #FDCB6E;
      --danger: #E17055;
      --bg: #FAFAFA;
      --card: #FFFFFF;
      --text: #2D3436;
      --text-light: #636E72;
      --text-muted: #B2BEC3;
      --border: #E8E8E8;
      --shadow: 0 2px 12px rgba(0,0,0,0.08);
      --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
      --radius: 12px;
      --radius-sm: 8px;
      --radius-lg: 16px;
    }
    * { margin: 0; padding: 0; box-sizing: border-box; }
    body {
      font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
      background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden;
    }

    /* HEADER */
    .header {
      position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
      background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border); height: 64px;
      display: flex; align-items: center; padding: 0 20px; transition: box-shadow 0.3s;
    }
    .header.scrolled { box-shadow: var(--shadow); }
    .header-inner {
      max-width: 1400px; margin: 0 auto; width: 100%;
      display: flex; align-items: center; justify-content: space-between;
    }
    .logo {
      display: flex; align-items: center; gap: 10px;
      font-weight: 800; font-size: 22px; color: var(--primary); cursor: pointer; text-decoration: none;
    }
    .logo-icon {
      width: 38px; height: 38px;
      background: linear-gradient(135deg, var(--primary), var(--primary-light));
      border-radius: 10px; display: flex; align-items: center; justify-content: center;
      color: white; font-size: 18px;
    }
    .nav { display: flex; align-items: center; gap: 4px; }
    .nav-item {
      padding: 8px 16px; border-radius: var(--radius-sm); font-size: 14px;
      font-weight: 500; color: var(--text-light); cursor: pointer;
      transition: all 0.2s; text-decoration: none; position: relative;
    }
    .nav-item:hover { color: var(--primary); background: var(--primary-bg); }
    .nav-item.active { color: var(--primary); font-weight: 600; }
    .nav-item.active::after {
      content: ''; position: absolute; bottom: -1px; left: 16px; right: 16px;
      height: 2px; background: var(--primary); border-radius: 1px;
    }
    .header-actions { display: flex; align-items: center; gap: 8px; }
    .btn {
      padding: 8px 18px; border-radius: var(--radius-sm); font-size: 14px;
      font-weight: 600; border: none; cursor: pointer; transition: all 0.2s;
      display: inline-flex; align-items: center; gap: 6px; font-family: inherit;
    }
    .btn-primary { background: var(--primary); color: white; }
    .btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
    .btn-ghost { background: transparent; color: var(--text-light); border: 1px solid var(--border); }
    .btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
    .btn-accent { background: var(--accent); color: white; }
    .btn-accent:hover { background: #00A884; }
    .btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
    .btn-outline:hover { background: var(--primary-bg); }
    .btn-danger { background: var(--danger); color: white; }
    .btn-danger:hover { background: #C0392B; }
    .btn-sm { padding: 6px 12px; font-size: 13px; }
    .btn-lg { padding: 12px 24px; font-size: 16px; }
    .btn-full { width: 100%; justify-content: center; }
    .btn-icon {
      width: 36px; height: 36px; padding: 0; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      background: var(--bg); border: 1px solid var(--border); cursor: pointer;
      font-size: 14px; color: var(--text-light); transition: all 0.2s;
    }
    .btn-icon:hover { border-color: var(--primary); color: var(--primary); }

    /* PAGES */
    .page { display: none; min-height: calc(100vh - 64px); padding-top: 64px; }
    .page.active { display: block; }
    .map-page { display: none; height: calc(100vh - 64px); padding-top: 64px; position: relative; box-sizing: content-box; }
    .map-page.active { display: flex; }

    /* SIDEBAR */
    .sidebar {
      width: 380px; min-width: 380px; background: var(--card);
      border-right: 1px solid var(--border); display: flex; flex-direction: column;
      height: 100%; overflow: visible; position: relative;
      transition: width 0.35s cubic-bezier(0.4,0,0.2,1),
                  min-width 0.35s cubic-bezier(0.4,0,0.2,1);
    }
    /* 데스크톱 사이드바 접힘 */
    @media (min-width: 769px) {
      .sidebar.collapsed {
        width: 0; min-width: 0; border-right: none; overflow: hidden;
      }
    }
    /* 사이드바 토글 버튼 - 네이버지도 스타일 */
    .sidebar-toggle-btn {
      display: none;
      position: absolute; top: 50%; right: -22px; transform: translateY(-50%);
      z-index: 160; width: 22px; height: 56px;
      background: #fff; border: 1px solid #ccc; border-left: none;
      border-radius: 0 4px 4px 0; cursor: pointer;
      box-shadow: 2px 0 8px rgba(0,0,0,0.12);
      align-items: center; justify-content: center;
      color: #666; transition: all 0.2s; padding: 0;
      font-size: 11px; line-height: 1;
    }
    .sidebar-toggle-btn:hover {
      background: #f0f0f0; color: #333;
      box-shadow: 2px 0 12px rgba(0,0,0,0.18);
    }
    @media (min-width: 769px) {
      .sidebar-toggle-btn { display: flex; }
    }
    /* 사이드바 접힌 상태에서 지도 위 펼침 버튼 - 네이버지도 스타일 */
    .sidebar-expand-btn {
      display: none; position: absolute; top: 50%; left: 0;
      transform: translateY(-50%); z-index: 150;
      width: 22px; height: 56px;
      background: #fff; border: 1px solid #ccc; border-left: none;
      border-radius: 0 4px 4px 0; cursor: pointer;
      box-shadow: 2px 0 8px rgba(0,0,0,0.12);
      align-items: center; justify-content: center;
      color: #666; font-size: 13px; transition: all 0.2s; padding: 0;
    }
    .sidebar-expand-btn:hover {
      background: #f0f0f0; color: #333;
      box-shadow: 2px 0 12px rgba(0,0,0,0.18);
    }
    .sidebar.collapsed + .map-container .sidebar-expand-btn { display: flex; }
    .sidebar-header { padding: 16px 20px; border-bottom: 1px solid var(--border); }
    .search-box {
      display: flex; align-items: center; background: var(--bg);
      border-radius: var(--radius); padding: 0 14px;
      border: 2px solid transparent; transition: all 0.2s;
    }
    .search-box:focus-within { border-color: var(--primary); background: white; }
    .search-box i { color: var(--text-muted); font-size: 14px; }
    .search-box input {
      flex: 1; border: none; background: none; padding: 12px 10px;
      font-size: 14px; font-family: inherit; outline: none; color: var(--text);
    }
    .filter-bar {
      display: flex; gap: 6px; padding: 12px 20px;
      border-bottom: 1px solid var(--border); flex-wrap: wrap;
    }
    .filter-toggle-mobile {
      display: none; align-items: center; gap: 6px;
      padding: 8px 20px; cursor: pointer; font-size: 13px;
      color: var(--text-light); border-bottom: 1px solid var(--border);
      user-select: none; -webkit-user-select: none;
    }
    .filter-toggle-mobile:active { background: var(--bg); }
    .filter-toggle-mobile i { color: var(--primary); font-size: 14px; }
    .filter-chip {
      padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 500;
      background: var(--bg); color: var(--text-light); border: 1px solid var(--border);
      cursor: pointer; transition: all 0.2s; white-space: nowrap;
    }
    .filter-chip:hover { border-color: var(--primary); color: var(--primary); }
    .filter-chip.active { background: var(--primary); color: white; border-color: var(--primary); }
    .restaurant-list { flex: 1; overflow-y: auto; padding: 8px 12px; }
    .restaurant-card {
      padding: 14px; border-radius: var(--radius); cursor: pointer;
      transition: all 0.2s; margin-bottom: 4px; border: 1px solid transparent;
    }
    .restaurant-card:hover { background: var(--primary-bg); border-color: rgba(255,107,53,0.2); }
    .restaurant-card.selected { background: var(--primary-bg); border-color: var(--primary); }
    .rc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
    .rc-name { font-weight: 600; font-size: 15px; color: var(--text); }
    .rc-badge {
      display: inline-flex; align-items: center; gap: 3px; padding: 3px 8px;
      border-radius: 4px; font-size: 11px; font-weight: 600;
    }
    .rc-badge.solo { background: #E8F5E9; color: #2E7D32; }
    .rc-badge.hot { background: #FFF3E0; color: #E65100; }
    .rc-meta {
      display: flex; align-items: center; gap: 12px; font-size: 13px;
      color: var(--text-light); margin-bottom: 6px;
    }
    .rc-meta i { font-size: 12px; color: var(--text-muted); }
    .rc-rating { display: flex; align-items: center; gap: 3px; color: var(--warning); font-weight: 600; }
    .rc-tags { display: flex; gap: 4px; flex-wrap: wrap; }
    .rc-tag { padding: 2px 8px; border-radius: 4px; font-size: 11px; background: var(--bg); color: var(--text-light); }
    .rc-solo-score {
      display: flex; align-items: center; gap: 4px; margin-top: 6px; padding: 4px 8px;
      background: linear-gradient(135deg, #FFF3ED, #FFE8D9); border-radius: 6px;
      font-size: 12px; font-weight: 600; color: var(--primary); width: fit-content;
    }

    /* MAP */
    .map-container { flex: 1; position: relative; }
    #map { width: 100%; height: 100%; }
    .map-overlay-btn {
      position: absolute; z-index: 100; background: white; border: none;
      border-radius: var(--radius); padding: 10px 16px; font-size: 13px;
      font-weight: 600; cursor: pointer; box-shadow: var(--shadow);
      display: flex; align-items: center; gap: 6px; font-family: inherit; transition: all 0.2s;
    }
    .map-overlay-btn:hover { box-shadow: var(--shadow-lg); transform: translateY(-1px); }
    .map-btn-location { bottom: 30px; right: 30px; color: var(--primary); }
    .map-btn-search { top: 20px; right: 20px; color: var(--primary); }
    .map-btn-list { display: none; }

    /* DETAIL PANEL */
    .detail-panel {
      position: absolute; top: 0; right: -420px; width: 420px; height: 100%;
      background: white; box-shadow: -4px 0 20px rgba(0,0,0,0.1); z-index: 200;
      transition: right 0.35s cubic-bezier(0.4,0,0.2,1); overflow-y: auto;
    }
    .detail-panel.open { right: 0; }
    .detail-close {
      position: absolute; top: 16px; right: 16px; width: 36px; height: 36px;
      border-radius: 50%; background: rgba(255,255,255,0.9); border: none;
      cursor: pointer; font-size: 18px; display: flex; align-items: center;
      justify-content: center; z-index: 10; box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    .detail-hero {
      height: 180px; background: linear-gradient(135deg, var(--primary), #FF8F65);
      display: flex; align-items: center; justify-content: center;
      position: relative; overflow: hidden;
    }
    .detail-hero::after {
      content: ''; position: absolute; bottom: 0; left: 0; right: 0;
      height: 60px; background: linear-gradient(transparent, rgba(0,0,0,0.3));
    }
    .detail-hero-icon { font-size: 64px; color: rgba(255,255,255,0.3); }
    .detail-body { padding: 24px; }
    .detail-title { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
    .detail-category { font-size: 13px; color: var(--text-light); margin-bottom: 16px; }
    .detail-stats {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px;
    }
    .detail-stat { text-align: center; padding: 14px 8px; background: var(--bg); border-radius: var(--radius-sm); }
    .detail-stat-value { font-size: 20px; font-weight: 700; color: var(--primary); }
    .detail-stat-label { font-size: 11px; color: var(--text-light); margin-top: 2px; }
    .detail-section { margin-bottom: 20px; }
    .detail-section-title {
      font-size: 14px; font-weight: 700; margin-bottom: 10px;
      display: flex; align-items: center; gap: 6px;
    }
    .detail-section-title i { color: var(--primary); }
    .detail-info-row {
      display: flex; align-items: flex-start; gap: 10px; padding: 8px 0;
      font-size: 14px; border-bottom: 1px solid var(--bg);
    }
    .detail-info-row i { color: var(--text-muted); width: 16px; margin-top: 2px; }
    .vote-bar {
      width: 100%; height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; margin: 8px 0;
    }
    .vote-bar-fill { height: 100%; background: var(--accent); border-radius: 4px; transition: width 0.5s ease; }
    .detail-actions { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
    .review-list { display: flex; flex-direction: column; gap: 12px; }
    .review-item { padding: 14px; background: var(--bg); border-radius: var(--radius-sm); }
    .review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
    .review-author { font-size: 13px; font-weight: 600; }
    .review-date { font-size: 12px; color: var(--text-muted); }
    .review-text { font-size: 13px; color: var(--text-light); line-height: 1.5; }
    .review-rating { color: var(--warning); font-size: 12px; margin-bottom: 4px; }
    .review-actions { display: flex; gap: 6px; margin-top: 8px; }
    .review-actions button {
      font-size: 11px; padding: 3px 8px; border-radius: 4px; border: 1px solid var(--border);
      background: white; cursor: pointer; color: var(--text-light); font-family: inherit; transition: all 0.2s;
    }
    .review-actions button:hover { border-color: var(--danger); color: var(--danger); }

    /* COMMUNITY PAGE */
    .community-page { max-width: 900px; margin: 0 auto; padding: 30px 20px; }
    .community-page .page-title { font-size: 28px; font-weight: 800; margin-bottom: 6px; }
    .community-page .page-subtitle { color: var(--text-light); margin-bottom: 24px; }
    .board-tabs {
      display: flex; gap: 4px; margin-bottom: 20px; border-bottom: 1px solid var(--border);
    }
    .board-tab {
      padding: 10px 20px; font-size: 14px; font-weight: 600; color: var(--text-light);
      cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all 0.2s;
    }
    .board-tab:hover { color: var(--primary); }
    .board-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
    .post-card {
      background: var(--card); border-radius: var(--radius); padding: 20px;
      margin-bottom: 12px; border: 1px solid var(--border); transition: all 0.2s;
    }
    .post-card:hover { box-shadow: var(--shadow); border-color: rgba(255,107,53,0.2); }
    .post-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
    .post-avatar {
      width: 32px; height: 32px; border-radius: 50%;
      background: linear-gradient(135deg, var(--primary-light), var(--primary));
      display: flex; align-items: center; justify-content: center;
      color: white; font-size: 14px; font-weight: 600;
    }
    .post-author { font-size: 13px; font-weight: 600; }
    .post-time { font-size: 12px; color: var(--text-muted); }
    .post-title { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
    .post-content { font-size: 14px; color: var(--text-light); line-height: 1.5; margin-bottom: 10px; }
    .post-footer { display: flex; align-items: center; gap: 16px; }
    .post-stat { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--text-muted); }
    .post-tag {
      padding: 3px 10px; border-radius: 4px; font-size: 11px; font-weight: 600;
      background: var(--primary-bg); color: var(--primary);
    }
    .post-actions { display: flex; gap: 6px; margin-top: 10px; }
    .post-actions button {
      font-size: 11px; padding: 3px 8px; border-radius: 4px; border: 1px solid var(--border);
      background: white; cursor: pointer; color: var(--text-light); font-family: inherit; transition: all 0.2s;
    }
    .post-actions button:hover { border-color: var(--danger); color: var(--danger); }

    /* DEAL PAGE */
    .deal-page { max-width: 900px; margin: 0 auto; padding: 30px 20px; }
    .deal-page .page-title { font-size: 28px; font-weight: 800; margin-bottom: 6px; }
    .deal-page .page-subtitle { color: var(--text-light); margin-bottom: 24px; }
    .deal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
    .deal-card {
      background: var(--card); border-radius: var(--radius); overflow: hidden;
      border: 1px solid var(--border); transition: all 0.2s;
    }
    .deal-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
    .deal-img {
      height: 160px; display: flex; align-items: center; justify-content: center;
      color: white; font-size: 48px; position: relative;
    }
    .deal-discount {
      position: absolute; top: 12px; right: 12px; background: var(--danger);
      color: white; padding: 4px 10px; border-radius: 6px; font-size: 14px; font-weight: 700;
    }
    .deal-body { padding: 16px; }
    .deal-name { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
    .deal-location { font-size: 13px; color: var(--text-light); margin-bottom: 8px; }
    .deal-price { display: flex; align-items: baseline; gap: 8px; }
    .deal-price-old { font-size: 14px; color: var(--text-muted); text-decoration: line-through; }
    .deal-price-new { font-size: 18px; font-weight: 700; color: var(--primary); }
    .deal-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }

    /* MODALS */
    .modal-overlay {
      position: fixed; top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0,0,0,0.5); z-index: 2000; display: none;
      align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(4px);
    }
    .modal-overlay.open { display: flex; }
    .modal {
      background: white; border-radius: var(--radius-lg); width: 100%;
      max-width: 520px; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg);
    }
    .modal-header {
      padding: 20px 24px; border-bottom: 1px solid var(--border);
      display: flex; justify-content: space-between; align-items: center;
    }
    .modal-title { font-size: 18px; font-weight: 700; }
    .modal-close-btn {
      width: 32px; height: 32px; border-radius: 50%; border: none;
      background: var(--bg); cursor: pointer; font-size: 18px;
      display: flex; align-items: center; justify-content: center;
    }
    .modal-body { padding: 24px; }
    .form-group { margin-bottom: 16px; }
    .form-label { font-size: 13px; font-weight: 600; margin-bottom: 6px; display: block; }
    .form-input, .form-textarea, .form-select {
      width: 100%; padding: 10px 14px; border: 1px solid var(--border);
      border-radius: var(--radius-sm); font-size: 14px; font-family: inherit;
      outline: none; transition: border-color 0.2s; color: var(--text);
    }
    .form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--primary); }
    .form-textarea { resize: vertical; min-height: 100px; }
    .modal-footer {
      padding: 16px 24px; border-top: 1px solid var(--border);
      display: flex; justify-content: flex-end; gap: 8px;
    }

    /* NICKNAME ROW */
    .nickname-row {
      display: flex; gap: 8px; align-items: center;
    }
    .nickname-row .form-input { flex: 1; }
    .nickname-row .btn-icon { flex-shrink: 0; }

    /* PASSWORD INPUT */
    .password-row {
      display: flex; gap: 8px; align-items: center;
    }
    .password-input {
      width: 100%; padding: 10px 14px; border: 1px solid var(--border);
      border-radius: var(--radius-sm); font-size: 18px; font-family: inherit;
      outline: none; transition: border-color 0.2s; color: var(--text);
      letter-spacing: 8px; text-align: center; font-weight: 700;
    }
    .password-input:focus { border-color: var(--primary); }
    .password-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

    /* PHOTO UPLOAD */
    .photo-upload-area {
      display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
    }
    .photo-slot {
      aspect-ratio: 1; border: 2px dashed var(--border); border-radius: var(--radius-sm);
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      cursor: pointer; transition: all 0.2s; position: relative; overflow: hidden;
      background: var(--bg);
    }
    .photo-slot:hover { border-color: var(--primary); background: var(--primary-bg); }
    .photo-slot.has-image { border: 2px solid var(--border); }
    .photo-slot.has-image:hover { border-color: var(--danger); }
    .photo-slot img {
      width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--radius-sm) - 2px);
    }
    .photo-slot .photo-icon { color: var(--text-muted); font-size: 20px; margin-bottom: 4px; }
    .photo-slot .photo-text { font-size: 10px; color: var(--text-muted); }
    .photo-slot .photo-remove {
      position: absolute; top: 4px; right: 4px; width: 22px; height: 22px;
      background: rgba(0,0,0,0.6); color: white; border: none; border-radius: 50%;
      font-size: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center;
      opacity: 0; transition: opacity 0.2s;
    }
    .photo-slot.has-image:hover .photo-remove { opacity: 1; }
    .photo-slot .photo-badge {
      position: absolute; top: 4px; left: 4px; background: var(--primary);
      color: white; font-size: 10px; font-weight: 700; padding: 2px 6px;
      border-radius: 4px;
    }
    .photo-required { color: var(--danger); font-size: 12px; margin-top: 6px; }

    /* SEARCH DROPDOWN */
    .search-results-dropdown {
      position: absolute; left: 0; right: 0; background: white;
      border: 1px solid var(--border); border-radius: var(--radius-sm);
      box-shadow: var(--shadow-lg); max-height: 240px; overflow-y: auto;
      z-index: 10; margin-top: 4px;
    }
    .search-results-dropdown .search-item {
      padding: 10px 14px; cursor: pointer; border-bottom: 1px solid var(--border);
      transition: background 0.15s;
    }
    .search-results-dropdown .search-item:hover { background: var(--bg); }
    .search-results-dropdown .search-item:last-child { border-bottom: none; }
    .search-item-name { font-weight: 600; font-size: 14px; }
    .search-item-addr { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

    /* TOAST */
    .toast-container {
      position: fixed; top: 80px; right: 20px; z-index: 3000;
      display: flex; flex-direction: column; gap: 8px;
    }
    .toast {
      padding: 14px 20px; background: var(--secondary); color: white;
      border-radius: var(--radius-sm); font-size: 14px; box-shadow: var(--shadow-lg);
      animation: slideIn 0.3s ease, fadeOut 0.3s ease 2.7s forwards;
      display: flex; align-items: center; gap: 8px;
    }
    .toast.success { background: var(--accent); }
    .toast.error { background: var(--danger); }
    @keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
    @keyframes fadeOut { to { opacity: 0; transform: translateY(-10px); } }

    /* FOOTER */
    .footer {
      background: var(--secondary); color: rgba(255,255,255,0.7);
      padding: 40px 20px; margin-top: 40px;
    }
    .footer-inner {
      max-width: 900px; margin: 0 auto; display: flex;
      justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 30px;
    }
    .footer-brand { font-size: 20px; font-weight: 700; color: white; margin-bottom: 8px; }
    .footer-desc { font-size: 13px; line-height: 1.6; max-width: 300px; }
    .footer-links { display: flex; gap: 40px; }
    .footer-col h4 { color: white; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
    .footer-col a {
      display: block; font-size: 13px; color: rgba(255,255,255,0.6);
      text-decoration: none; margin-bottom: 8px; cursor: pointer;
    }
    .footer-col a:hover { color: white; }
    .footer-bottom {
      max-width: 900px; margin: 20px auto 0; padding-top: 20px;
      border-top: 1px solid rgba(255,255,255,0.1); font-size: 12px; text-align: center;
    }

    /* SCROLLBAR */
    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: transparent; }
    ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
    ::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

    /* EMPTY STATE */
    .empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
    .empty-state i { font-size: 48px; margin-bottom: 16px; color: var(--border); }

    /* MARKERS */
    .custom-marker { position: relative; cursor: pointer; }
    .marker-dot {
      width: 36px; height: 36px; background: var(--primary); border: 3px solid white;
      border-radius: 50%; box-shadow: 0 2px 8px rgba(255,107,53,0.4);
      display: flex; align-items: center; justify-content: center;
      color: white; font-size: 14px; transition: transform 0.2s;
    }
    .marker-dot:hover { transform: scale(1.2); }
    .marker-price {
      position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%);
      background: white; padding: 2px 6px; border-radius: 8px; font-size: 10px;
      font-weight: 700; color: var(--primary); white-space: nowrap;
      box-shadow: 0 1px 3px rgba(0,0,0,0.1); border: 1px solid var(--border);
    }

    /* MOBILE */
    @media (max-width: 768px) {
      .sidebar {
        width: 100%; min-width: auto; position: absolute; z-index: 150;
        height: 60%; bottom: 0; top: auto; left: 0; right: 0;
        border-right: none; border-top: 1px solid var(--border);
        border-radius: 16px 16px 0 0; box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
        transform: translateY(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
      }
      .sidebar.open { transform: translateY(0); }
      .sidebar-handle {
        display: flex; width: 40px; height: 4px; background: var(--border);
        border-radius: 2px; margin: 10px auto 6px;
      }
      .nav { display: none; }
      .nav.mobile-open {
        display: flex; flex-direction: column; position: absolute;
        top: 64px; left: 0; right: 0; background: white; padding: 16px;
        border-bottom: 1px solid var(--border); box-shadow: var(--shadow); z-index: 1100;
      }
      .detail-panel {
        width: 100%; right: -100%;
        position: fixed; top: 64px; height: calc(100% - 64px);
        z-index: 500;
      }
      .mobile-toggle { display: block !important; }
      .map-btn-search { display: none; }
      .map-btn-location { top: 12px; right: 20px; bottom: auto; }
      .sidebar-header { padding: 10px 16px; }
      .sidebar-header { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
      .sidebar-header .search-box { flex: 1; min-width: 120px; }
      .filter-bar-inline {
        display: none; width: 100%; gap: 4px; overflow-x: auto;
        scrollbar-width: none; -ms-overflow-style: none;
      }
      .filter-bar-inline.show { display: flex; }
      .filter-bar-inline::-webkit-scrollbar { display: none; }
      .filter-bar-inline .filter-chip { font-size: 12px; padding: 5px 10px; }
      .filter-bar { display: none !important; }
      .filter-toggle-mobile {
        display: flex !important; flex-shrink: 0;
        padding: 8px 10px; border: 1px solid var(--border);
        border-radius: var(--radius); cursor: pointer;
        align-items: center; gap: 4px; font-size: 13px;
        color: var(--text-light); background: var(--bg);
        user-select: none; -webkit-user-select: none;
      }
      .filter-toggle-mobile:active { background: var(--border); }
      .filter-toggle-mobile i { color: var(--primary); }
      .search-box input { padding: 8px 10px; font-size: 13px; }
      .filter-bar { display: none; }
      .filter-bar.show { display: flex; }
      /* 모바일 디테일 뒤로가기 버튼 */
      .detail-back-btn {
        display: flex !important;
        position: absolute; top: 12px; left: 12px; z-index: 10;
        width: 36px; height: 36px; border-radius: 50%;
        background: rgba(255,255,255,0.9); border: none;
        cursor: pointer; font-size: 16px; align-items: center;
        justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      }
      .map-btn-list {
        bottom: 20px; left: 50%; transform: translateX(-50%);
        background: rgba(255,255,255,0.92); backdrop-filter: blur(8px);
        color: var(--primary); border-radius: 24px; padding: 12px 24px;
        font-size: 14px; box-shadow: 0 4px 16px rgba(0,0,0,0.12);
      }
      .map-btn-list.active {
        background: var(--primary); color: white;
      }
      /* 모바일 하단 흰색 여백 제거 */
      .footer { margin-top: 20px; padding: 24px 16px; }
      .detail-body { padding-bottom: 8px; }
      .detail-section:last-child { margin-bottom: 4px; }
      .page { min-height: 100vh; }
    }
    .detail-back-btn { display: none; }
    @media (min-width: 769px) {
      .mobile-toggle { display: none !important; }
      .sidebar-handle { display: none; }
      .map-btn-list { display: none; }
      .filter-bar-inline { display: none !important; }
      .filter-toggle-mobile { display: none !important; }
    }
    .mobile-toggle {
      display: none; width: 40px; height: 40px; border: none;
      background: none; cursor: pointer; font-size: 20px; color: var(--text);
    }
    .hidden { display: none !important; }

    /* 게시판 */
    .board-page { max-width: 900px; margin: 0 auto; padding: 30px 20px; }
    .board-list { display: flex; flex-direction: column; gap: 8px; }
    .board-card {
      background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
      padding: 18px 20px; cursor: pointer; transition: all 0.2s;
    }
    .board-card:hover { box-shadow: var(--shadow); border-color: rgba(255,107,53,0.2); }
    .board-card-title { font-size: 16px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
    .board-card-excerpt { font-size: 13px; color: var(--text-light); line-height: 1.5; margin-bottom: 10px;
      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .board-card-meta {
      display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--text-muted);
    }
    .board-card-meta i { font-size: 11px; }
    .board-card-meta .board-nick { font-weight: 600; color: var(--text-light); }
    .board-detail-meta {
      display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--text-muted);
      margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border);
    }
    .board-detail-content { font-size: 14px; line-height: 1.8; color: var(--text); white-space: pre-wrap; word-break: break-word; margin-bottom: 20px; }
    .board-detail-actions { display: flex; gap: 8px; justify-content: flex-end; }
    .board-comment-section { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
    .board-comment-section h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
    .board-comment {
      padding: 12px; background: var(--bg); border-radius: var(--radius-sm); margin-bottom: 8px;
    }
    .board-comment-header { display: flex; justify-content: space-between; margin-bottom: 4px; }
    .board-comment-nick { font-size: 13px; font-weight: 600; }
    .board-comment-date { font-size: 11px; color: var(--text-muted); }
    .board-comment-text { font-size: 13px; color: var(--text-light); line-height: 1.5; white-space: pre-wrap; }
    .board-comment-input {
      display: flex; gap: 8px; margin-top: 12px;
    }
    .board-comment-input input { flex: 1; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 12px; font-size: 13px; font-family: inherit; outline: none; }
    .board-comment-input input:focus { border-color: var(--primary); }
    .board-pagination {
      display: flex; justify-content: center; gap: 4px; margin-top: 20px; padding: 10px 0;
    }
    .board-page-btn {
      width: 36px; height: 36px; border-radius: var(--radius-sm); border: 1px solid var(--border);
      background: white; cursor: pointer; font-size: 13px; font-family: inherit;
      display: flex; align-items: center; justify-content: center; transition: all 0.2s;
    }
    .board-page-btn:hover { border-color: var(--primary); color: var(--primary); }
    .board-page-btn.active { background: var(--primary); color: white; border-color: var(--primary); }

    /* 채팅 UI */
    .chat-container {
      display: flex; flex-direction: column; height: 400px;
      background: var(--bg); border-radius: var(--radius); overflow: hidden;
      border: 1px solid var(--border);
    }
    .chat-header {
      padding: 12px 16px; background: var(--primary); color: white;
      display: flex; align-items: center; justify-content: space-between;
      font-weight: 600; font-size: 14px;
    }
    .chat-header .chat-user-count {
      display: flex; align-items: center; gap: 4px; font-size: 12px;
      background: rgba(255,255,255,0.2); padding: 3px 10px; border-radius: 12px;
    }
    .chat-header .chat-user-count .dot {
      width: 6px; height: 6px; background: #55EFC4; border-radius: 50%;
      animation: pulse 2s infinite;
    }
    @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
    .chat-messages {
      flex: 1; overflow-y: auto; padding: 12px; display: flex;
      flex-direction: column; gap: 8px;
    }
    .chat-msg {
      max-width: 85%; padding: 8px 12px; border-radius: 12px;
      font-size: 13px; line-height: 1.4;
    }
    .chat-msg.mine {
      align-self: flex-end; background: var(--primary); color: white;
      border-bottom-right-radius: 4px;
    }
    .chat-msg.other {
      align-self: flex-start; background: white;
      border: 1px solid var(--border); border-bottom-left-radius: 4px;
    }
    .chat-msg .msg-nick {
      font-size: 11px; font-weight: 600; margin-bottom: 2px;
      color: rgba(0,0,0,0.5);
    }
    .chat-msg.mine .msg-nick { color: rgba(255,255,255,0.7); }
    .chat-msg .msg-time {
      font-size: 10px; opacity: 0.6; margin-top: 4px; text-align: right;
    }
    .chat-input-row {
      display: flex; gap: 8px; padding: 10px 12px;
      background: white; border-top: 1px solid var(--border);
    }
    .chat-input-row input {
      flex: 1; border: 1px solid var(--border); border-radius: 20px;
      padding: 8px 14px; font-size: 13px; outline: none; font-family: inherit;
    }
    .chat-input-row input:focus { border-color: var(--primary); }
    .chat-input-row button {
      width: 36px; height: 36px; border-radius: 50%; border: none;
      background: var(--primary); color: white; cursor: pointer;
      font-size: 14px; flex-shrink: 0;
    }

    /* 채팅방 리스트 (혼밥방 페이지) */
    .chat-room-list { display: flex; flex-direction: column; gap: 8px; }
    .chat-room-card {
      background: var(--card); border: 1px solid var(--border);
      border-radius: var(--radius); padding: 16px; cursor: pointer;
      transition: all 0.2s; display: flex; align-items: center;
      justify-content: space-between;
    }
    .chat-room-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
    .chat-room-info { display: flex; align-items: center; gap: 12px; flex: 1; }
    .chat-room-icon {
      width: 44px; height: 44px; border-radius: 12px;
      background: var(--primary-bg); display: flex; align-items: center;
      justify-content: center; font-size: 20px; flex-shrink: 0;
    }
    .chat-room-name { font-weight: 600; font-size: 15px; }
    .chat-room-addr { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
    .chat-room-count {
      display: flex; align-items: center; gap: 6px;
      font-size: 13px; font-weight: 600; color: var(--accent);
      background: #E8F8F5; padding: 6px 12px; border-radius: 20px; flex-shrink: 0;
    }
    .chat-room-count .dot {
      width: 8px; height: 8px; background: var(--accent);
      border-radius: 50%; animation: pulse 2s infinite;
    }

    /* 혼밥 등록 폼 */
    .solo-log-form {
      background: var(--bg); border-radius: var(--radius); padding: 16px;
    }
    .solo-log-form .form-group { margin-bottom: 12px; }
    .solo-log-form .form-label { font-size: 13px; font-weight: 600; margin-bottom: 6px; display: block; }
    .solo-log-form .form-input, .solo-log-form .form-select {
      width: 100%; padding: 8px 12px; border: 1px solid var(--border);
      border-radius: var(--radius-sm); font-size: 13px; font-family: inherit;
      outline: none; transition: border-color 0.2s;
    }
    .solo-log-form .form-input:focus, .solo-log-form .form-select:focus { border-color: var(--primary); }

    /* 혼밥 평가 시각적 바 */
    .solo-eval-bar {
      display: flex; border-radius: 10px; overflow: hidden; height: 44px;
      background: #FFF3E0; margin-bottom: 10px; position: relative;
    }
    .solo-eval-bar .eval-yes {
      background: linear-gradient(135deg, #43A047, #66BB6A); color: white;
      display: flex; align-items: center; justify-content: center;
      font-weight: 700; font-size: 14px; min-width: 40px; transition: width 0.5s ease;
    }
    .solo-eval-bar .eval-no {
      background: linear-gradient(135deg, #EF6C00, #FF9800); color: white;
      display: flex; align-items: center; justify-content: center;
      font-weight: 700; font-size: 14px; flex: 1; transition: width 0.5s ease;
    }
    .solo-eval-bar .eval-empty {
      flex: 1; display: flex; align-items: center; justify-content: center;
      font-size: 12px; color: var(--text-muted);
    }
    .solo-eval-labels {
      display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 12px;
    }
    .solo-eval-labels .label-yes { color: #2E7D32; font-weight: 700; }
    .solo-eval-labels .label-no { color: #E65100; font-weight: 700; }
    .solo-vote-btns {
      display: flex; gap: 8px;
    }
    .solo-vote-btns button {
      flex: 1; padding: 10px; border-radius: var(--radius-sm); font-size: 13px;
      font-weight: 600; cursor: pointer; border: 2px solid transparent;
      transition: all 0.2s; font-family: inherit;
    }
    .solo-vote-btn-yes {
      background: #E8F5E9; color: #2E7D32; border-color: #A5D6A7;
    }
    .solo-vote-btn-yes:hover { background: #C8E6C9; }
    .solo-vote-btn-no {
      background: #FFF3E0; color: #E65100; border-color: #FFCC80;
    }
    .solo-vote-btn-no:hover { background: #FFE0B2; }

    /* 나의 혼밥 등록 - 혼밥 평가 선택 */
    .solo-log-vote {
      display: flex; gap: 8px; margin-bottom: 12px;
    }
    .solo-log-vote label {
      flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
      padding: 8px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600;
      cursor: pointer; border: 2px solid var(--border); transition: all 0.2s;
      font-family: inherit;
    }
    .solo-log-vote input[type="radio"] { display: none; }
    .solo-log-vote .vote-opt-yes { background: #F1F8E9; color: #558B2F; }
    .solo-log-vote .vote-opt-yes.selected { border-color: #43A047; background: #E8F5E9; }
    .solo-log-vote .vote-opt-no { background: #FFF8E1; color: #E65100; }
    .solo-log-vote .vote-opt-no.selected { border-color: #EF6C00; background: #FFF3E0; }

    /* 모바일 식당목록 토글 버튼 */
    .map-btn-restaurant-list {
      top: 12px; left: 20px; bottom: auto;
      color: var(--primary); display: none;
    }
    @media (max-width: 768px) {
      .map-btn-restaurant-list { display: flex; }
    }

    /* === 사진 캐러셀 패치 === */
    .detail-hero-scroll {
      display: flex; gap: 0; width: 100%; height: 100%;
      overflow-x: auto; scroll-snap-type: x mandatory;
      scrollbar-width: none; -ms-overflow-style: none;
    }
    .detail-hero-scroll::-webkit-scrollbar { display: none; }
    .detail-hero-scroll img {
      min-width: 100%; height: 100%; object-fit: cover;
      scroll-snap-align: start; flex-shrink: 0;
    }
    .detail-hero-arrow {
      position: absolute; top: 50%; transform: translateY(-50%);
      z-index: 10; width: 32px; height: 32px; border-radius: 50%;
      background: rgba(255,255,255,0.85); border: none; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      font-size: 13px; color: #333;
      box-shadow: 0 2px 8px rgba(0,0,0,0.15);
      opacity: 0; transition: opacity 0.25s, transform 0.2s;
    }
    .detail-hero:hover .detail-hero-arrow { opacity: 1; }
    .detail-hero-arrow:hover { background: white; transform: translateY(-50%) scale(1.1); }
    .detail-hero-arrow.left { left: 10px; }
    .detail-hero-arrow.right { right: 10px; }
    .detail-hero-arrow.hidden { display: none; }
    .detail-hero-counter {
      position: absolute; top: 12px; left: 12px; z-index: 10;
      background: rgba(0,0,0,0.55); color: white;
      padding: 4px 10px; border-radius: 12px;
      font-size: 12px; font-weight: 600; backdrop-filter: blur(4px);
      pointer-events: none;
    }
    .detail-hero-dots {
      position: absolute; bottom: 10px; left: 50%;
      transform: translateX(-50%); z-index: 10;
      display: flex; gap: 5px;
    }
    .detail-hero-dot {
      width: 6px; height: 6px; border-radius: 50%;
      background: rgba(255,255,255,0.45);
      transition: all 0.25s; cursor: pointer;
    }
    .detail-hero-dot.active { background: white; transform: scale(1.3); }
    .detail-thumbs {
      display: flex; gap: 3px; padding: 3px;
      background: #f5f5f5; overflow-x: auto;
      scrollbar-width: none; -ms-overflow-style: none;
    }
    .detail-thumbs::-webkit-scrollbar { display: none; }
    .detail-thumbs.hidden { display: none; }
    .detail-thumb {
      width: 48px; height: 48px; border-radius: 6px;
      object-fit: cover; cursor: pointer; flex-shrink: 0;
      border: 2px solid transparent; opacity: 0.6; transition: all 0.2s;
    }
    .detail-thumb:hover { opacity: 0.9; }
    .detail-thumb.active { border-color: var(--primary); opacity: 1; }
