/* ── 블록 1 (원래 L50) ── */
*,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0
    }

    :root {
      --bg: #ffffff;
      --black: #000000;
      --gray: #6e6e73;
      --light-gray: #86868b;
      --border: #d2d2d7;
      --blue: #0071e3;
      --blue-hover: #0077ed;
      --white: #ffffff;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, 'SF Pro KR', 'SF Pro Text',
        'Helvetica Neue', Arial, sans-serif;
      background: var(--bg);
      color: var(--black);
      -webkit-font-smoothing: antialiased;
    }

    /* ── NAV ── */
    .nav {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(255, 255, 255, 0);  /* starts transparent -> JS progressive */
      backdrop-filter: saturate(100%) blur(0px);
      -webkit-backdrop-filter: saturate(100%) blur(0px);
      border-bottom: 1px solid rgba(0, 0, 0, 0);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 22px;
      height: 44px;
      will-change: background, backdrop-filter;
    }

    .nav-brand {
      font-family: 'Outfit', sans-serif;
      font-size: 20px;
      font-weight: 700;
      color: var(--black);
      letter-spacing: -0.5px;
    }

    /* ── HOME VIEW ── */
    #home-view {
      display: none !important;
    }

    .home-nav {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(255, 255, 255, 0);
      backdrop-filter: saturate(100%) blur(0px);
      -webkit-backdrop-filter: saturate(100%) blur(0px);
      border-bottom: 1px solid rgba(0, 0, 0, 0);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 22px;
      height: 44px;
      will-change: background, backdrop-filter;
    }

    /* ── SHARE BUTTON ── */
    .nav-share-btn {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      border: none;
      background: transparent;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #1d1d1f;
      transition: background 0.15s ease;
      padding: 0;
      flex-shrink: 0;
      position: relative;
    }
    .nav-share-btn:hover {
      background: rgba(0, 0, 0, 0.07);
    }
    .nav-share-btn:active {
      background: rgba(0, 0, 0, 0.12);
      transform: scale(0.93);
    }

    /* ── TOAST NOTIFICATION (GLOBAL) ── */
    #toast {
      position: fixed;
      bottom: 30px;
      left: 50%;
      transform: translateX(-50%) translateY(100px);
      background: rgba(0,0,0,0.8);
      color: #fff;
      padding: 12px 24px;
      border-radius: 30px;
      font-size: 14px;
      z-index: 99999;
      transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s, visibility 0s 0.4s;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      max-width: calc(100vw - 32px);
      text-align: center;
      word-break: keep-all;
    }
    #toast.show {
      transform: translateX(-50%) translateY(0);
      opacity: 1;
      visibility: visible;
      transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s, visibility 0s;
    }

    /* ── SAVE BUTTON FILL ANIMATION ── */
    /* 모바일에서만 저장(인쇄) 버튼 숨김 — URL 공유로 대체 */
    @media screen and (max-width: 743px) {
      #nav-save-btn { display: none !important; }
    }

    #nav-save-btn .save-icon-bg {
      stroke: #1d1d1f;
      transition: stroke 0.2s;
    }
    #nav-save-btn .save-icon-fill {
      stroke: #1d1d1f;
      clip-path: inset(100% 0 0 0);
      transition: clip-path 0s;
    }
    /* 저장 중: 배경 회색 → 채움 레이어가 아래에서 위로 검정으로 올라옴 */
    #nav-save-btn.saving .save-icon-bg {
      stroke: #ccc;
      transition: stroke 0.15s;
    }
    #nav-save-btn.saving .save-icon-fill {
      clip-path: inset(0 0 0 0);
      transition: clip-path 2s cubic-bezier(0.22, 0.61, 0.36, 1);
    }
    #nav-save-btn.saving {
      pointer-events: none;
    }
    /* 저장 완료: 초록 */
    #nav-save-btn.save-done .save-icon-fill {
      clip-path: inset(0 0 0 0);
      stroke: #34c759;
      transition: stroke 0.3s;
    }
    #nav-save-btn.save-done .save-icon-bg {
      stroke: transparent;
      transition: stroke 0.3s;
    }

    /* ── PRINT ── */
    @media print {
      /* 숨길 요소 */
      #home-view, #share-overlay, #share-modal-overlay, #wiz-launcher, #wiz-panel,
      #toast, .nav, .home-nav, #compare-top-banner, #cv-search-sheet,
      #compare-view > .nav, .compare-nav, footer,
      .home-overlay, .wiz-launcher-badge,
      .nav-share-btn, .nav-save-btn,
      .sb-panel, .dest-dd-menu,
      .dest-select, #no-results-cnt,
      .sb-btn, .dest-col-actions,
      #traveler-seg, #traveler-seg-c,
      #traveler-seg + .sb-div, #traveler-seg-c + .sb-div { display: none !important; }

      @page { size: A4 landscape; margin: 8mm 10mm; }

      html, body {
        background: #fff !important;
        margin: 0 !important;
        padding: 0 !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
      }

      /* compare-view 표시 */
      #compare-view {
        display: block !important;
        position: static !important;
        overflow: visible !important;
        background: #fff !important;
      }
      #comparison-body { display: block !important; overflow: visible !important; }

      /* 검색바 + 여행지 선택바 표시 */
      #compare-sb-wrap { display: flex !important; }
      .sticky-sel { display: block !important; position: static !important; }

      /* 3번째 컬럼 강제 표시 */
      #col-2, .dest-col:nth-child(3),
      .data-row .dc:nth-child(3),
      .sel-grid .sel-card:nth-child(3) { display: block !important; }

      /* 페이지 나뉨 방지 */
      .sec-hd { break-after: avoid; }
      .grp, .dest-images, .data-row { break-inside: avoid; }
    }

    /* ── SHARE SHEET ── */
    #share-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.35);
      z-index: 3000;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.25s ease;
      backdrop-filter: blur(2px);
      -webkit-backdrop-filter: blur(2px);
    }
    #share-overlay.open {
      opacity: 1;
      pointer-events: all;
    }
    #share-sheet {
      position: fixed;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%) translateY(100%);
      width: min(480px, 100vw);
      background: #fff;
      border-radius: 24px 24px 0 0;
      z-index: 3001;
      padding: 0 0 max(24px, env(safe-area-inset-bottom)) 0;
      transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
      box-shadow: 0 -4px 40px rgba(0,0,0,0.12);
    }
    #share-sheet.open {
      transform: translateX(-50%) translateY(0);
    }
    .share-sheet-handle {
      width: 36px;
      height: 4px;
      background: #e0e0e5;
      border-radius: 2px;
      margin: 12px auto 20px;
    }
    .share-sheet-title {
      font-size: 13px;
      font-weight: 600;
      color: #aeaeb2;
      text-align: center;
      letter-spacing: 0.3px;
      margin-bottom: 20px;
    }
    .share-options {
      display: flex;
      justify-content: center;
      gap: 28px;
      padding: 0 24px 20px;
    }
    .share-opt {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      cursor: pointer;
      background: none;
      border: none;
      font-family: inherit;
      padding: 0;
    }
    .share-opt-icon {
      width: 56px;
      height: 56px;
      border-radius: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.15s ease, opacity 0.15s ease;
    }
    .share-opt:active .share-opt-icon {
      transform: scale(0.9);
      opacity: 0.75;
    }
    .share-opt-label {
      font-size: 12px;
      font-weight: 500;
      color: #3a3a3c;
    }

    .share-opt-icon.copy {
      background: #f2f2f7;
    }
    .share-opt-icon.more {
      background: #f2f2f7;
    }
    .share-divider {
      border: none;
      border-top: 1px solid #f2f2f2;
      margin: 0 0 4px;
    }
    .share-cancel {
      width: 100%;
      padding: 16px;
      font-size: 16px;
      font-weight: 500;
      color: #1d1d1f;
      background: none;
      border: none;
      cursor: pointer;
      font-family: inherit;
      transition: background 0.1s;
    }
    .share-cancel:active { background: #f5f5f7; }

    .home-content {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      padding-top: calc(12vh + 120px);
    }

    .home-title {
      font-size: 52px;
      font-weight: 700;
      letter-spacing: -1.5px;
      margin-bottom: 8px;
      color: var(--black);
      line-height: 1.05;
    }

    /* ── AIRBNB-STYLE SEARCH BAR ── */
    /* Wrapper for relative-positioned panels */
    .sb-wrap {
      position: relative;
      width: min(880px, calc(100vw - 32px));
      margin: 28px auto 0;
      z-index: 90;
    }
    /* PC: 여행자 숨기고 검색바 너비 축소 */
    @media (min-width: 1069px) {
      #traveler-seg,
      #traveler-seg-c { display: none; }
      #date-seg + .sb-div,
      #date-seg-c + .sb-div { display: none; }
      .sb-wrap { width: min(720px, calc(100vw - 32px)); }
      /* PC 유연한 일정 화살표 위치 */
      #sb-flex-month-arrow-right-c { right: -4px; left: auto; }
      #sb-flex-month-arrow-left-c  { left: -4px; right: auto; }
      /* PC 월 카드 간격 확대 */
      #sb-flex-month-list-c { gap: 16px; }
    }
    /* 패널이 열린 상태에서만 z-index 상승 → sticky-sel(90) 위에 표시 */
    .sb-wrap:has(.sb-panel.open) {
      z-index: 95;
    }

    .sb {
      display: flex;
      background: #fff;
      border-radius: 980px;
      box-shadow: 0 2px 12px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.08);
      align-items: center;
      width: 100%;
      position: relative;
      gap: 0;
      height: 66px;
    }

    .sb-seg {
      flex: 1;
      height: 100%;
      padding: 0 20px;
      border-radius: 980px;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      justify-content: center;
      text-align: left;
      transition: background 0.15s ease;
      min-width: 0;
    }

    /* 날짜 세그먼트도 동일하게 flex:1 (이전에 0.8로 불균등했던 문제 수정) */
    .sb-seg--wide { flex: 1; }

    .sb-seg:hover, .sb-seg.sb-active {
      background: rgba(0,0,0,0.05);
    }

    .sb-div {
      width: 1px;
      height: 28px;
      background: #e0e0e5;
      flex-shrink: 0;
    }

    .sb-label {
      font-size: 11px;
      font-weight: 700;
      color: #222;
      margin-bottom: 3px;
      letter-spacing: 0.3px;
    }

    .sb-val {
      font-size: 13px;
      color: #b0b0b8;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      font-weight: 400;
    }

    .sb-val.filled {
      color: #1d1d1f;
      font-weight: 500;
    }

    .sb-btn {
      flex-shrink: 0;
      background: var(--blue);
      color: #fff;
      border: none;
      border-radius: 980px;
      height: 48px;
      width: 48px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.18s ease, box-shadow 0.18s ease;
      margin-right: 9px;
    }

    .sb-btn:hover:not(.disabled) {
      background: #0058b0;
      box-shadow: 0 2px 10px rgba(0,0,0,0.18);
    }

    .sb-btn.disabled {
      background: #e0e0e5;
      cursor: default;
      /* pointer-events kept active so onclick always fires */
    }

    .sb-btn.disabled svg { stroke: #a0a0a8; }

    /* ── SEARCH BAR PANELS (positioned relative to .sb-wrap) ── */
    .sb-panel {
      position: absolute;
      top: calc(100% + 10px);
      background: #fff;
      border-radius: 24px;
      box-shadow: 0 8px 40px rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.07);
      z-index: 600;
      display: none;
      text-align: left;
    }
    .sb-panel.open {
      display: block;
      animation: sbPanelIn 0.15s ease;
    }
    @keyframes sbPanelIn {
      from { opacity: 0; transform: translateY(-8px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* Region panel: left-aligned */
    #region-panel, #region-panel-c {
      left: 0;
      padding: 8px 16px;
      min-width: 300px;
    }

    /* Date panel: centered */
    #date-panel, #date-panel-c {
      left: 50%;
      transform: translateX(-50%);
      padding: 24px 32px 20px;
      width: min(740px, calc(100vw - 32px));
    }

    /* ── 데스크톱 2개월 달력 (에어비앤비 스타일) ── */
    .dc-wrap {
      position: relative;
      user-select: none;
      -webkit-user-select: none;
      padding-top: 4px;
    }
    .dc-months {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0 48px;
    }
    .dc-month-header {
      text-align: center;
      font-size: 15px;
      font-weight: 700;
      color: #222;
      margin-bottom: 20px;
      letter-spacing: -0.1px;
      line-height: 1;
      padding: 6px 0;
    }
    .dc-weekdays {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      text-align: center;
      margin-bottom: 4px;
    }
    .dc-weekdays span {
      font-size: 12px;
      color: #717171;
      font-weight: 400;
      padding: 6px 0;
    }
    .dc-grid {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
    }
    /* 날짜 셀: 전체 높이가 범위 배경 영역 */
    .dc-day {
      height: 52px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      background: transparent;
      position: relative;
    }
    .dc-day.empty { pointer-events: none; }
    .dc-day.disabled { pointer-events: none; }
    .dc-day.disabled .dc-num { color: #d0d0d0; text-decoration: line-through; }
    /* 날짜 숫자 원형 배지 */
    .dc-num {
      width: 40px; height: 40px;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 14px;
      font-weight: 400;
      color: #222;
      position: relative;
      z-index: 1;
      transition: background 0.12s;
    }
    .dc-day.today .dc-num {
      font-weight: 700;
      text-decoration: underline;
      text-underline-offset: 2px;
    }
    /* 선택된 날짜: 진한 원 */
    .dc-day.sel-start .dc-num,
    .dc-day.sel-end .dc-num {
      background: #222 !important;
      color: #fff !important;
      font-weight: 600;
    }
    /* 범위 배경: 셀 전체 높이 이용. before로 세로 중간 영역에 배경 */
    .dc-day.in-range::before,
    .dc-day.sel-start.has-range::before,
    .dc-day.sel-end.has-range::before {
      content: '';
      position: absolute;
      top: 6px; bottom: 6px;
      left: 0; right: 0;
      background: #f2f2f2;
      z-index: 0;
    }
    /* in-range 기본 (전체 width) */
    .dc-day.in-range::before { left: 0; right: 0; border-radius: 0; }
    /* row 시작(일요일/달 첫날): 왼쪽 끝까지 채우고 왼쪽만 둥글게 */
    .dc-day.in-range.row-start::before,
    .dc-day.month-start-range::before {
      left: 0; right: 0;
      border-radius: 20px 0 0 20px;
    }
    /* row 끝(토요일/달 마지막날): 오른쪽 끝까지 채우고 오른쪽만 둥글게 */
    .dc-day.in-range.row-end::before,
    .dc-day.month-end-range::before {
      left: 0; right: 0;
      border-radius: 0 20px 20px 0;
    }
    /* sel-start: 오른쪽 절반만 범위 배경, 끊김은 검은 원이 담당 */
    .dc-day.sel-start.has-range::before { left: 50%; right: 0; border-radius: 0; }
    /* sel-end: 왼쪽 절반만 범위 배경, 끊김은 검은 원이 담당 */
    .dc-day.sel-end.has-range::before   { left: 0; right: 50%; border-radius: 0; }
    /* hover: range에 없는 선택 가능 날만, 원 hover */
    .dc-day:not(.disabled):not(.empty):not(.sel-start):not(.sel-end):not(.in-range):hover .dc-num {
      background: #f0f0f0;
    }
    .dc-day:not(.disabled):not(.empty):not(.sel-start):not(.sel-end).in-range:hover .dc-num {
      background: rgba(0,0,0,0.08);
    }
    /* 네비게이션 화살표: 에어비앤비 스타일 — 테두리 없이 hover 시 회색 원 */
    .dc-nav {
      position: absolute;
      top: 2px;
      width: 32px; height: 32px;
      border-radius: 50%;
      border: none;
      background: transparent;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      color: #222;
      transition: background 0.12s;
      z-index: 2;
    }
    .dc-nav:hover { background: #f0f0f0; }
    .dc-prev { left: 0; }
    .dc-next { right: 0; }

    /* Traveler panel: centered under traveler segment (3rd of 4 segments) */
    #traveler-panel, #traveler-panel-c {
      left: 62%;
      transform: translateX(-50%);
      padding: 8px 20px 16px;
      min-width: 340px;
    }

    /* Budget panel */
    #budget-panel, #budget-panel-c {
      right: 0;
      padding: 24px;
      min-width: 320px;
    }

    /* Budget panel: right side */
    #budget-panel, #budget-panel-c {
      right: 76px;
      padding: 20px;
      min-width: 300px;
    }

    /* Region options — 모바일 cv-row 스타일 통일 */
    .sb-region-opt {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 4px;
      cursor: pointer;
      border-radius: 10px;
      margin: 0 -4px;
      transition: background 0.1s;
    }
    .sb-region-opt:active { background: #f0f0f0; }
    .sb-region-title { font-size: 15px; font-weight: 500; color: #1d1d1f; }
    .sb-region-sub { font-size: 12px; color: #86868b; margin-top: 3px; }
    .sb-region-hr { display: none; }
    .sb-region-check {
      width: 24px; height: 24px;
      display: flex; align-items: center; justify-content: center;
      color: #1d1d1f;
      flex-shrink: 0;
    }
    .sb-region-opt.active .sb-region-title { font-weight: 600; }
    /* Budget options — 동일 스타일 */
    .sb-budget-header {
      font-size: 12px;
      font-weight: 400;
      color: #aeaeb2;
      margin-bottom: 4px;
      padding: 0 4px;
    }
    .cv-budget-header {
      font-size: 12px;
      font-weight: 400;
      color: #aeaeb2;
      margin-bottom: 4px;
      padding: 4px 0 8px;
    }
    .sb-budget-opt {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 4px;
      cursor: pointer;
      border-radius: 10px;
      margin: 0 -4px;
      transition: background 0.1s;
    }
    .sb-budget-opt:active { background: #f0f0f0; }
    .sb-budget-title { font-size: 15px; font-weight: 500; color: #1d1d1f; }
    .sb-budget-sub { display: block; font-size: 12px; color: #86868b; margin-top: 2px; }
    .sb-budget-check {
      width: 24px; height: 24px;
      display: flex; align-items: center; justify-content: center;
      color: #1d1d1f;
      flex-shrink: 0;
    }
    .sb-budget-opt.active .sb-budget-title { font-weight: 600; }

    /* Date panel tabs */
    .sb-date-tabs {
      display: flex;
      gap: 4px;
      background: #f0f0f0;
      border-radius: 980px;
      padding: 4px;
      margin-bottom: 20px;
      width: fit-content;
      margin-left: auto;
      margin-right: auto;
    }
    .sb-date-tab {
      padding: 8px 20px;
      border-radius: 980px;
      border: none;
      background: transparent;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      font-family: inherit;
      color: #4a4a4f;
      transition: all 0.15s;
    }
    .sb-date-tab.active {
      background: #fff;
      color: #1d1d1f;
      box-shadow: 0 1px 4px rgba(0,0,0,0.12);
    }

    /* Flexible date mode */
    .sb-date-flexible {
      text-align: center;
      padding: 20px 0 10px;
      color: var(--gray);
      font-size: 15px;
      line-height: 1.6;
    }
    .sb-flex-confirm {
      display: inline-block;
      margin-top: 16px;
      padding: 12px 28px;
      background: var(--blue);
      color: #fff;
      border-radius: 980px;
      border: none;
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      font-family: inherit;
    }
    .sb-flex-confirm:hover { background: var(--blue-hover); }

    /* ── Airbnb-style Calendar ── */
    #date-panel .flatpickr-calendar,
    #date-panel-c .flatpickr-calendar {
      box-shadow: none !important;
      border: none !important;
      border-radius: 0 !important;
      background: transparent !important;
      width: 100% !important;
      max-width: 720px;
      margin: 0 auto;
    }
    /* Desktop (2-month side by side): innerContainer = row */
    #date-panel .flatpickr-calendar .flatpickr-innerContainer,
    #date-panel-c .flatpickr-calendar .flatpickr-innerContainer {
      width: 100% !important;
      display: flex !important;
      flex-direction: row !important;
      flex-wrap: nowrap !important;
    }
    #date-panel .flatpickr-calendar .flatpickr-rContainer,
    #date-panel-c .flatpickr-calendar .flatpickr-rContainer {
      width: 50% !important;
      flex: 1 !important;
    }
    #date-panel .flatpickr-calendar .dayContainer,
    #date-panel-c .flatpickr-calendar .dayContainer {
      width: 100% !important;
      min-width: 0 !important;
      max-width: 100% !important;
    }
    /* Two-month header */
    #date-panel .flatpickr-calendar > .flatpickr-months,
    #date-panel-c .flatpickr-calendar > .flatpickr-months {
      display: flex;
    }
    #date-panel .flatpickr-calendar .flatpickr-hasTime .flatpickr-time,
    #date-panel-c .flatpickr-calendar .flatpickr-hasTime .flatpickr-time { display: none !important; }

    /* Mobile/tablet: stack months vertically */
    @media (max-width: 640px) {
      #date-panel .flatpickr-calendar,
      #date-panel-c .flatpickr-calendar {
        max-width: 100% !important;
      }
      #date-panel .flatpickr-calendar .flatpickr-innerContainer,
      #date-panel-c .flatpickr-calendar .flatpickr-innerContainer {
        flex-direction: column !important;
      }
      #date-panel .flatpickr-calendar .flatpickr-rContainer,
      #date-panel-c .flatpickr-calendar .flatpickr-rContainer {
        width: 100% !important;
        flex: none !important;
      }
    }

    /* Month header */
    #date-panel .flatpickr-months,
    #date-panel-c .flatpickr-months {
      padding: 0 0 12px;
      margin-bottom: 0;
      position: relative;
    }
    #date-panel .flatpickr-month,
    #date-panel-c .flatpickr-month {
      height: 44px;
    }
    #date-panel .flatpickr-current-month,
    #date-panel-c .flatpickr-current-month {
      font-size: 16px !important;
      font-weight: 600 !important;
      color: #1d1d1f !important;
      padding-top: 10px;
    }
    #date-panel .flatpickr-monthDropdown-months,
    #date-panel-c .flatpickr-monthDropdown-months {
      font-size: 16px;
      font-weight: 600;
      color: #1d1d1f;
      pointer-events: none;
      -webkit-appearance: none;
      appearance: none;
      background: transparent;
      border: none;
    }
    #date-panel .cur-year,
    #date-panel-c .cur-year {
      font-size: 16px !important;
      font-weight: 600 !important;
      color: #1d1d1f !important;
    }
    /* Nav arrows */
    #date-panel .flatpickr-prev-month,
    #date-panel .flatpickr-next-month,
    #date-panel-c .flatpickr-prev-month,
    #date-panel-c .flatpickr-next-month {
      color: #1d1d1f !important;
      width: 36px;
      height: 36px;
      padding: 6px;
      top: 8px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.15s;
    }
    #date-panel .flatpickr-prev-month:hover,
    #date-panel .flatpickr-next-month:hover,
    #date-panel-c .flatpickr-prev-month:hover,
    #date-panel-c .flatpickr-next-month:hover {
      background: #f0f0f0;
    }
    /* Weekday labels */
    #date-panel .flatpickr-weekdays,
    #date-panel-c .flatpickr-weekdays {
      background: transparent;
      margin-bottom: 4px;
    }
    #date-panel .flatpickr-weekday,
    #date-panel-c .flatpickr-weekday {
      font-size: 12px;
      font-weight: 600;
      color: #6e6e73;
      text-transform: uppercase;
      letter-spacing: 0.02em;
    }
    /* Day cells */
    #date-panel .flatpickr-calendar .flatpickr-day,
    #date-panel-c .flatpickr-calendar .flatpickr-day {
      border-radius: 50%;
      height: 44px;
      width: 44px;
      max-width: 44px;
      line-height: 44px;
      font-size: 14px;
      font-weight: 400;
      color: #1d1d1f;
      border: none !important;
      margin: 1px 0;
    }
    #date-panel .flatpickr-calendar .flatpickr-day.flatpickr-disabled,
    #date-panel-c .flatpickr-calendar .flatpickr-day.flatpickr-disabled {
      color: #c7c7cc !important;
    }
    /* Selected / range endpoints */
    #date-panel .flatpickr-calendar .flatpickr-day.selected,
    #date-panel-c .flatpickr-calendar .flatpickr-day.selected,
    #date-panel .flatpickr-calendar .flatpickr-day.startRange,
    #date-panel-c .flatpickr-calendar .flatpickr-day.startRange,
    #date-panel .flatpickr-calendar .flatpickr-day.endRange,
    #date-panel-c .flatpickr-calendar .flatpickr-day.endRange {
      background: #222222 !important;
      border-color: #222222 !important;
      color: #fff !important;
      font-weight: 600 !important;
      border-radius: 50% !important;
    }
    /* Range in-between */
    #date-panel .flatpickr-calendar .flatpickr-day.inRange,
    #date-panel-c .flatpickr-calendar .flatpickr-day.inRange {
      background: #f7f7f7 !important;
      border-color: transparent !important;
      box-shadow: none !important;
      color: #1d1d1f !important;
      border-radius: 0 !important;
    }
    #date-panel .flatpickr-calendar .flatpickr-day.startRange,
    #date-panel-c .flatpickr-calendar .flatpickr-day.startRange {
      border-radius: 50% 0 0 50% !important;
    }
    #date-panel .flatpickr-calendar .flatpickr-day.endRange,
    #date-panel-c .flatpickr-calendar .flatpickr-day.endRange {
      border-radius: 0 50% 50% 0 !important;
    }
    #date-panel .flatpickr-calendar .flatpickr-day:hover:not(.selected):not(.startRange):not(.endRange),
    #date-panel-c .flatpickr-calendar .flatpickr-day:hover:not(.selected):not(.startRange):not(.endRange) {
      background: #f0f0f0 !important;
    }

    /* Guest/traveler rows */
    .sb-guest-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 0;
    }
    .sb-guest-title {
      font-size: 15px;
      font-weight: 500;
      color: #1d1d1f;
    }
    .sb-guest-sub {
      font-size: 13px;
      color: #6e6e73;
      margin-top: 2px;
    }
    .sb-guest-hr {
      border: none;
      border-top: 1px solid #ebebeb;
      margin: 0;
    }
    .sb-counter {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .sb-counter-btn {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      border: 1px solid #b0b0b8;
      background: transparent;
      font-size: 20px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: border-color 0.15s, color 0.15s, background 0.15s, transform 0.1s;
      color: #6e6e73;
      line-height: 1;
      font-family: inherit;
    }
    .sb-counter-btn:hover:not(:disabled) { border-color: #1d1d1f; color: #1d1d1f; }
    .sb-counter-btn:active:not(:disabled) { transform: scale(0.92); background: rgba(0,0,0,0.04); }
    .sb-counter-btn:disabled { opacity: 0.25; cursor: default; }
    .sb-counter-num {
      font-size: 16px;
      font-weight: 500;
      min-width: 24px;
      text-align: center;
      color: #1d1d1f;
    }

    /* Budget pills */
    .budget-panel-title {
      font-size: 13px;
      font-weight: 600;
      color: #1d1d1f;
      margin-bottom: 12px;
    }
    .budget-pills {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }
    .budget-pill {
      padding: 11px 8px;
      border-radius: 12px;
      border: 1px solid #d2d2d7;
      background: #fff;
      font-size: 13px;
      font-weight: 500;
      cursor: pointer;
      text-align: center;
      transition: all 0.12s;
      font-family: inherit;
      color: #1d1d1f;
    }
    .budget-pill:hover { border-color: #888; background: #f5f5f7; }
    .budget-pill.active { border-color: #1d1d1f; background: #1d1d1f; color: #fff; }

    /* Hidden compat elements — no styling needed */
    #home-date-value,
    #home-budget-value,
    #compare-budget-value {
      display: none;
    }

    .search-label {
      font-size: 11px;
      font-weight: 700;
      color: var(--black);
      margin-bottom: 2px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .search-value {
      font-size: 15px;
      color: var(--gray);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      font-weight: 400;
    }

    .dc {
      min-height: 50px;
      /* Ensure container has height */
    }

    .attr-cat-title {
      font-size: 17px;
      font-weight: 600;
      color: #1d1d1f;
      margin-top: 32px;
      margin-bottom: 8px;
      text-align: left;
    }

    .attr-list {
      list-style: none;
      padding: 0;
      margin: 0;
      text-align: left;
    }

    .attr-item {
      margin-bottom: 14px;
    }

    .attr-item:last-child {
      margin-bottom: 0;
    }

    .attr-item-name {
      font-size: 16px;
      font-weight: 500;
      color: #1d1d1f;
      line-height: 1.4;
    }

    .attr-item-meta {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-top: 4px;
    }

    .attr-item-price {
      font-size: 13px;
      color: var(--gray);
    }

    .attr-item-link {
      font-size: 13px;
      color: var(--blue);
      text-decoration: none;
      font-weight: 500;
    }

    .attr-item-link:hover {
      text-decoration: underline;
    }

    /* ── ATTR ITEM NAME AS LINK (chevron on title) ── */
    .attr-item-name-link {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      color: #1d1d1f;
      text-decoration: none;
      font-size: 16px;
      font-weight: 500;
      line-height: 1.4;
      transition: color 0.15s ease;
    }

    .attr-item-name-link:hover {
      color: var(--blue);
    }

    .attr-chevron {
      flex-shrink: 0;
      opacity: 0.45;
      transition: transform 0.15s ease, opacity 0.15s ease;
    }

    .attr-item-name-link:hover .attr-chevron {
      opacity: 1;
      transform: translateX(2px);
    }

    /* ── TIP COLLAPSIBLE (Apple-style) ── */
    .tip-details {
      width: 100%;
      border: 1px solid var(--border);
      border-radius: 6px;
      overflow: hidden;
      margin-top: 20px;
      text-align: left;
    }

    .tip-summary {
      padding: 14px 18px;
      cursor: pointer;
      font-size: 14px;
      font-weight: 600;
      color: var(--black);
      list-style: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
      user-select: none;
    }

    .tip-summary::-webkit-details-marker { display: none; }

    .tip-summary .tip-arrow {
      display: inline-flex;
      align-items: center;
      color: #0071e3;
      transition: transform 0.22s ease;
      flex-shrink: 0;
    }

    .tip-details[open] .tip-arrow {
      transform: rotate(180deg);
    }

    .tip-content {
      padding: 0 18px 16px;
      font-size: 13px;
      line-height: 1.8;
      color: var(--gray);
      border-top: 1px solid var(--border);
    }

    .tip-content ul {
      padding-left: 16px;
      margin: 10px 0 0;
    }

    .tip-content li {
      margin-bottom: 6px;
    }

    /* ── HOTEL CARD ── */
    .hotel-card {
      width: 100%;
      background: #f5f5f7;
      border-radius: 6px;
      padding: 16px 18px;
      margin-bottom: 10px;
      text-align: left;
    }

    .hotel-card-name {
      font-size: 15px;
      font-weight: 600;
      color: #1d1d1f;
      margin-bottom: 4px;
    }

    .hotel-card-stars {
      color: #f4a400;
      font-size: 12px;
      margin-bottom: 4px;
    }

    .hotel-card-desc {
      font-size: 13px;
      color: var(--gray);
      margin-bottom: 8px;
      line-height: 1.5;
    }

    .hotel-card-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .hotel-card-price {
      font-size: 13px;
      font-weight: 500;
      color: #1d1d1f;
    }

    .hotel-card-link {
      font-size: 13px;
      color: var(--blue);
      text-decoration: none;
      font-weight: 500;
    }

    .hotel-card-link:hover { text-decoration: underline; }

    /* 태블릿 · 모바일: 가격 위 / 더 알아보기 왼쪽 하단 */
    @media screen and (max-width: 1068px) {
      .hotel-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
      }
    }


    /* 항공 예약 버튼 — '더 알아보기'와 동일 스타일 */
    .tp-book-btn {
      display: inline-block;
      font-size: 13px;
      color: var(--blue);
      text-decoration: none;
      font-weight: 500;
      margin-top: 6px;
    }
    .tp-book-btn:hover { text-decoration: underline; }

    /* ── FLIGHT CARD ── */
    .flight-card {
      width: 100%;
      background: #f5f5f7;
      border-radius: 6px;
      padding: 16px 18px;
      margin-bottom: 10px;
      text-align: left;
    }

    .flight-card-label {
      font-size: 15px;
      font-weight: 600;
      color: #1d1d1f;
      margin-bottom: 4px;
    }

    .flight-card-desc {
      font-size: 13px;
      color: var(--gray);
      margin-bottom: 8px;
    }

    .flight-card-price {
      font-size: 13px;
      font-weight: 600;
      color: #0071e3;
      margin-bottom: 8px;
    }

    .hotel-card-price {
      font-size: 13px;
      font-weight: 600;
      color: #0071e3;
    }

    .flight-card-link {
      font-size: 13px;
      color: var(--blue);
      text-decoration: none;
      font-weight: 500;
    }

    .flight-card-link:hover { text-decoration: underline; }

    .search-input-hidden {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      cursor: pointer;
      -webkit-appearance: none;
      appearance: none;
    }

    .search-btn-pill {
      flex-shrink: 0;
      background: var(--blue);
      color: var(--white);
      border: none;
      border-radius: 980px;
      height: 48px;
      padding: 0 22px;
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      transition: background 0.15s ease, opacity 0.15s ease;
      white-space: nowrap;
      margin-right: 2px;
      font-family: inherit;
      letter-spacing: -0.01em;
    }

    .search-btn-pill:hover:not(.disabled) {
      background: var(--blue-hover);
    }

    .search-btn-pill.disabled {
      background: #e8e8ed;
      color: #aeaeb2;
      cursor: default;
      pointer-events: none;
    }

    .search-btn-pill.disabled svg {
      stroke: #aeaeb2;
    }

    .data-row {
      display: flex;
      justify-content: center;
      gap: 20px;
    }

    .dc {
      flex: 1;
      text-align: center;
    }

    .nav-actions {
      display: none !important;
    }

    .nav-link {
      font-size: 12px;
      color: var(--gray);
      text-decoration: none;
    }

    .nav-link:hover {
      color: var(--black);
    }

    .btn-nav {
      font-size: 12px;
      font-weight: 400;
      background: var(--blue);
      color: #fff;
      padding: 6px 16px;
      border-radius: 980px;
      text-decoration: none;
    }

    /* ── HERO ── */
    .hero {
      text-align: center;
      padding: 80px 22px 48px;
    }

    .hero h1 {
      font-size: 48px;
      font-weight: 700;
      letter-spacing: -.5px;
      color: var(--black);
      line-height: 1.08;
      text-align: center;
    }

    .hero-sub {
      font-size: 19px;
      color: var(--black);
      margin-top: 14px;
      line-height: 1.47;
      text-align: center;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }

    .data-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      max-width: 1068px;
      margin-left: auto;
      margin-right: auto;
      padding: 0 24px;
    }

    .dc {
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .hero-links {
      display: flex;
      justify-content: center;
      gap: 12px;
      margin-top: 16px;
    }

    .hero-link {
      font-size: 17px;
      color: var(--blue);
      text-decoration: none;
    }

    .hero-link:hover {
      text-decoration: underline;
    }

    .hero-sep {
      color: var(--border);
    }

    /* ── CONDITIONS ── */
    .conditions-wrap {
      max-width: 980px;
      margin: 0 auto 48px;
      padding: 0 22px;
    }

    .conditions-card {
      background: var(--white);
      border-radius: 18px;
      padding: 28px 32px;
    }

    .cond-title {
      font-size: 17px;
      font-weight: 600;
      color: var(--black);
      margin-bottom: 20px;
    }

    .top-banner {
      background: #f5f5f7;
      color: var(--black);
      font-size: 13px;
      text-align: center;
      padding: 12px 20px;
      line-height: 1.4;
      /* 뉴스 로테이션: 높이 고정으로 layout shift 방지 */
      min-height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    /* 뉴스 배너 내부 래퍼 */
    .banner-news-wrap {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      width: 100%;
      max-width: 860px;
      transition: opacity 0.4s ease;
    }
    .banner-news-wrap.fade-out { opacity: 0; }
    .banner-news-wrap.fade-in  { opacity: 1; }

    /* 뉴스 배지 */
    .banner-badge {
      display: inline-flex;
      align-items: center;
      background: #0071e3;
      color: #fff;
      font-size: 10px;
      font-weight: 700;
      padding: 2px 6px;
      border-radius: 4px;
      letter-spacing: 0.3px;
      flex-shrink: 0;
    }

    /* 뉴스 텍스트 링크 */
    .banner-news-text {
      color: inherit;
      text-decoration: none;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      flex: 1;
      min-width: 0;
      max-width: 640px;
    }
    .banner-news-text:hover { text-decoration: underline; }

    /* 뉴스 페이지네이션 점 */
    /* banner-dots 제거됨 */



    /* ── STICKY SELECTOR ── */
    .sticky-sel {
      position: sticky;
      top: 44px;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: saturate(180%) blur(20px);
      -webkit-backdrop-filter: saturate(180%) blur(20px);
      padding: 16px 0 16px;
      z-index: 90;
      width: 100%;
      overflow: visible;
    }
    .sticky-sel::after {
      content: '';
      position: absolute;
      left: 0;
      right: 0;
      bottom: -20px;
      height: 20px;
      background: linear-gradient(to bottom, rgba(255,255,255,0.85), rgba(255,255,255,0));
      pointer-events: none;
    }

    /* Fixed header for stuck state */
    .fixed-header {
      position: fixed;
      top: 44px;
      left: 0;
      right: 0;
      z-index: 1000;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: saturate(180%) blur(20px);
      -webkit-backdrop-filter: saturate(180%) blur(20px);
      padding: 12px 0;
      display: none;
      animation: slideDown 0.2s ease-out;
    }

    @keyframes slideDown {
      from { transform: translateY(-10px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }

    @keyframes shake {
      0%, 100% { transform: translateX(0); }
      20% { transform: translateX(-8px); }
      40% { transform: translateX(8px); }
      60% { transform: translateX(-5px); }
      80% { transform: translateX(5px); }
    }

    .sel-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      max-width: 1068px;
      /* Synchronized with Apple compare max-width */
      margin: 0 auto;
      gap: 24px;
      padding: 0 24px;
      width: 100%;
    }

    /* Tablet: 2-column layout (Apple compare style) */
    /* Mobile (≤540px): sel-grid/data-row 패딩/간격 소폭 조정 */
    @media (max-width: 540px) {
      .sel-grid {
        padding: 0 12px !important;
        gap: 10px !important;
      }
    }

    .sel-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 6px;
      padding: 12px 16px;
      display: flex;
      align-items: center;
      position: relative;
      transition: border-color 0.2s ease;
    }

    .sel-card:hover,
    .sel-card:focus-within {
      border-color: var(--black);
    }

    .sel-card::after {
      content: '';
      position: absolute;
      right: 16px;
      top: 50%;
      transform: translateY(-50%);
      width: 12px;
      height: 7px;
      background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 10 6'%3E%3Cpath stroke='%230071e3' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-size: contain;
      pointer-events: none;
    }


    .col-badges {
      display: flex;
      justify-content: center;
      gap: 6px;
      align-items: center;
      min-height: 30px;
      height: 30px;
      margin-bottom: 6px;
      padding-left: 0;
    }

    .best-badge {
      display: none;
      background: #0071e3;
      color: #fff;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.5px;
      padding: 3px 10px;
      border-radius: 980px;
      width: fit-content;
    }

    .best-badge.visible {
      display: inline-block;
    }

    .low-badge {
      display: none;
      background: #e8f4ff;
      color: #0071e3;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.5px;
      padding: 3px 10px;
      border-radius: 980px;
      width: fit-content;
    }

    .low-badge.visible {
      display: inline-block;
    }

    .dest-select {
      font-family: inherit;
      font-size: 17px;
      font-weight: 600;
      color: #000000 !important;
      background: none;
      border: none;
      outline: none;
      -webkit-appearance: none;
      appearance: none;
      cursor: pointer;
      width: 100%;
      text-align: left;
    }

    /* ── CUSTOM DESTINATION DROPDOWN ── */
    .dest-dd { position: relative; width: 100%; }
    .dest-dd-trigger {
      display: flex; align-items: center; gap: 5px;
      cursor: pointer; user-select: none; padding: 2px 0;
    }
    .dest-dd-val {
      font-size: 17px; font-weight: 600; color: #1d1d1f;
      flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
      text-align: left;
    }
    .dest-dd-chevron {
      display: none;
    }
    .dest-dd.open .dest-dd-chevron { transform: rotate(180deg); }
    .dest-dd-menu {
      display: none; position: absolute;
      top: calc(100% + 8px); left: -12px;
      min-width: 210px; background: #fff;
      border-radius: 14px;
      box-shadow: 0 6px 36px rgba(0,0,0,0.13);
      padding: 6px 0; z-index: 9999;
      max-height: 60vh; overflow-y: auto; -webkit-overflow-scrolling: touch;
    }
    .dest-dd.open .dest-dd-menu {
      display: block;
      animation: ddFadeIn 0.14s ease;
    }
    @keyframes ddFadeIn {
      from { opacity: 0; transform: translateY(-4px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .dest-dd-group-label {
      padding: 10px 14px 4px;
      font-size: 11px; font-weight: 600;
      color: #aeaeb2; letter-spacing: 0.5px;
      text-transform: uppercase;
      text-align: left;
    }
    .dest-dd-group-label:not(:first-child) {
      border-top: 1px solid #f2f2f7; margin-top: 4px; padding-top: 12px;
    }
    .dest-dd-option {
      padding: 8px 16px; font-size: 15px; color: #1d1d1f;
      cursor: pointer; transition: background 0.1s; white-space: nowrap;
      text-align: left;
    }
    .dest-dd-option:hover { background: #f5f5f7; }
    .dest-dd-option.selected { color: #0071e3; font-weight: 500; }
    .dest-dd-option.restricted {
      color: #c7c7cc; cursor: default; font-size: 13.5px;
    }
    .dest-dd-option.restricted:hover { background: none; }

    .sel-price {
      display: none;
    }

    /* ── COMPARE AREA ── */
    .compare {
      max-width: 1068px;
      margin: 0 auto;
      padding: 0 24px 80px;
    }

    /* ── DESTINATION IMAGES ── */
    .dest-images {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      max-width: 1068px;
      margin: 0 auto;
      padding: 40px 24px 0;
      gap: 24px;
    }

    .dest-photo-wrap {
      display: none !important;
    }

    .dest-photo-wrap img {
      display: none !important;
    }

    .dest-photo-wrap:hover img {
      transform: none;
    }

    .dest-photo-placeholder {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 48px;
      background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
    }

    .dest-img-col {
      padding: 0 12px;
      text-align: center;
    }

    .dest-col-actions {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      margin-top: 14px;
    }

    .dest-name {
      font-size: 24px;
      font-weight: 700;
      color: #000000 !important;
      margin-bottom: 8px;
      text-align: center;
    }

    .dest-sub {
      font-size: 14px;
      color: var(--gray);
      margin-bottom: 32px;
      text-align: center;
      line-height: 1.4;
      min-height: 3.2em;
    }

    .dest-score-num {
      display: none;
    }

    .dest-score-label {
      display: none;
    }

    .dest-price {
      font-size: 24px;
      font-weight: 600;
      color: #000000 !important;
      margin-top: 12px;
      letter-spacing: -0.015em;
      text-align: center;
    }

    .dest-narrative {
      font-size: 17px;
      line-height: 1.5;
      color: #000000 !important;
      margin: 24px 0;
      text-align: left;
      font-weight: 400;
      letter-spacing: -0.022em;
      word-break: keep-all;
      overflow-wrap: break-word;
      padding-right: 10px;
    }

    .dest-price-sub {
      font-size: 12px;
      color: var(--gray);
      margin-bottom: 20px;
    }

    .dest-ctas {
      display: flex;
      flex-direction: column;
      gap: 8px;
      align-items: center;
    }

    .btn-primary {
      display: inline-block;
      font-size: 14px;
      font-weight: 400;
      background: var(--blue);
      color: #fff;
      padding: 9px 12px;
      border-radius: 980px;
      text-decoration: none;
      text-align: center;
      min-width: 80px;
    }

    .btn-ghost {
      display: inline-block;
      font-size: 14px;
      color: var(--blue);
      text-decoration: none;
    }

    .btn-ghost:hover {
      text-decoration: underline;
    }

    /* ── SECTION HEADER ── */
    .sec-hd {
      max-width: 980px;
      margin: 120px auto 40px;
      padding: 0 24px;
    }

    .sec-hd-inner {
      padding-top: 28px;
    }

    .sec-title {
      font-size: 28px;
      font-weight: 700;
      color: #000000 !important;
      text-align: left;
      padding-bottom: 24px;
      border-bottom: 1px solid var(--border);
      margin-bottom: 40px;
    }

    /* ── DATA ROW ── */
    .data-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      max-width: 1068px;
      margin: 0 auto;
      gap: 24px;
      padding: 0 24px;
    }
    /* Section content cells share same padding as dest-images */
    .compare, .sec-hd, .data-row {
      max-width: 1068px;
    }
    .sec-hd {
      padding: 0 24px;
    }

    /* Row label — spans all 3 cols, small caps style */
    .row-label {
      grid-column: 1 / -1;
      padding: 80px 20px 0;
      /* Increased vertical spacing */
      font-size: 13px;
      font-weight: 400;
      color: var(--gray);
      text-align: left;
    }

    /* Data cell */
    .dc {
      padding: 8px 0 0;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
    }

    .dc:not(:last-child) {
      border-right: 1px solid transparent;
    }

    .kicker {
      font-size: 11px;
      font-weight: 600;
      color: var(--gray);
      margin-bottom: 8px;
      text-align: center;
    }

    /* no visible border */

    /* Value sizes */
    .v-xl {
      font-size: 40px;
      font-weight: 700;
      color: var(--black);
      line-height: 1;
      text-align: center;
      margin-bottom: 4px;
    }

    .v-xl.blue {
      color: var(--blue);
    }


    .v-lg {
      font-size: 28px;
      font-weight: 700;
      color: var(--black);
      line-height: 1.1;
      text-align: center;
      margin-bottom: 4px;
    }

    .v-md {
      font-size: 16px;
      font-weight: 500;
      color: var(--black);
      line-height: 1.4;
      text-align: center;
      margin-bottom: 4px;
    }

    .v-sm {
      font-size: 13px;
      color: var(--gray);
      margin-top: 4px;
      text-align: center;
      line-height: 1.4;
    }

    .v-pre {
      font-size: 12px;
      color: var(--gray-light);
      margin-bottom: 4px;
      text-align: center;
    }

    footer {
      margin-top: 100px;
      background: #f5f5f7;
      padding: 72px 22px 56px;
      width: 100%;
      max-width: none;
      text-align: center;
    }

    .footer-inner {
      max-width: 900px;
      margin: 0 auto;
    }

    footer p {
      font-size: 12px;
      color: #86868b;
      line-height: 1.8;
    }

    .footer-links {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 6px;
      margin-bottom: 28px;
      flex-wrap: wrap;
    }

    .footer-link-btn {
      background: none;
      border: none;
      font-size: 13px;
      color: #1d1d1f;
      cursor: pointer;
      padding: 4px 10px;
      font-family: inherit;
      text-decoration: none;
      font-weight: 500;
      border-radius: 6px;
      transition: background 0.15s;
    }

    .footer-link-btn:hover { background: rgba(0,0,0,0.06); }

    .footer-link-sep {
      color: #d2d2d7;
      font-size: 13px;
      user-select: none;
    }

    .footer-email {
      font-size: 12px;
      color: #86868b;
      margin-bottom: 28px;
    }

    .footer-copyright {
      font-size: 12px;
      color: #86868b;
      margin-top: 20px;
    }

    /* ── 약관/개인정보 모달 ── */
    .footer-modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.4);
      z-index: 99998;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 24px;
    }

    .footer-modal-overlay.open {
      display: flex;
    }

    .footer-modal {
      background: #fff;
      border-radius: 20px;
      padding: 36px 32px 40px;
      max-width: 560px;
      width: 100%;
      max-height: 80vh;
      overflow-y: auto;
      position: relative;
      box-shadow: 0 8px 48px rgba(0,0,0,0.18);
    }

    .footer-modal-handle {
      display: none;
    }

    .footer-modal h2 {
      font-size: 19px;
      font-weight: 700;
      margin-bottom: 20px;
      color: #1d1d1f;
    }

    .footer-modal h3 {
      font-size: 14px;
      font-weight: 600;
      margin: 20px 0 6px;
      color: #1d1d1f;
    }

    .footer-modal p, .footer-modal li {
      font-size: 13px;
      color: #515154;
      line-height: 1.7;
    }

    .footer-modal ul {
      padding-left: 18px;
      margin: 6px 0;
    }

    .footer-modal-close {
      position: absolute;
      top: 20px;
      right: 20px;
      background: #f5f5f7;
      border: none;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      font-size: 14px;
      cursor: pointer;
      color: #515154;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* ── RESPONSIVE: Tablet + Mobile (Apple compare style — 2-col scroll) ── */
    @media screen and (max-width: 1068px) {
      /* NAV */
      .nav { padding: 0 16px; position: sticky; top: 0; z-index: 1000; }
      .nav-brand { font-size: 20px; }
      .nav-actions .nav-link { display: none; }
      .nav-actions .btn-nav { font-size: 11px; padding: 5px 12px; }

      /* Section headers */
      .sel-grid, .sec-hd { max-width: 100% !important; }
      .sec-hd { margin: 60px 0 16px; padding: 0 16px; }
      footer { margin-top: 100px; }

      /* 태블릿: narrative 줄바꿈 */
      .dest-narrative { word-break: normal; padding-right: 0; }


      /* 모바일/태블릿: wiz-launcher → 여행 검색 버튼 (좌측 하단 고정) */
      #wiz-launcher { 
        bottom: 20px !important; 
        left: 20px !important;
        transform: none !important;
        z-index: 2100 !important;
      }
      /* 모바일/태블릿: 여행자 탭 숨김 */
      #cv-tab-traveler { display: none !important; }
      /* 모바일/태블릿: cv-search-icon 숨김 */
      #cv-search-icon { display: none !important; }
      /* 모바일/태블릿: 홈뷰 숨김, 비교뷰 표시 */
      #home-view { display: none !important; }
      #compare-view { display: block !important; }
      /* 모바일/태블릿: wiz-launcher 라벨 텍스트 CSS 교체 */
      .wiz-launcher-label { font-size: 0 !important; }
      .wiz-launcher-label::after { content: "여행 검색"; font-size: 13px; font-weight: 600; color: #222; letter-spacing: -0.2px; }
      /* 모바일/태블릿: 비교뷰 검색 바 숨김 */
      #compare-sb-wrap { display: none !important; }
    }

    /* ── RESPONSIVE: Mobile only (2-col layout) ── */
    @media screen and (max-width: 743px) {
      /* 띠배너: 스크롤 시 함께 올라가도록(Static/Relative) 수정 */
      .top-banner { 
        position: relative !important; 
        top: 0 !important; 
        z-index: 5 !important;
        margin-bottom: 0 !important;
      }




      /* 모바일 패널 최적화 */
      .sb-panel {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: calc(100vw - 20px) !important;
        max-width: 360px !important;
        min-width: 0 !important;
      }
      #date-panel, #date-panel-c {
        padding: 8px !important;
      }
      /* 달력 강제 1개월 너비 고정 */
      .flatpickr-calendar {
        width: 300px !important;
        min-width: 300px !important;
      }
      .flatpickr-innerContainer { width: 300px !important; }
      .flatpickr-rContainer { width: 300px !important; min-width: 300px !important; }
      .dayContainer { width: 300px !important; min-width: 300px !important; max-width: 300px !important; }
      .flatpickr-month { width: 300px !important; }

      /* sticky-sel: 2열 그리드 */
      .sel-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        overflow: visible !important;
        gap: 8px;
        padding: 0 16px !important;
        box-sizing: border-box !important;
      }
      /* sel-card: 데스크탑과 동일한 스타일 유지, 모바일에서 패딩 최소화 */
      .sel-card { padding: 10px 12px; overflow: visible; }
      /* 모바일에서 드롭다운 값 텍스트 축소 */
      .dest-dd-val { font-size: 14px !important; }
      /* 드롭다운 메뉴 overflow 보장 */
      .dest-dd { overflow: visible !important; }

      /* Toast notification — 모바일 위치만 여기서 조정 (기본 스타일은 글로벌) */

      /* 배너 모바일 컴팩트 */
      #compare-view .top-banner {
        font-size: 11px !important;
        padding: 8px 16px !important;
        line-height: 1.4 !important;
      }

      .dest-col.over-budget {
        border: 2px solid #ff3b30 !important;
        background-color: #fff9f9 !important;
      }
      .dest-col.over-budget::after {
        content: "⚠️ 예산 초과";
        position: absolute;
        top: 10px;
        right: 10px;
        background: #ff3b30;
        color: #fff;
        padding: 4px 10px;
        border-radius: 12px;
        font-size: 11px;
        font-weight: 700;
        z-index: 5;
      }
      #comparison-body {
        padding-top: 16px !important;
      }

      /* sticky-sel: 2열 그리드 (3번째 카드 숨김) */
      .sel-grid .sel-card:nth-child(3) { display: none !important; }

      /* 3번째 비교 컬럼 완전 숨김 */
      #col-2, .dest-col:nth-child(3) { display: none !important; }


      /* dest-images: 2열 flex */
      #comparison-body { overflow-x: hidden; }
      .dest-images {
        width: 100% !important;
        max-width: none !important;
        padding: 16px 0 0;
        gap: 0;
        transform: none !important;
        transition: none !important;
      }
      .dest-col {
        flex: 0 0 50vw;
        width: 50vw;
        min-width: 0;
        padding: 0 16px;
        box-sizing: border-box;
        overflow: hidden;
      }

      /* data-row: 2열, 3번째 dc 숨김 */
      .data-row {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        align-items: start !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 16px !important;
        gap: 8px !important;
        transform: none !important;
        transition: none !important;
        box-sizing: border-box !important;
      }

      .data-row .dc:nth-child(3) { display: none !important; }
      .data-row .dc {
        min-width: 0;
        padding: 8px 0 0;
        box-sizing: border-box;
        overflow: hidden;
      }
      .sec-hd {
        padding: 0 16px !important;
      }

      /* 한국어 텍스트 단어 중간 잘림 방지 */
      .dest-name,
      .dest-sub,
      .dest-narrative,
      .data-row .dc .main,
      .data-row .dc .sub,
      .data-row .dc .label {
        word-break: keep-all;
        overflow-wrap: break-word;
        word-wrap: break-word;
      }

      /* scroll-dots 제거 */
      .scroll-dots, .scroll-dot, .mobile-swipe-hint { display: none !important; }

      /* Typography 축소 */
      .dest-name { font-size: 16px; margin-bottom: 3px; }
      .dest-sub { font-size: 11px; min-height: auto; margin-bottom: 6px; }
      .dest-narrative { font-size: 14px; line-height: 1.6; margin: 16px 0 10px; word-break: normal; padding-right: 0; }
      .dest-photo-wrap { height: 90px; border-radius: 10px; margin-bottom: 8px; }

      /* sel-card: 모바일에서 overflow 보장 (중복 규칙 제거) */




      /* 비교뷰: 모바일에서 pill 검색바 숨김, 검색 아이콘 표시 */
      #compare-view .sb-wrap { display: none !important; }
      #cv-search-icon {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 36px !important;
        height: 36px !important;
        flex-shrink: 0;
        background: none;
        border: none;
        cursor: pointer;
        padding: 4px;
        color: #1d1d1f;
        border-radius: 50%;
        transition: background 0.15s;
      }
      #cv-search-icon:hover { background: rgba(0,0,0,0.06); }
    }

    /* ≤540px 소형 모바일: sel-grid과 동일한 gap/padding (1068px 규칙 이후 선언하여 우선 적용) */
    @media (max-width: 540px) {
      .data-row {
        padding: 0 12px !important;
        gap: 10px !important;
      }
      .sec-hd {
        padding: 0 12px !important;
      }
    }

    /* ── 비교뷰 검색바: 홈과 완전히 동일한 디자인 ── */
    #compare-sb-wrap {
      position: relative;
      margin: 80px auto 40px;
    }

    /* 검색 아이콘: 모바일/태블릿에서 완전 숨김 (wiz-launcher가 대체) */
    #cv-search-icon { display: none !important; }



    /* ── cv-search-sheet: 조건 요약 바텀시트 ── */
    #cv-search-sheet {
      display: none;
      position: fixed;
      left: 0; right: 0; bottom: 0;
      top: 10vh; /* 뷰포트 90% 높이로 고정 */
      background: #ffffff;
      border-radius: 20px 20px 0 0;
      box-shadow: 0 -4px 24px rgba(0,0,0,0.14), 0 0 0 100vmax rgba(0,0,0,0.45);
      z-index: 9999;
      animation: slideUp 0.22s ease;
      padding-bottom: env(safe-area-inset-bottom, 16px);
      flex-direction: column;
    }
    #cv-search-sheet.open {
      display: flex;
    }



    .cv-sheet-header {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px 20px 12px;
      position: relative;
    }
    .cv-sheet-header::before {
      content: '';
      position: absolute;
      top: 10px;
      left: 50%;
      transform: translateX(-50%);
      width: 36px; height: 4px;
      background: #d2d2d7;
      border-radius: 2px;
    }
    .cv-sheet-close {
      position: absolute;
      left: 16px;
      background: none; border: none; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      width: 36px; height: 36px;
      border-radius: 50%;
      color: #1d1d1f;
      transition: background 0.15s;
    }
    .cv-sheet-close:hover { background: rgba(0,0,0,0.06); }
    .cv-sheet-title {
      font-size: 15px;
      font-weight: 600;
      color: #1d1d1f;
    }
    /* 헤더 영역: 타이틀 + X버튼 - 고정 (스크롤 안됨) */
    .cv-sheet-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 24px 20px 8px;
      flex-shrink: 0;
    }
    .cv-sheet-top-title {
      font-size: 22px;
      font-weight: 700;
      color: #1d1d1f;
      letter-spacing: -0.3px;
    }
    .cv-sheet-top-close {
      width: 32px; height: 32px;
      border-radius: 50%;
      border: none;
      background: none;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      color: #1d1d1f;
      transition: background 0.12s;
    }
    .cv-sheet-top-close:hover { background: #f0f0f0; }
    .cv-sheet-row {
      display: flex;
      align-items: center;
      padding: 18px 20px;
      cursor: pointer;
      transition: background 0.12s;
    }
    .cv-sheet-row:active { background: rgba(0,0,0,0.04); }
    .cv-sheet-label {
      font-size: 15px;
      font-weight: 400;
      color: #1d1d1f;
      flex: 1;
    }
    .cv-sheet-val {
      font-size: 15px;
      color: #86868b;
      font-weight: 400;
      margin-right: 8px;
    }
    .cv-sheet-chevron { color: #86868b; flex-shrink: 0; }
    .cv-sheet-divider {
      height: 1px;
      background: #f2f2f7;
      margin: 0 20px;
    }
    .cv-sheet-footer {
      padding: 16px 20px 20px;
    }
    .cv-sheet-search-btn {
      width: 100%;
      height: 52px;
      background: #0071e3;
      color: #fff;
      border: none;
      border-radius: 14px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: background 0.18s;
    }
    .cv-sheet-search-btn:hover { background: #0058b0; }

    /* ── cv-search-sheet: 탭 스타일 ── */
    .cv-tabs {
      display: flex;
      border-bottom: 1.5px solid #f0f0f0;
      padding: 0 20px;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      flex-shrink: 0; /* 탭바 고정 - 스크롤 안됨 */
    }
    .cv-tabs::-webkit-scrollbar { display: none; }
    .cv-tab {
      background: none;
      border: none;
      border-bottom: 2.5px solid transparent;
      cursor: pointer;
      padding: 12px 14px 13px;
      font-size: 15px;
      font-weight: 500;
      color: #86868b;
      white-space: nowrap;
      transition: color 0.15s, border-color 0.15s;
      margin-bottom: -1.5px;
    }
    .cv-tab.active {
      border-bottom-color: #1d1d1f;
      color: #1d1d1f;
      font-weight: 700;
    }

    /* 탭 콘텐츠 공통 */
    .cv-tab-content {
      padding: 16px 20px;
      overflow-y: auto;
      flex: 1;
      min-height: 0; /* flex 컨테이너 내 overflow-y: auto가 동작하려면 필수 */
      -webkit-overflow-scrolling: touch;
    }

    /* 공통 row (지역/예산) */
    .cv-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 4px;
      cursor: pointer;
      border-radius: 10px;
      margin: 0 -4px;
      transition: background 0.1s;
    }
    .cv-row:active { background: #f0f0f0; }
    .cv-row-title { font-size: 15px; font-weight: 500; color: #1d1d1f; }
    .cv-row-sub { font-size: 12px; color: #86868b; margin-top: 3px; }
    .cv-row-hr { height: 1px; background: #f0f0f0; }
    .cv-row-check {
      width: 24px; height: 24px;
      display: flex; align-items: center; justify-content: center;
      color: #1d1d1f;
      flex-shrink: 0;
    }
    .cv-row.active .cv-row-title { color: #1d1d1f; font-weight: 600; }

    /* 날짜 서브탭 */
    .cv-date-tabs {
      display: flex;
      background: #f5f5f7;
      border-radius: 10px;
      padding: 3px;
      margin-bottom: 16px;
    }
    .cv-date-tab {
      flex: 1;
      background: none;
      border: none;
      border-radius: 8px;
      padding: 8px;
      font-size: 14px;
      cursor: pointer;
      color: #86868b;
      transition: all 0.15s;
    }
    .cv-date-tab.active {
      background: #fff;
      color: #1d1d1f;
      font-weight: 600;
      box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
    .cv-flex-msg {
      text-align: center;
      padding: 20px 0 16px;
      font-size: 15px;
      color: #3a3a3c;
      line-height: 1.6;
    }
    .cv-flex-btn {
      display: inline-block;
      padding: 10px 24px;
      background: #fff;
      color: #1d1d1f;
      border: 1.5px solid #d2d2d7;
      border-radius: 980px;
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.15s;
    }
    .cv-flex-btn:hover { border-color: #1d1d1f; background: #f5f5f7; }

    /* 여행자 카운터 */
    .cv-guest-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 0;
    }
    .cv-guest-title { font-size: 15px; font-weight: 500; color: #1d1d1f; }
    .cv-guest-sub { font-size: 12px; color: #86868b; margin-top: 2px; }
    .cv-guest-hr { height: 1px; background: #f2f2f7; }
    .cv-counter { display: flex; align-items: center; gap: 14px; }
    .cv-counter-btn {
      width: 44px; height: 44px;
      border: 1.5px solid #d2d2d7;
      border-radius: 50%;
      background: none;
      font-size: 20px;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      color: #1d1d1f;
      transition: border-color 0.15s, background 0.15s, transform 0.1s;
    }
    .cv-counter-btn:active:not(:disabled) { transform: scale(0.92); background: rgba(0,0,0,0.04); }
    .cv-counter-btn:disabled { opacity: 0.3; cursor: default; }
    .cv-counter-num { font-size: 16px; font-weight: 500; min-width: 24px; text-align: center; }

    /* 예산 pills */
    .cv-budget-title { font-size: 13px; color: #86868b; margin-bottom: 12px; }
    .cv-budget-pills {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }
    .cv-budget-pill {
      padding: 12px;
      border: 1.5px solid #d2d2d7;
      border-radius: 10px;
      background: none;
      font-size: 14px;
      cursor: pointer;
      color: #1d1d1f;
      transition: all 0.12s;
    }
    .cv-budget-pill.active {
      border-color: #1d1d1f;
      background: #1d1d1f;
      color: #fff;
      font-weight: 600;
    }

    /* ── 커스텀 에어비앤비 스타일 캘린더 (row-pill 방식) ── */
    #cv-cal {
      padding: 0 2px;
    }
    .cv-cal-month { margin-bottom: 24px; }
    .cv-cal-month-label {
      font-size: 15px;
      font-weight: 700;
      color: #1d1d1f;
      padding: 2px 0 12px;
    }
    .cv-cal-weekdays {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      text-align: center;
      margin-bottom: 2px;
    }
    .cv-cal-weekdays span {
      font-size: 12px;
      color: #86868b;
      font-weight: 500;
      padding: 4px 0;
    }
    /* grid는 row 래퍼들의 flex column 컨테이너 */
    .cv-cal-grid {
      display: flex;
      flex-direction: column;
    }
    /* 각 7일 행 */
    .cv-cal-row {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      position: relative;
    }
    /* row 전체 pill 배경 (::before로 그림) */
    .cv-cal-row.has-pill::before {
      content: '';
      position: absolute;
      top: 4px;
      bottom: 4px;
      left: var(--pill-left, 0%);
      right: var(--pill-right, 0%);
      background: #f2f2f2;
      border-radius: 999px;
      z-index: 0;
      pointer-events: none;
    }
    /* 날짜 셀 */
    .cv-cal-day {
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      cursor: pointer;
      background: transparent;
      user-select: none;
      -webkit-user-select: none;
      z-index: 1;
    }
    .cv-cal-day.empty { cursor: default; pointer-events: none; }
    .cv-cal-day.disabled { pointer-events: none; }
    .cv-cal-day.disabled .cv-cal-num { color: #c7c7cc; }
    /* 날짜 숫자 원형 레이어 */
    .cv-cal-num {
      width: 40px; height: 40px;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 15px;
      color: #1d1d1f;
      position: relative;
      z-index: 1;
      transition: background 0.1s;
    }
    .cv-cal-day.today .cv-cal-num { font-weight: 700; }
    /* 선택 날짜: 진한 원 */
    .cv-cal-day.sel-start .cv-cal-num,
    .cv-cal-day.sel-end .cv-cal-num {
      background: #1d1d1f !important;
      color: #fff !important;
      font-weight: 600;
    }
    /* hover */
    .cv-cal-day:not(.disabled):not(.empty):not(.sel-start):not(.sel-end):hover .cv-cal-num {
      background: #e8e8e8;
    }
    /* ── 언제든지 컨테이너 ── */
    #cv-date-flexible,
    #date-panel-flexible-c {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0;
      padding: 36px 0 8px;
    }
    .cv-flex-section-title {
      font-size: 17px;
      font-weight: 600;
      color: #1d1d1f;
      margin-bottom: 16px;
      text-align: center;
      width: 100%;
    }
    /* 숙박 기간 pills */
    .cv-flex-duration { margin-bottom: 28px; width: 100%; }
    .cv-flex-duration-list { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
    .cv-flex-dur-btn {
      padding: 8px 18px;
      border: 1px solid #d8d8dc;
      border-radius: 999px;
      background: #fff;
      font-size: 14px;
      font-weight: 500;
      color: #1d1d1f;
      cursor: pointer;
      transition: outline 0s, font-weight 0.1s;
      font-family: inherit;
      outline: 1.5px solid transparent;
      outline-offset: -2px;
    }
    .cv-flex-dur-btn.active {
      border-color: transparent;
      outline: 1.5px solid #1d1d1f;
      outline-offset: -1px;
      background: #fff;
      color: #1d1d1f;
      font-weight: 700;
    }
    /* 월 카드 캐러셀 */
    .cv-flex-months { margin-bottom: 20px; margin-top: 4px; position: relative; width: 100%; }
    .cv-flex-month-scroll {
      display: flex;
      gap: 10px;
      overflow-x: auto;
      padding: 4px 2px 8px;
      scrollbar-width: none;
      -webkit-overflow-scrolling: touch;
    }
    .cv-flex-month-scroll::-webkit-scrollbar { display: none; }
    .cv-flex-month-card {
      flex-shrink: 0;
      width: 84px;
      border: 1px solid #e5e5ea;
      border-radius: 14px;
      padding: 14px 0 12px;
      cursor: pointer;
      text-align: center;
      background: #fff;
      transition: outline 0s;
      user-select: none;
      outline: 1.5px solid transparent;
      outline-offset: -1px;
    }
    .cv-flex-month-card.active {
      border-color: transparent;
      outline: 1.5px solid #1d1d1f;
      outline-offset: -1px;
    }
    .cv-flex-month-icon { display: flex; align-items: center; justify-content: center; margin-bottom: 8px; color: #aaa; }
    .cv-flex-month-card.active .cv-flex-month-icon { color: #1d1d1f; }
    .cv-flex-month-name { font-size: 14px; font-weight: 600; color: #1d1d1f; }
    .cv-flex-month-year { font-size: 11px; color: #aaa; margin-top: 2px; }
    /* 월 스크롤 화살표 */
    .cv-flex-month-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%) translateY(-4px);
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: #fff;
      border: 1px solid #e0e0e5;
      box-shadow: 0 2px 8px rgba(0,0,0,0.12);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: box-shadow 0.15s;
      z-index: 2;
    }
    #cv-flex-month-arrow-right { right: -4px; }
    #cv-flex-month-arrow-left  { left: -4px; display: none; }
    .cv-flex-month-arrow:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.18); }
    /* 요약 */
    .cv-flex-summary {
      text-align: center;
      font-size: 13px;
      color: #86868b;
      margin-bottom: 16px;
      min-height: 18px;
    }
    .cv-flex-summary strong { color: #1d1d1f; font-weight: 600; }
    /* 확인 버튼 */
    .cv-flex-btn {
      display: inline-block;
      padding: 12px 28px;
      background: #fff;
      color: #1d1d1f;
      border: 1.5px solid #d2d2d7;
      border-radius: 980px;
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.15s;
      align-self: center;
      font-family: inherit;
    }
    .cv-flex-btn:hover { border-color: #1d1d1f; background: #f5f5f7; }


    /* ── 태블릿/PC(≥744px) 홈 화면에서 footer 숨김 ── */
    @media (min-width: 744px) {
      #compare-view[style*="display: none"] ~ footer,
      #compare-view:not([style]) ~ footer {
        display: none !important;
      }
    }

    /* ── RESPONSIVE: 태블릿 (744px ~ 1068px) — 가로형 pill 유지 ── */
    @media screen and (min-width: 744px) and (max-width: 1068px) {
      .home-content { padding-top: 0; justify-content: center; padding-bottom: 380px; }
      .home-title { font-size: 40px; margin-bottom: 20px; }
      .sb-wrap { width: calc(100% - 48px) !important; }
      .sb { height: 58px; }
      .sb-seg { padding: 0 14px; }
      .sb-label { font-size: 10px; }
      .sb-val { font-size: 12px; }
    }

    /* ── RESPONSIVE: 소형 태블릿 (521px ~ 743px) — 가로형 pill 유지 ── */
    @media screen and (min-width: 521px) and (max-width: 743px) {
      .home-content { padding-top: calc(8vh + 40px); }
      .home-title { font-size: 36px; margin-bottom: 20px; }
      .sb-wrap { width: calc(100% - 48px) !important; }
      .sb { height: 58px; }
      .sb-seg { padding: 0 14px; }
      .sb-label { font-size: 10px; }
      .sb-val { font-size: 12px; }
    }


    /* ── RESPONSIVE: 모바일 (≤520px) — 세로 리스트형 ── */
    @media screen and (max-width: 520px) {
      /* HOME: 배너 텍스트 반응형 — 모바일에서 짧은 문구 */
      .banner-full { display: none !important; }
      .banner-short { display: inline !important; }

      /* HOME search bar wraps */
      .home-content { padding-top: calc(6vh + 40px); }
      .home-title { font-size: 32px; letter-spacing: -0.8px; margin-bottom: 16px; }
      .sb-wrap { width: calc(100% - 32px) !important; margin: 20px auto 0 !important; }
      .sb {
        flex-direction: column;
        height: auto;
        border-radius: 16px;
        padding: 0;
        gap: 0;
        box-shadow: 0 1px 4px rgba(0,0,0,0.06);
        border: 1px solid #e8e8e8;
        background: #fff;
      }
      /* 각 세그먼트를 가로 배치 (라벨 왼쪽, 값 오른쪽) */
      .sb-seg {
        height: auto;
        border-radius: 0;
        width: 100%;
        padding: 16px 16px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
      }
      /* 모바일 라벨: 일반 두께, 살짝 어두운 회색 */
      .sb-label {
        font-size: 14px;
        font-weight: 400;
        color: #1d1d1f;
        margin-bottom: 0;
        letter-spacing: 0;
        text-transform: none;
      }
      /* 모바일 값: 오른쪽 정렬, 회색 톤 */
      .sb-val {
        font-size: 14px;
        color: #86868b;
        font-weight: 400;
        text-align: right;
      }
      .sb-val.filled {
        color: #1d1d1f;
      }
      .sb-div { display: none; }
      .sb-btn {
        width: calc(100% - 24px);
        border-radius: 12px;
        height: 50px;
        margin: 12px 12px;
        gap: 8px;
      }
      .sb-btn-text { display: inline !important; font-size: 15px; }

      /* 홈뷰 세그먼트 hover 배경 효과 제거 (TOBE: 라인 없는 깔끔한 폼) */
      #home-view .sb-seg:hover,
      #home-view .sb-seg.sb-active {
        background: transparent;
      }

      /* ── 홈뷰 패널: 바텀시트 스타일 ── */
      #home-view .sb-panel {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        top: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        border-radius: 20px 20px 0 0 !important;
        padding: 20px 16px 32px !important;
        background: #ffffff !important;
        box-shadow: 0 -4px 24px rgba(0,0,0,0.14) !important;
        z-index: 9999 !important;
        max-height: 90vh;
        overflow-y: auto;
        animation: slideUp 0.22s ease !important;
      }
      /* 하프팝업 열렸을 때 취향설정 버튼 숨김 */
      #home-view:has(.sb-panel.open) #wiz-launcher {
        display: none !important;
      }
      @keyframes slideUp {
        from { transform: translateY(40px); opacity: 0; }
        to   { transform: translateY(0);   opacity: 1; }
      }
      /* 바텀시트 핸들 */
      #home-view .sb-panel::before {
        content: '';
        display: block;
        width: 36px;
        height: 4px;
        background: #d2d2d7;
        border-radius: 2px;
        margin: 0 auto 16px;
      }
      /* 달력 패널: 여백 조정 + 불투명 배경 강제 */
      #home-view #date-panel {
        padding: 20px 16px 40px !important;
        max-height: 85vh !important;
        overflow-y: auto !important;
        background: #ffffff !important;
      }
      /* 홈뷰 달력: 전체폭으로 재조정 + 불투명 흰색 배경 */
      #home-view .flatpickr-calendar {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box;
        background: #ffffff !important;
        box-shadow: none !important;
      }
      #home-view .flatpickr-weekdays {
        width: 100% !important;
      }
      #home-view .flatpickr-weekdaycontainer {
        width: 100% !important;
        display: flex !important;
      }
      #home-view .flatpickr-weekday {
        flex: 1 !important;
        text-align: center !important;
      }
      #home-view .flatpickr-innerContainer {
        width: 100% !important;
      }
      #home-view .flatpickr-rContainer {
        width: 100% !important;
        min-width: 0 !important;
      }
      #home-view .flatpickr-days {
        width: 100% !important;
      }
      #home-view .dayContainer {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        display: flex !important;
        flex-wrap: wrap !important;
      }
      #home-view .flatpickr-day {
        flex: 1 0 14.2857% !important;
        max-width: 14.2857% !important;
        width: 14.2857% !important;
        height: 44px !important;
        line-height: 44px !important;
      }
      #home-view .flatpickr-month {
        width: 100% !important;
      }

      /* open 패널 box-shadow로 배경 어둠 처리 */
      #home-view .sb-panel.open {
        box-shadow: 0 -4px 24px rgba(0,0,0,0.14), 0 0 0 100vmax rgba(0,0,0,0.45) !important;
      }


      /* Results specific optimization */
      #compare-view > div > .top-banner { display: block !important; margin-bottom: 0; }

      /* Typography scale-down */
      .v-xl { font-size: 26px; }
      .v-lg { font-size: 20px; }
      .v-md { font-size: 15px; }
      .dest-name { font-size: 18px; }
      .dest-narrative { font-size: 14px; margin: 12px 0; word-break: normal; padding-right: 0; }
      .dest-sub { font-size: 11px; min-height: auto; }
      .sec-title { font-size: 20px; margin-bottom: 12px; padding-bottom: 10px; }

      #compare-sb-wrap { transform: scale(0.95); margin: 0 !important; }
      footer { padding: 40px 16px; margin-top: 100px; }
      /* ── 모바일 홈 날짜탭: 검색시트(cv) 스타일과 통일 ── */
      #home-view .sb-date-tabs {
        width: 100% !important;
        margin: 0 0 16px 0 !important;
        background: #f5f5f7 !important;
        border-radius: 10px !important;
        padding: 3px !important;
        gap: 0 !important;
        box-sizing: border-box;
      }
      #home-view .sb-date-tab {
        flex: 1 !important;
        background: none !important;
        border-radius: 8px !important;
        padding: 8px !important;
        font-size: 14px !important;
        color: #86868b !important;
        box-shadow: none !important;
      }
      #home-view .sb-date-tab.active {
        background: #fff !important;
        color: #1d1d1f !important;
        font-weight: 600 !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
      }
      /* 홈 2열 달력 → 1열 세로 스크롤로 전환 */
      #home-view .dc-months {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
      }
      /* 두 번째 달 상단 여백 */
      #home-view .dc-months > div:last-child {
        margin-top: 32px;
      }
      /* 달력 월 제목: 왼쪽 정렬 */
      #home-view .dc-month-header {
        text-align: left !important;
        padding-left: 4px !important;
        font-size: 16px !important;
      }
      /* 화살표 버튼 숨김 */
      #home-view .dc-nav {
        display: none !important;
      }
    }

    /* ── WIZARD ── */
    #wiz-launcher {
      position: fixed;
      bottom: 24px;
      left: 24px;
      height: 46px;
      padding: 0 16px 0 13px;
      border-radius: 23px;
      background: #fff;
      color: #222;
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 7px;
      z-index: 2000;
      box-shadow: 0 2px 20px rgba(0,0,0,0.13), 0 0 0 1px rgba(0,0,0,0.07);
      transition: box-shadow 0.15s ease, transform 0.15s ease;
      font-family: inherit;
      white-space: nowrap;
    }
    #wiz-launcher:hover {
      box-shadow: 0 4px 28px rgba(0,0,0,0.17), 0 0 0 1px rgba(0,0,0,0.09);
      transform: translateY(-1px);
    }
    .wiz-launcher-label {
      font-size: 13px;
      font-weight: 600;
      color: #222;
      letter-spacing: -0.2px;
    }
    .wiz-launcher-badge {
      background: #111;
      color: #fff;
      border-radius: 11px;
      font-size: 11px;
      font-weight: 600;
      padding: 2px 8px;
      display: none;
    }

    #wiz-panel {
      position: fixed;
      bottom: 90px;
      left: 24px;
      width: 400px;
      background: #fff;
      border-radius: 24px;
      box-shadow: 0 16px 56px rgba(0,0,0,0.14), 0 0 0 1px rgba(0,0,0,0.05);
      z-index: 1999;
      display: none;
      flex-direction: column;
      overflow: hidden;
      max-height: 88vh;
    }
    #wiz-panel.wiz-open {
      display: flex;
      animation: wizSlideUp 0.24s cubic-bezier(0.16,1,0.3,1) forwards;
    }

    @keyframes wizSlideUp {
      from { opacity: 0; transform: translateY(16px) scale(0.98); }
      to   { opacity: 1; transform: translateY(0) scale(1); }
    }

    /* 실시간 환율 라이브 인디케이터 */
    @keyframes fxPulse {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.3; }
    }

    /* ── 랭킹 변경 토스트 ── */
    .rank-toast {
      position: fixed;
      top: 216px; /* 배너(36px) + 검색바(~168px) + 여백(12px) */
      left: 0;
      right: 0;
      margin: 0 auto;
      width: fit-content;
      max-width: calc(100vw - 32px);
      background: #1d1d1f;
      color: #fff;
      padding: 10px 20px;
      border-radius: 20px;
      z-index: 3000;
      font-size: 13px;
      font-weight: 500;
      white-space: nowrap;
      box-shadow: 0 4px 16px rgba(0,0,0,0.18);
      animation: wizSlideUp 0.2s ease forwards;
      pointer-events: none;
    }
    /* 좁은 화면: 줄바꿈 허용 */
    @media (max-width: 900px) {
      .rank-toast {
        top: 188px;
        white-space: normal;
        word-break: keep-all;
        text-align: center;
        line-height: 1.5;
      }
    }
    @media (max-width: 600px) {
      .rank-toast {
        top: 164px;
        font-size: 12px;
        padding: 9px 16px;
      }
    }


    /* Header */
    .wiz-header {
      padding: 22px 26px 18px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-shrink: 0;
    }
    .wiz-title {
      font-size: 19px;
      font-weight: 700;
      color: #111;
      letter-spacing: -0.5px;
    }
    .wiz-header-right { display: flex; align-items: center; gap: 14px; }
    .wiz-count { font-size: 14px; color: #bbb; font-weight: 400; }
    .wiz-close {
      background: none; border: none;
      font-size: 22px; color: #c0c0c0;
      cursor: pointer; line-height: 1;
      font-family: inherit; padding: 0;
      display: flex; align-items: center; justify-content: center;
    }
    .wiz-close:hover { color: #444; }

    /* Progress bar (replaces divider after header) */
    .wiz-progress-track {
      height: 2px;
      background: #f0f0f0;
      flex-shrink: 0;
    }
    .wiz-progress-fill {
      height: 100%;
      background: #111;
      transition: width 0.35s ease;
      width: 0%;
    }

    /* List body */
    .wiz-list {
      padding: 6px 0;
      flex: 1;
      overflow-y: auto;
    }

    /* Each question row */
    .wiz-row {
      display: flex;
      align-items: center;
      gap: 18px;
      padding: 16px 26px;
      cursor: pointer;
      transition: background 0.12s;
    }
    .wiz-row:hover { background: #fafafa; }

    /* Number badge — outlined circle matching reference image */
    .wiz-num {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: transparent;
      border: 1.5px solid #ddd;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      font-weight: 500;
      color: #aaa;
      flex-shrink: 0;
      transition: background 0.2s, color 0.2s, border-color 0.2s;
    }
    .wiz-row.answered .wiz-num {
      background: #111;
      border-color: #111;
      color: #fff;
    }

    /* Question text */
    .wiz-row-text {
      flex: 1;
      min-width: 0;
    }
    .wiz-row-q {
      font-size: 16px;
      color: #111;
      font-weight: 500;
      line-height: 1.3;
      letter-spacing: -0.2px;
    }
    .wiz-row-ans {
      font-size: 12px;
      color: #bbb;
      margin-top: 3px;
    }

    /* Expanded chip area — indent aligns with text (26 + 34 + 18 = 78px) */
    .wiz-expand {
      display: none;
      padding: 0 26px 18px 78px;
      gap: 7px;
      flex-wrap: wrap;
    }
    .wiz-expand.open { display: flex; }

    /* Chips */
    .wiz-chip {
      background: #f5f5f5;
      border: 1.5px solid transparent;
      border-radius: 22px;
      padding: 7px 14px;
      font-size: 13px;
      color: #555;
      cursor: pointer;
      font-family: inherit;
      transition: background 0.12s, border-color 0.12s, color 0.12s;
      white-space: nowrap;
      display: inline-flex;
      align-items: center;
      gap: 5px;
    }
    .wiz-chip:hover { background: #ebebeb; }
    .wiz-chip.sel {
      background: #111;
      border-color: #111;
      color: #fff;
    }
    .wiz-chip svg { width: 13px; height: 13px; flex-shrink: 0; }

    /* Footer */
    .wiz-footer {
      padding: 12px 26px 24px;
      flex-shrink: 0;
    }
    .wiz-footer-link {
      background: none; border: none;
      font-size: 14px; color: #ccc;
      cursor: pointer; padding: 0;
      font-family: inherit;
    }
    .wiz-footer-link:hover { color: #666; }

    /* ── Photo placeholder Google link ── */
    .dest-photo-gmaps {
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      width: 100%; height: 100%; min-height: 120px;
      background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
      border-radius: 16px; text-decoration: none;
      gap: 6px; padding: 16px;
    }
    .dest-photo-gmaps-name {
      font-size: 15px; font-weight: 700; color: #1a1a1a; text-align: center;
    }
    .dest-photo-gmaps-link {
      font-size: 12px; color: #4285F4; font-weight: 500;
    }

    /* ── 필수 앱 섹션 ── */
    .app-list { display: flex; flex-direction: column; gap: 12px; }
    .app-item { display: flex; align-items: center; gap: 12px; }
    .app-icon-wrap {
      width: 46px; height: 46px; border-radius: 22px; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center; overflow: hidden;
      position: relative;
    }
    .app-icon-wrap::after {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 22px;
      box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
      pointer-events: none;
    }
    .app-icon-wrap img { width: 46px; height: 46px; object-fit: cover; border-radius: 22px; }
    .app-icon-wrap-fallback {
      width: 46px; height: 46px; border-radius: 22px; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
      background: #f0f0f2; font-size: 22px;
      position: relative;
    }
    .app-icon-wrap-fallback::after {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 22px;
      box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
      pointer-events: none;
    }
    .app-info { flex: 1; min-width: 0; text-align: left; }
    .app-name { font-size: 13px; font-weight: 600; color: #111; }
    .app-cat { font-size: 11px; color: #6e6e73; margin-left: 5px; font-weight: 500; }
    .app-desc { font-size: 12px; color: #666; margin-top: 1px; line-height: 1.35; }

    /* ── 환전 팁 섹션 ── */
    .fx-tip-box {
      background: #f7f7f8;
      border-radius: 14px;
      padding: 14px 16px;
      margin-top: 8px;
    }
    .fx-tip-title {
      font-size: 11px;
      font-weight: 700;
      color: #888;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      margin-bottom: 8px;
    }
    .fx-tip-row {
      display: flex;
      align-items: baseline;
      gap: 8px;
      padding: 4px 0;
      border-bottom: 1px solid rgba(0,0,0,0.05);
      font-size: 12px;
      color: #444;
      line-height: 1.4;
    }
    .fx-tip-row:last-child { border-bottom: none; }
    .fx-tip-label {
      font-size: 11px;
      font-weight: 600;
      color: #0071e3;
      white-space: nowrap;
      flex-shrink: 0;
      min-width: 52px;
    }
    .fx-badge {
      display: inline-block;
      font-size: 11px;
      font-weight: 600;
      padding: 2px 9px;
      border-radius: 980px;
      background: #e8f4ff;
      color: #0071e3;
      margin-bottom: 6px;
    }
    .fx-main-value {
      font-size: 28px;
      font-weight: 700;
      color: #1d1d1f;
      letter-spacing: -0.5px;
      line-height: 1.1;
    }
    .fx-sub-text {
      font-size: 12px;
      color: #888;
      margin-top: 4px;
    }
    /* ── Apple-style left-align for fx, fxtip, entry columns ── */
    #fx-0, #fx-1, #fx-2,
    #fxtip-0, #fxtip-1, #fxtip-2,
    #entry-0, #entry-1, #entry-2 {
      text-align: left !important;
      align-items: flex-start !important;
    }
    #fx-0 .kicker, #fx-1 .kicker, #fx-2 .kicker,
    #fx-0 .v-xl, #fx-1 .v-xl, #fx-2 .v-xl,
    #fx-0 .v-sm, #fx-1 .v-sm, #fx-2 .v-sm {
      text-align: left !important;
    }
    /* ── 출입국 준비 섹션 ── */
    .entry-visa-badge {
      display: inline-flex; align-items: center; gap: 5px;
      padding: 5px 12px; border-radius: 20px;
      font-size: 12px; font-weight: 600; margin-bottom: 12px;
    }
    .entry-visa-free { background: #e8f5e9; color: #2e7d32; }
    .entry-visa-eta  { background: #fff8e1; color: #f57f17; }
    .entry-visa-req  { background: #fce4ec; color: #c62828; }
    .entry-doc-list { list-style: none; padding: 0; margin: 0 0 10px; }
    .entry-doc-item {
      display: flex; align-items: flex-start; gap: 8px;
      padding: 10px 0;
      font-size: 13px; color: #222; line-height: 1.4;
    }

    .entry-doc-icon { flex-shrink: 0; font-size: 12px; margin-top: 2px; color: #888; }
    .entry-doc-sub { font-size: 11px; color: #999; display: block; margin-top: 1px; }
    .entry-tips-box {
      background: #f7f7f8; border-radius: 12px;
      padding: 10px 13px; margin-top: 4px;
    }
    .entry-tips-title { font-size: 11px; font-weight: 700; color: #888; margin-bottom: 5px; letter-spacing: 0.5px; text-transform: uppercase; }
    .entry-tip-item { font-size: 12px; color: #555; padding: 2px 0; line-height: 1.4; }

    @media (max-width: 780px) {
      #wiz-panel {
        left: 0; right: 0; bottom: 0; width: 100%;
        border-radius: 24px 24px 0 0;
        max-height: 85vh;
      }
      #wiz-launcher { bottom: 20px; left: 20px; transform: none; }
    }
    @media (min-width: 781px) {
      #wiz-launcher { display: none !important; }
    }

/* ── 블록 2 (원래 L14426) ── */
#share-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 9999;
  align-items: flex-end;
  justify-content: center;
}
#share-modal-overlay.open {
  display: flex;
}
#share-modal {
  background: #fff;
  border-radius: 20px 20px 0 0;
  width: 100%;
  max-width: 480px;
  padding: 0 0 env(safe-area-inset-bottom, 0);
  box-shadow: 0 -4px 32px rgba(0,0,0,0.12);
  animation: shareModalIn 0.28s cubic-bezier(.32,1.01,.5,1) both;
}
@keyframes shareModalIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.share-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 0;
}
.share-modal-title {
  font-size: 16px;
  font-weight: 700;
  color: #111;
}
.share-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #888;
  font-size: 22px;
  line-height: 1;
}
.share-modal-url-box {
  margin: 14px 20px 0;
  background: #f5f5f7;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.share-modal-url-text {
  flex: 1;
  font-size: 13px;
  color: #444;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.share-modal-copy-btn {
  flex-shrink: 0;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.share-modal-copy-btn:hover { background: #333; }
.share-modal-copy-btn.copied { background: #34c759; }


      /* ── Skeleton Loading (Google/YouTube 표준) ── */
      @keyframes _skelShimmer {
        0%   { background-position: -400px 0; }
        100% { background-position:  400px 0; }
      }

      /* 스켈레톤 → 콘텐츠 전환 시 페이드인 */
      @keyframes _skelFadeIn {
        from { opacity: 0; transform: translateY(4px); }
        to   { opacity: 1; transform: translateY(0); }
      }

      /* 스켈레톤 전용 요소 — 기본 숨김 */
      .sk-kicker, .sk-main, .sk-sub { display: none; }

      /* sk 활성화: 실제 콘텐츠 숨김 (sk-* 요소는 제외) */
      .dc.sk > .kicker,
      .dc.sk > .main,
      .dc.sk > .sub { display: none !important; }

      /* sk 해제 시: 실제 콘텐츠 페이드인 */
      .dc:not(.sk) > .kicker,
      .dc:not(.sk) > .main,
      .dc:not(.sk) > .sub {
        animation: _skelFadeIn 0.4s ease-out;
      }

      /* sk 활성화: 스켈레톤 블록 표시 — 강화된 대비 */
      .dc.sk .sk-kicker,
      .dc.sk .sk-main,
      .dc.sk .sk-sub {
        display: block;
        border-radius: 8px;
        background: linear-gradient(
          90deg,
          #e8e8ed 25%,
          #d1d1d6 50%,
          #e8e8ed 75%
        );
        background-size: 800px 100%;
        animation: _skelShimmer 1.6s ease-in-out infinite;
      }

      /* 각 블록 크기 */
      .dc.sk .sk-kicker { height: 13px; width: 52%; margin-bottom: 10px; border-radius: 6px; }
      .dc.sk .sk-main   { height: 40px; width: 68%; margin-bottom: 10px; border-radius: 10px; }
      .dc.sk .sk-sub    { height: 13px; width: 78%; border-radius: 6px; }

      /* ── Leaflet 지도 커스텀 ── */
      .leaflet-control-zoom {
        border: none !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.12) !important;
        border-radius: 10px !important;
        overflow: hidden;
      }
      .leaflet-control-zoom a {
        width: 32px !important;
        height: 32px !important;
        line-height: 32px !important;
        font-size: 16px !important;
        color: #1d1d1f !important;
        background: #fff !important;
        border: none !important;
        border-bottom: 1px solid #e8e8e8 !important;
      }
      .leaflet-control-zoom a:last-child {
        border-bottom: none !important;
      }
      .leaflet-control-zoom a:hover {
        background: #f5f5f7 !important;
        color: #0071e3 !important;
      }

      /* ── 지도 컬럼: 패딩 없이 edge-to-edge ── */
      .map-dc { padding: 0 !important; }

      /* 지도 스켈레톤: iframe 로드 전 shimmer */
      .map-dc [id^="dest-map-"] {
        position: relative;
        background: linear-gradient(90deg, #ebebeb 20%, #d6d6d6 50%, #ebebeb 80%);
        background-size: 800px 100%;
        animation: _skelShimmer 1.4s linear infinite;
      }
      .map-dc [id^="dest-map-"].loaded {
        background: none;
        animation: none;
      }
