@charset "utf-8";
/* ==========================================================================
   호텔 베르누이 서울 랜딩 페이지 시안 — 스타일
   설계서 §4(시각 방향) · §5(화면 구성) 를 그대로 옮긴 것입니다.
   (2026-11-17 베르누이: 호텔 고르기 묶음 · 패키지 기간 줄 · 날짜 검색의 호텔 칸을 지우고,
    언어 단추를 KOR · ENG · JPN 셋으로, 일본어 화면은 Noto Sans JP 로 — html[lang="ja"] 규칙)

   지켜야 하는 것 (검사기 항목과 직결)
   - 항목 7(가로 넘침): 100vw 를 한 번도 쓰지 않습니다. 전체 폭은 100% 또는
     left:0/right:0 으로 냅니다. 모든 격자 칸은 minmax(0,…) 로 두어 내용이
     칸을 밀어내지 못하게 합니다. html,body 에 overflow-x:hidden 을 걸어
     덮지 않습니다(원인을 없앱니다).
   - 항목 9(상단 바): scrollY=0 에서 배경 알파가 정확히 0 이어야 하므로
     transparent 가 아니라 rgba(14,26,43,0) 으로 적습니다.
   - 항목 12(대비): 첫 화면 덮는 층은 설계서 값 그대로(.25 → .65). 옅게 하면
     실측 대비가 떨어져 바로 불합격입니다.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 변수
   -------------------------------------------------------------------------- */
:root{
  /* 색 — 전역 제약 3(이름·값 그대로) */
  --navy:#0E1A2B;
  --navy-2:#16263D;
  --gold:#C9A96E;
  --gold-2:#E2C98F;
  --ivory:#F6F2EA;
  --white:#FFFFFF;
  --ink:#1C1C1C;
  --muted:#6B6F76;
  --line:rgba(255,255,255,.18);
  --line-dark:rgba(14,26,43,.12);

  /* 글꼴 — 전역 제약 4 · 설계서 §4.2
     --serif : 영문만 들어가는 제목(첫 화면 제목 · 객실 4종 영문명)
     --title : 언어가 바뀌는 구역 제목. 설계서 §4.2 는 「영문 제목 = Cormorant
               Garamond · 한국어 = Noto Sans KR」이므로, 라틴 글자는 Cormorant
               (없으면 Georgia)로, 한글은 Noto Sans KR 로 떨어지게 한 벌로 묶었다.
               Cormorant·Georgia·Times 에는 한글 글자꼴이 없어 브라우저가 글자마다
               다음 후보로 내려간다. 이 한 줄이 없으면 한글 제목이 PC 마다 다른
               바탕체로 떠서(집 PC 실측: 바탕) 시안이 기계마다 달라진다. */
  --serif:'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --title:'Cormorant Garamond', Georgia, 'Times New Roman',
          'Noto Sans KR', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
  --sans:'Noto Sans KR', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
  /* 일본어 화면(html[lang="ja"]) — 가나 · 한자를 일본 글자꼴로. 한국어 글꼴로 떨어지면 한자가 한국식 자형으로 뜬다. */
  --sans-ja:'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;

  /* 크기·간격 — 전역 제약 5 */
  --gutter:24px;      /* 좌우 여백 (모바일 16px) */
  --sec-pad:120px;    /* 구역 세로 여백 (태블릿 80 · 모바일 64) */
  --gap-lg:64px;
  --gap-md:48px;

  /* 다이닝 큰 사진 비율.
     dining_01.jpg 원본은 1200x570(약 2.1:1)이라 4/5 틀에 넣으면 좌우가 크게
     잘립니다. 설계서 §5.5 가 4:5 를 지정했으므로 기본값은 4/5 이고, Task 8 의
     눈 검사에서 어색하면 이 한 줄만 3/4 로 바꾸면 됩니다. */
  --dining-hero-ratio:4 / 5;
}

/* 일본어 화면 — i18n.js applyLang('ja') 가 <html lang="ja"> 로 바꾸면 본문 · 언어가 바뀌는 구역 제목을 Noto Sans JP 로.
   (--title 은 라틴 글자는 Cormorant 그대로, 가나 · 한자는 Noto Sans JP 로 떨어지게 한 벌로 묶는다) */
html[lang="ja"]{
  --sans:var(--sans-ja);
  --title:'Cormorant Garamond', Georgia, 'Times New Roman', var(--sans-ja);
}
html[lang="ja"] body{ font-family:"Noto Sans JP", 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif; }

/* 한국어 소개 구역 글 — 낱말 가운데서 줄이 꺾이지 않게(2026-11-17 실측: 「있 / 습니다」 · 「욕실 2 / 개」 · 「250 / 명」).
   띄어쓰기 자리에서만 꺾고, 한 낱말이 칸보다 길면 body 의 overflow-wrap 이 그 낱말을 꺾는다.
   일본어는 띄어쓰기가 없어 적용하지 않는다(적용하면 문장 전체가 한 덩이가 된다). 결과 화면(search.js 몫)은 건드리지 않는다. */
html[lang="ko"] :is(.secintro, .bodytext, .pkg-card__desc, .pkg-note, .room-card__desc, .dining__item,
                    .event-card__title, .event-card__desc, .loc__addr, .loc__item, .footer__addr, .footer__disclaimer){
  word-break:keep-all;
}
/* 일본어 소개 구역 글 — 띄어쓰기가 없어 keep-all 대신 말마디(문절) 단위로 꺾는다(크롬 119+ 의 word-break:auto-phrase ·
   lang="ja" 일 때만 듣고, 다른 브라우저는 보통 꺾기로 돌아간다). 이 규칙이 없을 때 390 폭 실측 꺾임(9c3bda2 사전 글):
   「キングマ / ットレス」 · 「フォー / シーズンホール」 · 「プラ / イベート」 · 「タ / ワー式」 · 「徒歩 / 約5分」 — 켜면 0.
   「各960㎡」은 말마디 규칙으로도 갈려 사전 값에 U+2060(단어 이음표)를 넣었다(i18n.js 일본어 event.conv.desc).
   한 말마디가 칸보다 길면 body 의 overflow-wrap:break-word 가 그 안을 꺾어 가로 넘침이 없다.
   결과 화면(#results)은 넣지 않는다(카드 · 표의 좁은 칸 — 휴대폰 날짜 찾기 객실 줄은 배치로 꺾임을 막음). */
html[lang="ja"] :is(#hero, #packages, #rooms, #dining, #events, #location, .footer){
  word-break:auto-phrase;
}

/* --------------------------------------------------------------------------
   2. 바탕 정리
   -------------------------------------------------------------------------- */
*,*::before,*::after{ box-sizing:border-box; }

html{ -webkit-text-size-adjust:100%; scroll-behavior:auto; }

body{
  margin:0;
  font-family:var(--sans);
  font-size:16px;
  font-weight:400;
  line-height:1.8;            /* 고정값 — 대체 글꼴로 떠도 줄이 밀리지 않게 */
  color:var(--ink);
  background:var(--white);
  overflow-wrap:break-word;
}

h1,h2,h3,p,ul,figure{ margin:0; }
ul{ padding:0; list-style:none; }
img{ display:block; max-width:100%; }
a{ color:inherit; }
button{ font-family:inherit; }

/* hidden 속성은 어떤 display 규칙보다 우선한다.
   (#panelNl · #heroVideo · #guestWarn 이 이 규칙에 기댄다 — 항목 10·14) */
[hidden]{ display:none !important; }

:focus-visible{ outline:2px solid var(--gold); outline-offset:2px; }
/* 금색 테두리는 흰 배경 위에서 1.93:1 이라 보이지 않는다.
   밝은 구역(흰·아이보리 배경과 첫 화면의 흰 검색 줄·투숙객 상자)에서는 남색으로 바꾼다. */
.section--ivory :focus-visible,
.section--white :focus-visible,
.events :focus-visible,
.nl :focus-visible,
.sform :focus-visible{ outline-color:var(--navy); }

/* --------------------------------------------------------------------------
   3. 공통 조각
   -------------------------------------------------------------------------- */
.container{
  width:min(1200px, calc(100% - var(--gutter) * 2));
  margin-inline:auto;
}

.section{ padding-block:var(--sec-pad); }
.section--ivory{ background:var(--ivory); }
.section--white{ background:var(--white); }
.section--navy{ background:var(--navy); color:var(--ivory); }

/* 작은 라벨 — 12px · 자간 .18em · 영문 대문자 (§4.3) */
.label{
  font-size:12px;
  font-weight:500;
  letter-spacing:.18em;
  line-height:1.6;
  text-transform:uppercase;
  color:var(--muted);
}
.label--gold{ color:var(--gold); }

/* 구역 제목 — 40 / 32 / 28px */
.sectitle{
  margin-top:18px;
  font-family:var(--title);
  font-size:40px;
  font-weight:500;
  line-height:1.3;
  letter-spacing:.005em;
  color:var(--ink);
}
.sectitle--light{ color:var(--white); }

.bodytext{
  margin-top:20px;
  font-size:16px;
  line-height:1.8;
  color:var(--muted);
}
.bodytext--light{ color:var(--ivory); }

.secintro{
  margin-top:14px;
  font-size:16px;
  line-height:1.8;
  color:var(--muted);
}

/* 「전체 보기 →」 · 「객실 보기 →」 — 동작 없는 표시용(설계서 §5.3·§5.4).
   C-2 로 button → span 이 되었다(키보드 막다른 길 제거).
   커서는 pointer 를 유지한다 — 설계서 §6.4 가 「동작 없는 메뉴 7개도 커서는
   pointer 유지, hover 시 얇은 금색 선만」이라고 못박아, 이 시안에서 「눌릴 것
   같지만 동작 없음」의 표준 표현이 pointer + hover 이기 때문이다(N-3 판정). */
.morelink{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 0;
  border-bottom:1px solid var(--line-dark);
  font-size:14px;
  letter-spacing:.04em;
  color:var(--ink);
  cursor:pointer;
  transition:border-color .2s ease, color .2s ease;
}
.morelink::after{ content:"\2192"; font-size:15px; line-height:1; }
.morelink:hover{ border-bottom-color:var(--gold); color:var(--navy); }

/* 단추는 금색 한 종류만 (§4.4) */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:44px;
  padding:0 22px;
  border:0;
  border-radius:4px;
  font-size:14px;
  font-weight:500;
  letter-spacing:.04em;
  line-height:1;
  text-decoration:none;
  white-space:nowrap;
  cursor:pointer;
  transition:background-color .2s ease;
}
.btn--gold{ background:var(--gold); color:var(--navy); }   /* 대비 7.81 */
.btn--gold:hover{ background:var(--gold-2); }
.btn--block{ width:100%; }

/* --------------------------------------------------------------------------
   4. 상단 바 (§5.1)
   -------------------------------------------------------------------------- */
#siteHeader{
  position:fixed;
  inset:0 0 auto;            /* top:0 · right:0 · left:0 — 100vw 를 쓰지 않는다 */
  z-index:100;
  background:rgba(14,26,43,0);        /* 알파 정확히 0 (항목 9) */
  border-bottom:1px solid var(--line);
  transition:background .25s ease;
}
#siteHeader.is-solid{ background:rgba(14,26,43,.96); }

.header__bar{ position:relative; z-index:100; container-type:inline-size; }   /* 휴대폰 로고 크기를 바 폭(cqw)으로 잰다 — 아래 ≤767 · ≤359 */

/* 2026-09-26 메뉴 8개 줄을 빼서 상단 바는 이 한 줄뿐이다(높이 72 → 80 · 로고를 키운 만큼). */
.header__bar-in{
  height:80px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  gap:16px;
}

/* 2026-11-17 베르누이: 왼쪽 칸(호텔 고르기)을 지웠다 — 로고는 가운데 칸 · 오른쪽 묶음은 오른쪽 칸에 바로 놓는다
   (칸을 적지 않으면 격자가 로고를 왼쪽 칸에 넣는다). 왼쪽 칸은 비워 로고가 화면 가운데에 선다. */
.header__logo{ grid-column:2; justify-self:center; display:block; line-height:0; }   /* 링크(첫 화면으로) */
/* 로고 그림 = 공식 홈페이지 main_logo_tab.png(320x88 · 흰 글자 · 투명 바탕 · assets/img/src/MANIFEST.md)
   호텔 이름 줄 「BERNOUI」 = 그림 높이 88 중 24줄 → 글자 높이 = 그림 높이 × 24/88(검사 항목 3 · 기준 1440 16px · 390 12px · 320 10px).
   넓은 화면 59px → 글자 16.1px(바 높이 80 그대로) */
.header__logo img{ height:59px; width:auto; }
.header__right{ grid-column:3; justify-self:end; display:flex; align-items:center; gap:22px; min-width:0; }

.header__reserve{ height:38px; padding:0 20px; font-size:13px; }
.header__reserve-short{ display:none; }   /* 짧은 글(예약 · Book · 予約)은 휴대폰(≤767)에서만 — 아래 ≤767 */
/* 넓은 화면(≥992)에서는 언어 단추가 예약하기 왼쪽에 붙어 있어, 예약하기 글 길이(예약하기 · Reservation · 予約)가 바뀌면
   방금 누른 언어 단추가 옆으로 밀린다 → 단추 폭을 가장 긴 영어 글 폭(120)에 맞춰 둔다.
   768 ~ 991 도 같게(언어를 바꿀 때 단추 크기 · 자리가 그대로 · 고침 3). */
@media (min-width:768px){
  .header__reserve{ min-width:120px; }
}

/* KOR | ENG | JPN */
/* 언어와 상관없이 같은 글꼴(단추 · 세로줄 모두) — 일본어 화면에서 Noto Sans JP 로 바뀌면 KOR|ENG|JPN 묶음 폭이 2.3px 달라져 단추가 움직였다(고침 3) */
.lang{ display:flex; align-items:center; gap:8px; font-family:'Noto Sans KR', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif; }
.lang__short{ display:none; }   /* 두 글자(KO · EN · JA)는 아주 좁은 폭(≤359)에서만 — 아래 ≤359 묶음 */
.lang__btn{
  padding:4px 2px;
  border:0;
  background:none;
  font-size:12px;
  font-weight:500;
  letter-spacing:.1em;
  color:rgba(255,255,255,.62);
  cursor:pointer;
  transition:color .2s ease;
}
.lang__btn[aria-pressed="true"]{ color:var(--gold); }
.lang__btn:hover{ color:var(--white); }
.lang__sep{ font-size:11px; color:rgba(255,255,255,.3); }

/* --------------------------------------------------------------------------
   5. 첫 화면 (§5.2)
   -------------------------------------------------------------------------- */
/* 2026-09-25: 높이 고정(100vh · 최소 640) → 「최소 한 화면 + 위아래 여백」. 예약 검색이 들어오면서
   내용이 길어졌기 때문이다. 내용이 화면보다 크면 잘리지 않고 늘어나며(그러면 검사 항목 15 가 잡는다),
   투숙객 펼침 상자가 첫 화면 밖으로 나가도 잘리지 않게 자르는 일은 .hero__media 만 한다.
   위 여백 92 = 상단 바 80 + 12(2026-09-26 메뉴 줄을 빼서 120 → 80) · 아래 여백 108 = 「아래로」 안내(바닥 30 + 76). */
.hero{
  position:relative;
  min-height:100vh;
  min-height:100svh;
  padding:92px 0 108px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--navy);
}
.hero__media{ position:absolute; inset:0; overflow:hidden; }
.hero__img,
.hero__video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
/* 동영상은 재생이 실제로 시작될 때만 서서히 나타난다(main.js 6.7 이 is-playing 을 붙임).
   그 전·재생이 막혔을 때는 같은 16:9 구도의 사진이 보인다.
   「움직임 줄이기」 설정에서도 숨기지 않는다(2026-10-08 사용자 결정 · main.js 6.7 과 짝).
   그 설정에서는 아래 「움직임을 줄이도록 설정한 사용자」 규칙이 전환 시간을 없애 서서히가 아니라 바로 나타난다. */
.hero__video{
  opacity:0;
  transition:opacity .8s ease;
}
.hero__video.is-playing{ opacity:1; }
.hero__overlay{
  position:absolute;
  inset:0;
  /* 설계서 값 그대로 — 옅게 하면 항목 12(대비 실측)가 바로 떨어진다 */
  background:linear-gradient(rgba(14,26,43,.25), rgba(14,26,43,.65));
}
/* 상단 바 뒤를 어둡게(2026-09-24 동영상을 넣으면서). 밝은 실내 장면(흰 천장·커튼)에서 투명 상단 바의
   글자 대비가 1.13~1.93 까지 떨어졌고(verify/header_contrast.py), 사진도 동영상과 같은 16:9 구도로 바꾸면서
   호텔 꼭대기의 불 켜진 창이 상단 바 바로 뒤로 올라와 사진 상태에서도 2.73 이었다 → 늘 켠다.
   금색 글자(고른 언어 단추)가 있는 윗줄은 진하게, 그 아래는 옅게, 아래로 갈수록 0. */
.hero__overlay::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to bottom,
              rgba(14,26,43,.84) 0,
              rgba(14,26,43,.8) 70px,
              rgba(14,26,43,.62) 130px,
              rgba(14,26,43,0) 320px);
}
/* 글 덩이 뒤에만 덧씌우는 국소 스크림.
   위 덮는 층(.25→.65)은 설계서 §5.2 값이라 손대지 않는다. 문제는 그 층이
   아니라 "12px 금색 눈썹글이 하필 켜진 금색 창문 위에 놓인 것"이었다
   — 글자가 실제로 덮는 자리만 12x3 타일로 재니 대비가 2.99(합격선 4.5)로,
   4배 확대하면 가운뎃점이 사라졌다. 사진 전체를 어둡게 하지 않고 글이 놓인
   타원 안에서만 남색을 덧씌워 푼다. 바깥으로 갈수록 0 이라 테두리가 안 보인다. */
.hero__scrim{
  position:absolute;
  inset:0;
  background:radial-gradient(ellipse 46% 27% at 50% 47%,
              rgba(14,26,43,.72) 0%,
              rgba(14,26,43,.66) 55%,
              rgba(14,26,43,0) 100%);
}
/* 동영상이 재생 중일 때만 스크림을 가로로 넓힌다(2026-09-24). 동영상의 실내 장면(흰 커튼·창가)이
   제목 줄 양 끝 뒤로 오면 제목 대비가 4.10 까지 떨어졌다(검사 항목 12 · 15.0초 프리미어 침실).
   사진 상태는 그대로 두고, 동영상이 나타날 때 같이 서서히 넓어지도록 겹 한 장을 투명도로 켠다. */
.hero__scrim::after{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(ellipse 64% 32% at 50% 47%,
              rgba(14,26,43,.5) 0%,
              rgba(14,26,43,.42) 60%,
              rgba(14,26,43,0) 100%);
  opacity:0;
  transition:opacity .8s ease;
}
.hero__video.is-playing ~ .hero__scrim::after{ opacity:1; }

.hero__inner{
  position:relative;
  z-index:3;               /* 2026-09-25: 투숙객 상자가 「아래로」 안내(z 2) 위로 덮이게 3 */
  text-align:center;
  color:var(--white);
}
/* 2026-09-28 사용자: 첫 화면 「마포 · 한강 곁」(눈썹글 .hero__eyebrow) 뺌 → 제목이 맨 위라 위 여백 없음 */
.hero__title{
  margin-top:0;
  font-family:var(--serif);
  font-size:64px;
  font-weight:400;
  line-height:1.14;
  letter-spacing:.012em;
  color:var(--white);
}
.hero__sub{
  margin-top:22px;
  font-size:17px;
  font-weight:300;
  line-height:1.7;
  color:var(--gold-2);   /* 2026-09-28 사용자: 전부 흰색이라 부제를 뺀 눈썹글의 금색으로(대비는 검사 항목 12 가 영상 위에서 잼) */
}

.hero__scrollwrap{
  position:absolute;
  left:0; right:0; bottom:30px;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
}
.hero__scroll{
  font-size:11px;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:rgba(255,255,255,.78);
}
.hero__scroll-line{
  width:1px;
  height:46px;
  background:linear-gradient(rgba(201,169,110,0), var(--gold));
  animation:scrollhint 2.6s ease-in-out infinite;
}
@keyframes scrollhint{
  0%,100%{ transform:translateY(-6px); opacity:.45; }
  50%    { transform:translateY(4px);  opacity:1; }
}

/* --------------------------------------------------------------------------
   6. Packages & Offers (§5.3)
   -------------------------------------------------------------------------- */
.sechead{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:32px;
}
.sechead__main{ max-width:640px; }

.pkg-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:32px;
  margin-top:56px;
}
.pkg-card{
  background:var(--white);
  border:1px solid var(--line-dark);
  overflow:hidden;
}
.pkg-card__media{ aspect-ratio:4 / 3; overflow:hidden; }
.pkg-card__media img{
  width:100%; height:100%;
  object-fit:cover;
  transition:transform .6s ease;
}
.pkg-card:hover .pkg-card__media img{ transform:scale(1.04); }
.pkg-card__body{ padding:26px 26px 30px; }
.pkg-card__name{
  font-size:20px;
  font-weight:500;
  line-height:1.5;
  color:var(--ink);
}
.pkg-card__desc{
  margin-top:10px;
  font-size:15px;
  line-height:1.75;
  color:var(--muted);
}
.pkg-card__price{
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid var(--line-dark);
  font-size:16px;
  font-weight:500;
  line-height:1.5;
  color:var(--ink);
}
/* 펜트하우스 안내(취소 · 환불 불가 · 사전 결제) — 카드 아래 한 줄. 기간 줄(.pkg-card__period)은 지웠다. */
.pkg-note{
  margin-top:28px;
  font-size:14px;
  line-height:1.7;
  color:var(--muted);          /* 아이보리 바탕 대비 4.6 이상 */
}

/* --------------------------------------------------------------------------
   7. Rooms & Suites (§5.4)
   -------------------------------------------------------------------------- */
.rooms__top{
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);
  gap:var(--gap-lg);
  align-items:center;
}
.rooms__media{ aspect-ratio:16 / 10; overflow:hidden; }
.rooms__media img{ width:100%; height:100%; object-fit:cover; }
.rooms__text .morelink{ margin-top:30px; }

.room-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:28px;
  margin-top:78px;
}
.room-card__media{ aspect-ratio:3 / 2; overflow:hidden; margin-bottom:18px; }
.room-card__media img{
  width:100%; height:100%;
  object-fit:cover;
  transition:transform .6s ease;
}
.room-card:hover .room-card__media img{ transform:scale(1.04); }
.room-card__name{
  font-family:var(--serif);
  font-size:21px;
  font-weight:500;
  line-height:1.4;
  letter-spacing:.01em;
  color:var(--ink);
}
.room-card__desc{
  margin-top:7px;
  font-size:14px;
  line-height:1.7;
  color:var(--muted);
}

/* --------------------------------------------------------------------------
   8. Dining (§5.5)
   -------------------------------------------------------------------------- */
/* 두 칸의 윗선을 맞춘다(center 로 두면 짧은 글 칸이 위아래로 각 155px 씩 뜬
   채 떠 있어 이 구역만 텅 비어 보였다). 사진 칸 폭도 사진 폭에 맞춰 두어
   좌우로 각 54px 씩 비던 것을 없앴다. */
.dining__grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,460px);
  gap:var(--gap-lg);
  align-items:start;
}
.dining__list{
  margin-top:38px;
  border-top:1px solid var(--line);
}
.dining__item{
  padding:19px 0;
  border-bottom:1px solid var(--line);
  font-size:16px;
  letter-spacing:.01em;
  line-height:1.6;
  color:var(--ivory);
}
/* 4:5 사진은 세로로 길어 그대로 두면 왼쪽 글 칸이 텅 빈다.
   사진 폭에 상한을 두어 두 칸의 높이 차를 줄였다. */
.dining__media{ width:100%; max-width:460px; margin-inline:auto; }
.dining__hero{ aspect-ratio:var(--dining-hero-ratio); overflow:hidden; }
.dining__hero img{ width:100%; height:100%; object-fit:cover; }
.dining__strip{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:12px;
  margin-top:12px;
}
.dining__strip-item{ aspect-ratio:3 / 2; overflow:hidden; }
.dining__strip-item img{ width:100%; height:100%; object-fit:cover; }

/* --------------------------------------------------------------------------
   9. Wedding & Convention (§5.6)
   -------------------------------------------------------------------------- */
.events{ background:var(--white); padding-block:0 var(--sec-pad); }

.events__banner{
  position:relative;
  height:520px;
  display:flex;
  align-items:center;
  overflow:hidden;
}
.events__banner-img{
  position:absolute;
  inset:0;
  width:100%; height:100%;
  object-fit:cover;
}
.events__banner-overlay{
  position:absolute;
  inset:0;
  background:rgba(14,26,43,.45);     /* 실측 근거: wedding_03 최악 타일 9.15 */
}
.events__banner-inner{ position:relative; z-index:1; }
.events__banner-inner .bodytext{ max-width:560px; }

.events__cards{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:40px;
  margin-top:var(--gap-md);
}
.event-card__media{ aspect-ratio:16 / 10; overflow:hidden; margin-bottom:22px; }
.event-card__media img{
  width:100%; height:100%;
  object-fit:cover;
  transition:transform .6s ease;
}
.event-card:hover .event-card__media img{ transform:scale(1.04); }
.event-card__title{
  font-family:var(--title);
  font-size:26px;
  font-weight:500;
  line-height:1.4;
  color:var(--ink);
  /* 2026-11-17 베르누이: 제목에 넓이 · 인원 숫자가 들어간다(대연회장 — 230㎡ · 최대 100명).
     Cormorant 기본 숫자는 높낮이가 있는 옛 숫자라 「100」이 「ıoo」처럼 읽혀 높이가 같은 숫자로 바꾼다. */
  font-variant-numeric:lining-nums;
}
.event-card__desc{
  margin-top:8px;
  font-size:15px;
  line-height:1.75;
  color:var(--muted);
}

/* --------------------------------------------------------------------------
   10. Location (§5.7) — 지도는 사진이 아니라 CSS 로 그린 틀
   -------------------------------------------------------------------------- */
.loc__grid{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:var(--gap-lg);
  align-items:center;
}
.loc__map{
  position:relative;
  aspect-ratio:4 / 3;
  background:var(--navy);
  overflow:hidden;
}
.loc__map::before{                  /* 얇은 격자 선 */
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size:46px 46px;
}
/* 설계서 §5.7 「가운데 금색 핀」 — 도로 두 줄이 한가운데서 만나고 핀이 그 위에 선다 */
.loc__road{ position:absolute; background:rgba(255,255,255,.09); }
.loc__road--h{ left:0; right:0; top:50%; height:15px; }
.loc__road--v{ top:0; bottom:0; left:50%; width:11px; }

/* C-3: 라벨이 아주 좁은 화면에서 지도 밖으로 잘리던 것을 막는다.
   right 를 묶어 두어 무리가 쓸 수 있는 폭이 남은 자리를 넘지 못하게 하고,
   nowrap 을 풀어 정 좁으면 라벨이 두 줄로 접히게 했다(잘리는 대신 접힌다). */
.loc__pin{
  position:absolute;
  left:50%;
  right:10px;
  top:50%;
  transform:translate(-14px, -100%);
  display:flex;
  align-items:center;
  gap:12px;
}
.loc__pin-mark{
  position:relative;
  flex:none;
  width:28px;
  height:28px;
  background:var(--gold);
  border-radius:50% 50% 50% 0;
  transform:rotate(-45deg);
}
.loc__pin-mark::after{
  content:"";
  position:absolute;
  left:50%; top:50%;
  width:10px; height:10px;
  margin:-5px 0 0 -5px;
  border-radius:50%;
  background:var(--navy);
}
.loc__pin-label{
  font-size:13px;
  letter-spacing:.06em;
  color:var(--white);
}

.loc__addr{
  margin-top:20px;
  font-size:17px;
  line-height:1.7;
  color:var(--ink);
}
.loc__list{ margin-top:26px; border-top:1px solid var(--line-dark); }
.loc__item{
  padding:14px 0;
  border-bottom:1px solid var(--line-dark);
  font-size:15px;
  line-height:1.7;
  color:var(--muted);
}
.loc__tel{
  margin-top:24px;
  font-size:15px;
  letter-spacing:.04em;
  line-height:1.6;
  color:var(--ink);
}

/* --------------------------------------------------------------------------
   11. 예약 검색 — 첫 화면 제목 아래 (§5.8 · 2026-09-25 B안으로 옮김)
   말로 찾기(자연어)가 기본 · 탭 두 개가 같은 자리에서 바뀐다.
   영상 위에 바로 놓이는 글자(탭·예시 칩)는 반투명 남색(.7) 바탕을 깐다 — 흰 화면
   위에서도 흰 글자 대비 6 이상(검사 항목 12 가 영상 0.5초 간격으로 잰다).
   입력 줄은 흰 알약이라 어느 장면에서나 또렷하다.
   -------------------------------------------------------------------------- */
.hsearch{
  width:100%;
  max-width:980px;
  margin:40px auto 0;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.hsearch__tabs{
  display:inline-flex;
  padding:3px;
  border:1px solid rgba(255,255,255,.3);
  border-radius:999px;
  background:rgba(14,26,43,.7);
}
.hsearch__tab{
  padding:7px 18px;
  border:0;
  border-radius:999px;
  background:none;
  font-size:13px;
  font-weight:500;
  letter-spacing:.02em;
  line-height:1.4;
  color:var(--white);
  cursor:pointer;
  transition:background-color .2s ease, color .2s ease;
}
.hsearch__tab:hover{ color:var(--gold-2); }
.hsearch__tab[aria-selected="true"]{ background:var(--white); color:var(--navy); }
/* 2026-09-28 사용자: 한/영 전환(과 탭 전환) 때 검색 영역이 덜컹거림 → 한글 「말로 찾기」 기준으로 고정.
   첫 화면은 가운데 정렬이라 이 틀의 높이가 바뀌면 제목·부제·탭이 통째로 오르내렸다(PC 탭 전환 21px · 휴대폰 75px).
   틀 높이 = 「말로 찾기」 패널 — 「날짜로 찾기」로 바꾸면 그 패널은 hidden 이어도 자리를 지키고(보이지만 않음),
   「날짜로 찾기」 패널은 같은 자리에 겹쳐 띄운다(휴대폰처럼 더 길면 아래로 내려 보임 · 자리 계산에서 빠짐). */
.hsearch__panels{ position:relative; width:100%; margin-top:16px; }
.hsearch__panel{ width:100%; }
#panelNl[hidden]{ display:block !important; visibility:hidden; }
#panelForm{ position:absolute; top:0; left:0; right:0; z-index:2; }
/* 탭 두 개 폭 = 세 언어 중 가장 넓은 글자 폭(2026-11-17 실측: 일본어 「言葉で探す」 · 「日付で探す」 102 · 한국어 89 · 101)
   — 언어를 바꿔도 알약 폭이 그대로(가운데 정렬이라 폭이 바뀌면 탭이 옆으로 움직인다) */
#tabNl{ min-width:103px; }       /* 소수점 폭(102.x)까지 덮게 1px 여유 */
#tabForm{ min-width:103px; }

/* 탭 1 · 말로 찾기 — 흰 알약 한 줄 + 예시 칩 */
.nl{
  display:flex;
  align-items:center;
  max-width:780px;
  margin-inline:auto;
  padding:7px 7px 7px 22px;
  border-radius:999px;
  background:var(--white);
  box-shadow:0 18px 50px rgba(0,0,0,.35);
}
.nl:focus-within{ box-shadow:0 0 0 2px var(--gold), 0 18px 50px rgba(0,0,0,.35); }
.nl__icon{
  position:relative;
  flex:none;
  width:18px;
  height:18px;
  margin-right:14px;
  border:1.5px solid var(--gold);
  border-radius:50%;
}
.nl__icon::after{
  content:"";
  position:absolute;
  right:-5px;
  bottom:-3px;
  width:7px;
  height:1.5px;
  background:var(--gold);
  transform:rotate(45deg);
}
.nl__input{
  flex:1 1 auto;
  min-width:0;
  height:48px;
  padding:0 12px 0 0;
  border:0;
  background:transparent;
  font-family:inherit;
  font-size:16px;
  color:var(--ink);
}
.nl__input::placeholder{ color:var(--muted); }
.nl__input:focus-visible{ outline:none; }      /* 알약 전체가 금색 테두리로 대신 보인다(.nl:focus-within) */
.nl__btn{ flex:none; height:48px; padding:0 30px; border-radius:999px; }
/* 2026-09-25 자연어 검색: 칩 4개 · ≥1024 에서 한 줄(두 줄 금지 · 검사 항목 18) — 넘치면 줄바꿈 대신 잘려 검사가 잡는다.
   ≤1023 은 앞의 두 개만(아래 반응형 규칙) · ≤767 은 좁아서 두 개가 두 줄로 내려갈 수 있게 풀어 준다. */
.nl__chips{
  display:flex;
  flex-wrap:nowrap;
  overflow:hidden;
  justify-content:center;
  gap:10px;
  margin-top:14px;
}
.chip{
  white-space:nowrap;
  padding:6px 14px;
  border:1px solid rgba(255,255,255,.35);
  border-radius:999px;
  background:rgba(14,26,43,.7);
  font-family:inherit;
  font-size:13px;
  line-height:1.5;
  color:var(--ivory);
  cursor:pointer;
  transition:border-color .2s ease, color .2s ease;
}
.chip:hover{ border-color:var(--gold); color:var(--white); }

/* 탭 2 · 날짜로 찾기 — 흰 알약 한 줄(체크인 · 체크아웃 · 투숙객 · 검색 · 2026-11-17 호텔 칸을 지워 칸 3개) */
.sform{
  display:grid;
  /* 칸 비율은 영어 기준으로 맞춤(글이 더 길다): 날짜 · 투숙객 요약(성인 10명까지)이 안 잘리게(검사 항목 15) */
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.55fr) auto;
  align-items:center;
  max-width:860px;
  margin-inline:auto;
  padding:8px;
  border-radius:999px;
  background:var(--white);
  box-shadow:0 18px 50px rgba(0,0,0,.35);
  text-align:left;
}
.sform__field{
  position:relative;
  min-width:0;
  padding:3px 18px;
  border-left:1px solid var(--line-dark);
}
.sform__field:first-child{ padding-left:20px; border-left:0; }
.sform__label{
  display:block;
  font-size:11px;
  letter-spacing:.06em;
  line-height:1.5;
  color:var(--muted);            /* 흰 바탕 대비 5.05 */
}
.sform__input{
  display:block;
  width:100%;
  min-width:0;
  height:28px;
  padding:0;
  border:0;
  background:transparent;
  font-family:inherit;
  font-size:15px;
  font-weight:500;
  line-height:1.4;
  color:var(--ink);
}
select.sform__input,
.sform__guest{
  appearance:none;
  -webkit-appearance:none;
  padding-right:18px;
  background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="6"><path d="M1 1l4 4 4-4" fill="none" stroke="%236B6F76" stroke-width="1.4"/></svg>');
  background-repeat:no-repeat;
  background-position:right 2px center;
  cursor:pointer;
}
.sform__guest{
  overflow:hidden;
  text-align:left;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.sform__guest b{ font-weight:500; }
.sform__input:focus-visible{ outline-offset:2px; border-radius:6px; }
.sform__go{ padding-left:6px; }
.sform__btn{ height:52px; padding:0 34px; border-radius:999px; }

/* 인원 초과 안내(main.js 6.11 · 「검색」을 누를 때 성인 + 아동 > HOTEL.maxGuests 면 보임) — 알약 아래 가운데.
   첫 화면 사진 위에 놓이므로 반투명 남색 바탕 위 금색 글자(탭 · 칩과 같은 바탕). */
.sform__warn{
  width:fit-content;
  max-width:100%;
  margin:12px auto 0;
  padding:8px 16px;
  border-radius:12px;
  background:rgba(14,26,43,.85);
  font-size:13px;
  line-height:1.6;
  color:var(--gold-2);
  text-align:center;
}

/* 투숙객 펼침 상자 — 단추 아래 오른쪽 맞춤. 첫 화면(.hero)은 넘치는 것을 자르지 않으므로
   상자가 첫 화면 아래로 내려가도 잘리지 않는다(자르는 것은 .hero__media 만). */
.guestpop{
  position:absolute;
  top:calc(100% + 16px);
  right:0;
  z-index:5;
  width:min(280px, 100%);        /* 화면 폭 단위(vw)를 쓰지 않는다(항목 7) — 투숙객 칸 폭을 넘지 않게 */
  padding:10px 20px 18px;
  border-radius:14px;
  background:var(--white);
  box-shadow:0 18px 50px rgba(0,0,0,.35);
  color:var(--ink);
}
.guestpop.is-up{ top:auto; bottom:calc(100% + 16px); }   /* 아래 공간이 모자랄 때(main.js 6.9) */
.guestpop__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:10px 0;
  border-bottom:1px solid var(--line-dark);
  font-size:14px;
}
.guestpop__select{
  width:86px;
  height:38px;
  padding:0 28px 0 12px;
  border:1px solid var(--line-dark);
  border-radius:8px;
  appearance:none;
  -webkit-appearance:none;
  background:var(--white) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="6"><path d="M1 1l4 4 4-4" fill="none" stroke="%236B6F76" stroke-width="1.4"/></svg>') no-repeat right 11px center;
  font-family:inherit;
  font-size:14px;
  color:var(--ink);
  cursor:pointer;
}
.guestpop__select:focus{ border-color:var(--gold); }
.guestpop__done{ margin-top:16px; height:42px; border-radius:999px; }

/* 스크롤 뒤 상단 바의 「말로 찾기」 단추 — ≥1200 에서 상단 바가 남색일 때만 보인다(13장 반응형) */
.header__ask{
  display:none;
  align-items:center;
  gap:8px;
  height:34px;
  padding:0 16px 0 13px;
  border:1px solid rgba(255,255,255,.35);
  border-radius:999px;
  background:none;
  font-size:13px;
  letter-spacing:.02em;
  color:var(--ivory);
  cursor:pointer;
  transition:border-color .2s ease;
}
.header__ask:hover{ border-color:var(--gold); }
.header__ask-ico{
  position:relative;
  width:12px;
  height:12px;
  border:1.5px solid var(--gold);
  border-radius:50%;
}
.header__ask-ico::after{
  content:"";
  position:absolute;
  right:-4px;
  bottom:-2px;
  width:5px;
  height:1.5px;
  background:var(--gold);
  transform:rotate(45deg);
}

/* --------------------------------------------------------------------------
   12. 푸터 (§5.9)
   -------------------------------------------------------------------------- */
.footer{
  background:var(--navy);
  color:var(--ivory);
  padding-block:72px 36px;
}
.footer__in{
  display:grid;
  grid-template-columns:minmax(0,auto) minmax(0,1fr) minmax(0,auto);
  gap:40px;
  align-items:start;
  padding-bottom:36px;
  border-bottom:1px solid var(--line);
}
.footer__logo{ height:36px; width:auto; }
.footer__name{
  margin-top:16px;
  font-size:15px;
  letter-spacing:.04em;
  line-height:1.6;
  color:var(--ivory);
}
.footer__info{ padding-top:4px; font-style:normal; }   /* address 기본 이탤릭을 되돌림 */
.footer__addr,
.footer__tel{
  font-size:14px;
  line-height:1.9;
  color:rgba(246,242,234,.72);
}
.footer__sns{ display:flex; gap:22px; padding-top:6px; }
.footer__sns-item{
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(246,242,234,.72);
}

.footer__bottom{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:8px 32px;
  padding-top:26px;
}
.footer__copy,
.footer__disclaimer{
  font-size:12px;
  letter-spacing:.02em;
  line-height:1.7;
  color:rgba(246,242,234,.6);      /* navy 위 대비 6.3 */
}

/* ==========================================================================
   13. 반응형 — ≥1200 데스크톱 · 768~1199 태블릿 · ≤767 모바일
        상단 메뉴 줄은 ≤991 에서 햄버거로 접음 (전역 제약 6)
   ========================================================================== */

/* ---------- 태블릿 (≤1199) ---------- */
@media (max-width:1199px){
  :root{ --sec-pad:80px; --gap-lg:48px; --gap-md:40px; }

  .hero__title{ font-size:48px; }
  .hero__sub{ font-size:16px; }
  .sectitle{ font-size:32px; }

  /* 다이닝: 글 위 · 사진 아래 세로 배치 (§5.5) */
  .dining__grid{ grid-template-columns:minmax(0,1fr); gap:44px; }
  .dining__media{ max-width:460px; }

  .events__banner{ height:440px; }

  /* 예약 검색 한 줄(992~1199) — 줄이 좁아지므로 글자와 단추를 한 단계 줄인다(영어 투숙객 요약이 잘리지 않게) */
  .sform__input{ font-size:14px; }
  .sform__btn{ padding:0 26px; }
}

/* ---------- 예시 칩 (≤1023) — 네 개가 한 줄에 안 들어가는 폭이라 앞의 두 개만(검사 항목 18 · 휴대폰도 같음) ---------- */
@media (max-width:1023px){
  .nl__chips li:nth-child(n+3){ display:none; }
}

/* ---------- 좁은 화면 상단 바 (≤991) ---------- */
@media (max-width:991px){
  /* 상단 메뉴와 햄버거 · 전체 화면 패널은 없다(랜딩 페이지).
     한 줄 = 왼쪽 KOR|ENG|JPN · 가운데 로고 · 오른쪽 예약하기.
     .header__right 를 display:contents 로 풀어 그 안의 언어 단추 · 예약하기를 바 격자 칸에 직접 놓는다
     (요소를 복제하지 않는다 — 전역 제약 8). 탭 순서는 DOM 순서라 로고 → KOR|ENG|JPN → 예약하기다. */
  .header__right{ display:contents; }
  .lang{ grid-column:1; grid-row:1; justify-self:start; }
  .header__logo{ grid-column:2; grid-row:1; }
  .header__reserve{ grid-column:3; grid-row:1; justify-self:end; }

  .header__bar-in{ height:64px; gap:12px; }
  .header__logo img{ height:44px; }   /* 글자 12.0px · 768 ~ 991 은 양옆 자리가 넉넉함(768 에서 틈 120px 이상) */

  /* 날짜로 찾기: 한 줄은 992 까지 · 그 아래는 두 칸짜리 카드(체크인|체크아웃 · 투숙객 · 검색).
     날짜 칸이 좁아지면 달력 글자가 잘리기 때문이다. */
  .sform{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    grid-template-areas:"in out" "guest guest" "go go";
    max-width:560px;
    padding:6px;
    border-radius:16px;
  }
  .sform__field,
  .sform__field:first-child{ padding:9px 14px; border-left:0; border-bottom:1px solid var(--line-dark); }
  .sform__field--guest{ grid-area:guest; }
  .sform__field--in{ grid-area:in; border-right:1px solid var(--line-dark); }
  .sform__field--out{ grid-area:out; }
  .sform__go{ grid-area:go; padding:8px 0 0; }
  .sform__btn{ width:100%; height:48px; }

  .rooms__top{ grid-template-columns:minmax(0,1fr); gap:36px; }
  .loc__grid{ grid-template-columns:minmax(0,1fr); gap:36px; }
  .sechead{ flex-direction:column; align-items:flex-start; gap:20px; }
}

/* ---------- 모바일 (≤767) ---------- */
@media (max-width:767px){
  :root{ --gutter:16px; --sec-pad:64px; --gap-lg:36px; --gap-md:32px; }

  .hero{ padding:88px 0 104px; }   /* 모바일 상단 바 64 + 24 */
  .hero__title{ font-size:36px; }
  .hero__sub{ font-size:15px; }
  .sectitle{ font-size:28px; }

  /* 고침 3 — 휴대폰은 예약 단추를 짧은 글(예약 · Book · 予約)로 · 그만큼 로고를 키운다(아래 로고 셈).
     단추 폭은 세 언어 중 가장 넓은 「Book」(59.6px)에 맞춰 60px — 언어를 바꿀 때 단추 크기 · 자리가 그대로 */
  .header__reserve{ height:34px; min-width:60px; padding:0 14px; font-size:12px; }
  .header__reserve-full{ display:none; }
  .header__reserve-short{ display:inline; }
  /* 언어 단추 3개(KOR|ENG|JPN)가 390 에서 로고와 겹치지 않게(2026-11-17 실측: 그대로면 언어 묶음 133px · 왼쪽 칸 109px)
     글자 11px · 자간 .06em · 단추 사이 5px · 로고 28px · 칸 사이 8px */
  .header__bar-in{ gap:8px; }
  /* 로고는 화면 가운데 · 양옆(왼쪽 언어 묶음 · 오른쪽 예약 단추) 중 넓은 쪽과 틈 6px 이상 남는 가장 큰 크기(최대 44px = 글자 12px).
     로고 폭 = 높이 × 320/88 ≤ 바 폭 − 좌우 여백 32 − 2 × (넓은 쪽) − 2 × 6 → 높이 ≤ 0.275 × 바 폭 − 0.275 × (44 + 2 × 넓은 쪽).
     430 ~ 767: 넓은 쪽 = 언어 묶음 103.5px(KOR | ENG | JPN · 세 언어 같은 글꼴) → 높이 ≤ 0.275 × 바 폭 − 69.0px.
     바 폭(cqw · .header__bar)으로 재므로 스크롤바가 있는 창 · 없는 휴대폰 모두 그 폭에서 가장 크게 · 언어를 바꿔도 크기 그대로 ·
     container 단위를 모르는 브라우저는 28px. ≤429 는 아래 「고침 3 ㉠」 묶음. */
  .header__logo img{ height:28px; height:clamp(24px, calc(27.5cqw - 69.1px), 44px); }
  .lang{ gap:5px; }
  .lang__btn{ padding:4px 1px; font-size:11px; letter-spacing:.06em; }
  .lang__sep{ font-size:10px; }

  /* 카드는 1열 (객실 카드만 설계서 §5.4 대로 2열) */
  .pkg-grid{ grid-template-columns:minmax(0,1fr); gap:22px; margin-top:36px; }
  .room-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); gap:22px 18px; margin-top:44px; }
  .events__cards{ grid-template-columns:minmax(0,1fr); gap:32px; }
  .room-card__name{ font-size:18px; }
  .event-card__title{ font-size:22px; }

  .events__banner{ height:380px; }

  .dining__media{ max-width:none; }
  .dining__strip{ gap:8px; }

  /* C-3: 좁은 폭에서는 핀 옆에 라벨을 둘 자리가 없어 320px 에서 세 줄로 접혔다.
     라벨을 핀 **아래**로 내리면 지도 폭 전체를 쓸 수 있어 320px 에서도 한 줄이다.
     width:max-content 로 줄바꿈을 막고 max-width:100% 로 지도를 넘지 못하게 한다.
     마크(28px) 끝은 그대로 도로 교차점에 선다. */
  .loc__pin{
    right:auto;
    width:max-content;
    max-width:100%;
    flex-direction:column;
    align-items:center;
    gap:18px;                       /* 가로 도로(15px)를 피해 라벨을 놓는다 */
    transform:translate(-50%, -28px);
  }
  .loc__pin-label{ text-align:center; }

  /* 예약 검색 — 알약은 폭에 맞춰 늘고, 예시 칩은 두 개만 */
  .hsearch{ margin-top:28px; }
  .hsearch__tab{ padding:6px 14px; }
  #tabNl{ min-width:95px; }      /* 세 언어 중 가장 넓은 폭(일본어 94.x · 한국어 81 · 93) + 1px 여유 */
  #tabForm{ min-width:95px; }
  .hsearch__panel{ margin-top:12px; }
  .nl{ padding:5px 5px 5px 16px; }
  .nl__icon{ width:16px; height:16px; margin-right:10px; }
  .nl__input{ height:44px; font-size:15px; }
  .nl__btn{ height:44px; padding:0 18px; }
  /* 2026-09-28 칩 줄은 늘 한 줄(두 줄로 꺾이면 한/영 전환 때 높이가 바뀜) — 넘치면 옆으로 밀어 봄.
     가운데 정렬은 첫·끝 칩의 auto 여백으로(넘칠 때 왼쪽이 잘리지 않게) */
  .nl__chips{ flex-wrap:nowrap; overflow-x:auto; justify-content:flex-start; gap:8px; margin-top:12px; scrollbar-width:none; }
  .nl__chips::-webkit-scrollbar{ display:none; }
  .nl__chips li:first-child{ margin-left:auto; }
  .nl__chips li:nth-child(2){ margin-right:auto; }
  .chip{ padding:5px 11px; font-size:12px; white-space:nowrap; }
  .sform__field,
  .sform__field:first-child{ padding:7px 12px; }
  .sform__input{ font-size:14px; }

  .footer{ padding-block:56px 30px; }
  .footer__in{ grid-template-columns:minmax(0,1fr); gap:28px; }
  .footer__bottom{ flex-direction:column; gap:6px; }
}

/* 고침 3 ㉠ — 좁은 휴대폰(≤429): 언어 단추를 좁은 모양으로(세로줄 「|」 없음 · 단추 사이 4px · 자간 .02em · 예전엔 ≤359 에서만).
   언어 묶음 103.5 → 82.1px 이 되어 로고를 키운다: 넓은 쪽 = 언어 묶음 82.1px(예약 단추 60px).
   고침 5 — 390 의 글자가 기준 12px 와 딱 같던 것(위 한계 44px)에 여유를 둔다: 틈 5px · 위 한계 48px(바 높이 64 안)
   → 높이 ≤ 0.275 × (바 폭 − 32 − 2 × 82.1 − 2 × 5) = 0.275 × 바 폭 − 56.7px.
   실측 글자(스크롤바 있는 창): 429 · 414 13.1px · 390 12.6px · 375 11.6px · 360 10.6px(≤359 는 아래 두 글자 묶음). */
@media (max-width:429px){
  .lang{ gap:4px; }
  .lang__sep{ display:none; }
  .lang__btn{ letter-spacing:.02em; }
  .header__logo img{ height:28px; height:clamp(24px, calc(27.5cqw - 56.7px), 48px); }
}

/* 좁은 휴대폰(≤389 · 375 창에 스크롤바가 있으면 내용 360) — 영어 부제(hero.sub)가 두 줄이 되는 폭이다.
   ENG 로 바꾸면 제목 · 탭 · 검색칸이 13px 움직였다(검사 항목 25) → 세 언어 모두 부제 칸을 두 줄 높이(1.7 × 2 = 3.4em)로 잡고
   한 줄 글은 그 칸 가운데에 둔다. */
@media (max-width:389px){
  .hero__sub{ display:flex; align-items:center; justify-content:center; min-height:3.4em; }
}

/* 아주 좁은 폭(≤359) — 스크롤바가 보이는 창(320 → 내용 305)까지 언어 단추 · 로고 · 예약 단추가 겹치지 않게 예약 단추 글자 11px ·
   단추 폭은 가장 넓은 「Book」(49px)에 맞춰 50px(언어를 바꿀 때 그대로). 언어 단추 모양 · 로고 셈은 위 ≤429 묶음(넓은 쪽이 여전히 언어 묶음 82.1px).
   ⚠ 모바일(≤767) 규칙이 같은 속성을 쓰므로 이 묶음은 반드시 그 뒤에 둔다(뒤에 있는 규칙이 이긴다). */
@media (max-width:359px){
  .header__bar-in{ gap:8px; }
  .header__reserve{ min-width:50px; padding:0 10px; font-size:11px; }
  /* 고침 4 — 언어 단추를 두 글자(KO · EN · JA)로(화면 읽기는 aria-label KOR · ENG · JPN 그대로) · 그만큼 로고를 키운다.
     넓은 쪽 = 언어 묶음 58.2px(예약 단추 50px) → 높이 ≤ 0.275 × (바 폭 − 32 − 2 × 58.2 − 2 × 6) = 0.275 × 바 폭 − 44.1px.
     실측 글자(스크롤바 있는 창): 320 10.8px · 340 · 359 12.0px */
  .lang__full{ display:none; }
  .lang__short{ display:inline; }
  .header__logo img{ height:24px; height:clamp(24px, calc(27.5cqw - 44.2px), 44px); }
}

/* ---------- 넓은 화면(≥1200) — 스크롤 뒤 상단 바에 「말로 찾기」 ---------- */
@media (min-width:1200px){
  #siteHeader.is-solid .header__ask{ display:inline-flex; }
}

/* ---------- 낮은 화면(높이 ≤760) — 「아래로」 안내를 빼고 그 자리를 검색에 준다 ----------
   1366x768 노트북의 실제 표시 영역(약 625)·작은 휴대폰(667)에서 검색이 스크롤 없이 다 보이게(검사 항목 15). */
@media (max-height:760px){
  .hero{ padding-bottom:44px; }
  .hero__scrollwrap{ display:none; }
}

/* ---------- 움직임을 줄이도록 설정한 사용자 ---------- */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
  }
}

/* ==========================================================================
   2026-09-26 화면 전환 — 결과·예약·완료 화면일 때 search.js 가 body 에 is-subview 를 붙이고
   첫 화면·소개 구역을 감춘다(한 번에 한 화면 · 사용자 「구역 전환 = 화면 자체가 바뀌는 것」).
   그 화면이 페이지 맨 위에 오므로:
   - 상단 바는 스크롤과 상관없이 남색(아이보리 바탕 위에서 흰 글자가 사라지지 않게)
   - main 위 여백 = 고정 상단 바 높이(80 · ≤991 64) · 화면 안 위 여백은 48
   - ≥1200 의 「말로 찾기」 단추도 늘 보임(누르면 첫 화면 검색으로 — search.js)
   ========================================================================== */
body.is-subview #siteHeader{ background:rgba(14,26,43,.96); transition:none; }   /* 바로 남색 — 0.25초 바뀌는 동안 아이보리 위 흰 글자가 흐려짐(검사 23 이 390 에서 알파 0.88 로 잡음) */
body.is-subview main{ padding-top:80px; }
body.is-subview .results{ padding-top:48px; }
@media (max-width:991px){
  body.is-subview main{ padding-top:64px; }
}
@media (min-width:1200px){
  body.is-subview .header__ask{ display:inline-flex; }
}

/* ==========================================================================
   2026-09-25 자연어 검색 결과 (assets/js/search.js · 계획서 Task 3)
   - 검색 전엔 section#results 가 hidden — 첫 화면 검사(항목 15)와 무관.
   - 글자 대비 4.5 이상(항목 19 가 잼): 흰 카드 위 --ink/--muted, 아이보리 바탕 위 작은 글은
     --muted(4.52 로 아슬아슬)가 아니라 한 단계 진한 --res-sub(6.0)을 쓴다. 금색은 글자에 쓰지 않는다(흰 바탕 2.2).
   - 100vw 를 쓰지 않는다(항목 7). 휴대폰의 조건 편집기는 화면 아래 고정 상자(left/right 16px)로.
   ========================================================================== */
.results{ --res-sub:#585C63; padding-block:72px 88px; scroll-margin-top:110px; }
.results__q{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,440px);
  gap:10px 32px;
  align-items:end;
}
.results__q .label{ grid-column:1; color:var(--res-sub); }
.results__qtext{ grid-column:1; font-size:24px; font-weight:500; line-height:1.45; color:var(--ink); }   /* 세리프는 숫자가 옛 숫자꼴(작게 가라앉음)이라 본문 글꼴 */
.results__follow{ grid-column:2; grid-row:1 / span 3; display:flex; gap:8px; }
.results__home{ display:inline-block; margin-bottom:14px; font-size:14px; color:var(--navy); text-decoration:underline; text-underline-offset:3px; }
.results__chain{ grid-column:1; font-size:14px; color:var(--res-sub); }
.results__follow input{
  flex:1 1 auto; min-width:0; height:44px; padding:0 18px;
  border:1px solid var(--line-dark); border-radius:999px; background:var(--white);
  font-family:inherit; font-size:14px; color:var(--ink);
}
.results__follow input::placeholder{ color:var(--muted); }
.results__follow .btn{ border-radius:999px; }
.btn:disabled{ cursor:progress; }

.results__und{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; margin-top:26px; }
.results__undlab{ font-size:13px; color:var(--res-sub); }
.und{ display:flex; flex-wrap:wrap; gap:8px; }
.und li{ position:relative; }
.und-chip{
  display:inline-flex; align-items:center; gap:6px;
  padding:6px 14px; border:1px solid var(--gold); border-radius:999px;
  background:var(--white); font-family:inherit; font-size:14px; line-height:1.5; color:var(--ink); cursor:pointer;
}
.und-chip:hover{ background:var(--ivory); }
.und-chip.is-assumed{ border-style:dashed; }
.und-chip.is-static{ border-color:var(--line-dark); cursor:default; }
.und-chip__tag{ padding:0 6px; border-radius:4px; background:var(--ivory); font-size:11px; color:var(--res-sub); }
/* 결과에 쓰이지 않은 조건(단답의 총액 칩 · search.js offChips) — 칩은 남기되(눌러 고치거나 뺄 수 있게) 값에 줄을 긋고 「적용 안 됨」 꼬리표 */
.und-chip.is-off{ border-style:dashed; border-color:var(--line-dark); }
.und-chip__off{ text-decoration:line-through; text-decoration-thickness:1px; }
.und-edit{
  position:absolute; top:calc(100% + 8px); left:0; z-index:30;
  display:grid; gap:12px; width:300px; padding:16px;
  border:1px solid var(--line-dark); border-radius:12px; background:var(--white);
  box-shadow:0 18px 40px rgba(14,26,43,.18);
}
.und-edit.is-right{ left:auto; right:0; }
.ue-row{ display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:14px; color:var(--ink); }
.ue-lab{ color:var(--muted); font-size:13px; }
.ue-row input{ height:36px; padding:0 10px; border:1px solid var(--line-dark); border-radius:6px; font-family:inherit; font-size:14px; color:var(--ink); background:var(--white); }
.ue-row input[type="number"]{ width:140px; }
.ue-step{ display:inline-flex; align-items:center; gap:10px; }
.ue-step button{ width:32px; height:32px; border:1px solid var(--line-dark); border-radius:50%; background:var(--white); font-size:16px; color:var(--navy); cursor:pointer; }
.ue-val{ min-width:18px; text-align:center; font-weight:700; }
.ue-rooms{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:6px 10px; font-size:13px; color:var(--ink); }
.ue-note{ font-size:14px; color:var(--ink); }
.ue-btns{ display:flex; justify-content:flex-end; gap:8px; }
.ue-btns .btn{ height:36px; padding:0 18px; }
.ue-cancel{ height:36px; padding:0 14px; border:1px solid var(--line-dark); border-radius:4px; background:var(--white); font-family:inherit; font-size:14px; color:var(--ink); cursor:pointer; }

.results__meta{ margin-top:26px; font-size:15px; color:var(--ink); }
.results__meta b{ font-weight:700; }
.results__body{ margin-top:14px; }
.results__loading{ padding:28px 0; font-size:15px; color:var(--res-sub); }

/* ── 2026-09-26 찾는 중 화면(search.js 「찾는 중 화면」) — 예전 「찾는 중입니다…」 한 줄은 오류처럼 보였다(사용자).
   참고 = KAYAK·Expedia·TravelPerk(얇은 선 + 결과 모양 회색 틀) · AirOps·Elicit(지금 단계). 10초 안쪽이라 퍼센트 막대는 안 씀(NN/g).
   - 상단 바 바로 아래 금색 선이 되풀이해 흐르고, 답이 오면 끝까지 찬 뒤 사라진다(.is-done).
   - 「이렇게 이해했어요」 옆 칩 모양 · 객실 카드 모양 회색 틀 위로 빛이 흐른다. 「요금은 … 수집」 줄은 결과가 온 뒤에만.
   - 휴대폰은 지금 단계 한 줄만 · 카드 틀 2장. 「움직임 줄이기」는 흐름·회전을 멈춘다. */
.results.is-loading .results__asof{ display:none; }
.results__loading.ld{ padding:0; }
.ld-sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.ld-bar{ position:fixed; left:0; right:0; top:80px; z-index:99; height:3px; overflow:hidden; background:rgba(201,169,110,.22);
  opacity:0; visibility:hidden; transition:opacity .3s ease .25s, visibility 0s .55s; pointer-events:none; }
.results.is-loading .ld-bar{ opacity:1; visibility:visible; transition:none; }
.ld-bar i{ position:absolute; top:0; bottom:0; left:-40%; width:40%; background:var(--gold); animation:ldslide 1.3s ease-in-out infinite; }
.ld-bar.is-done i{ left:0; width:100%; animation:none; transition:width .25s ease; }
@keyframes ldslide{ 0%{ left:-40%; } 100%{ left:100%; } }

.sk{ display:block; border-radius:6px; background:linear-gradient(90deg, #ECE6DA 0%, #F7F3EC 45%, #ECE6DA 90%); background-size:220% 100%;
  animation:ldshine 1.4s ease-in-out infinite; }
@keyframes ldshine{ 0%{ background-position:100% 0; } 100%{ background-position:-100% 0; } }
.ld-chip{ width:120px; height:34px; border-radius:999px; list-style:none; }
.ld-chip--s{ width:72px; }
.ld-chip--l{ width:150px; }

.ld-stepwrap{ margin-top:26px; }
.ld-steps{ display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; margin:0; padding:14px 18px; list-style:none;
  border:1px solid var(--line-dark); border-radius:12px; background:var(--white); font-size:14px; color:var(--res-sub); }
.ld-steps li{ display:flex; align-items:center; gap:8px; }
.ld-steps li + li::before{ content:""; width:22px; height:1px; margin-right:4px; background:rgba(14,26,43,.18); }
.ld-ico{ flex:none; display:inline-grid; place-items:center; }
.ld-steps .is-ok{ color:var(--ink); }
.ld-steps .is-ok .ld-ico{ width:18px; height:18px; border-radius:50%; background:var(--gold); font-size:11px; font-weight:700; color:var(--navy); }
.ld-steps .is-on{ font-weight:700; color:var(--navy); }
.ld-steps .is-on .ld-ico{ width:16px; height:16px; border-radius:50%; border:2px solid rgba(201,169,110,.35); border-top-color:var(--gold); animation:ldspin .8s linear infinite; }
.ld-steps .is-wait .ld-ico{ width:9px; height:9px; margin:0 4px; border-radius:50%; background:rgba(14,26,43,.2); }
@keyframes ldspin{ to{ transform:rotate(360deg); } }

.ld-cards{ margin-top:22px; }
.ld-card__img{ aspect-ratio:3 / 2; border-radius:0; }
.ld-card .rcard__body{ padding:18px; }
.ld-line{ height:14px; margin-top:10px; }
.ld-line--title{ width:62%; height:18px; margin-top:0; }
.ld-card .rcard__foot{ align-items:center; }
.ld-line--price{ flex:1 1 auto; max-width:60%; height:22px; margin-top:0; }
.ld-btn{ width:66px; height:40px; }

@media (max-width:991px){
  .ld-bar{ top:64px; }
}
@media (max-width:767px){
  .ld-steps{ padding:12px 14px; font-size:13px; }
  .ld-steps li:not(.is-on){ display:none; }
  .ld-steps li + li::before{ display:none; }
  .ld-cards .ld-card:nth-child(n+3){ display:none; }
}
@media (prefers-reduced-motion: reduce){
  .sk, .ld-steps .is-on .ld-ico{ animation:none; }
  .ld-bar i{ left:0; width:60%; animation:none; }
}

/* 모드 A · 객실 카드 — Expedia 「Choose your room」 구성(2026-09-25 모빈 참고 147167ca):
   위 거르기 칩 + 「N개 중 M개」 · 카드 = 사진 · 이름 · 아이콘 특징 줄 · 아래쪽 가격(할인가 + 취소선 정가)과 오른쪽 선택 단추 */
.rfilters{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px 16px; margin-bottom:16px; }
.rfilters__chips{ display:flex; flex-wrap:wrap; gap:8px; }
.rfilter{ padding:6px 14px; border:1px solid var(--line-dark); border-radius:999px; background:var(--white); font-family:inherit; font-size:13px; line-height:1.5; color:var(--ink); cursor:pointer; }
.rfilter:hover{ border-color:var(--navy); }
.rfilter[aria-pressed="true"]{ border-color:var(--navy); background:var(--navy); color:var(--white); }
.rfilters__count{ font-size:13px; color:var(--res-sub); }
.rcards{ display:grid; grid-template-columns:repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap:20px; }   /* .dcal__months 와 같은 넘침 막기 */
.rcard{ position:relative; display:flex; flex-direction:column; overflow:hidden; border:1px solid var(--line-dark); border-radius:12px; background:var(--white); }
.rcard.is-top{ border-color:var(--navy); }
.rcard__ribbon{ padding:6px 16px; background:var(--navy); font-size:12px; font-weight:700; letter-spacing:.04em; color:var(--white); }
.rcard__media{ aspect-ratio:3 / 2; background:var(--navy); }
.rcard__media img{ width:100%; height:100%; object-fit:cover; }
.rcard__media.is-noimg{ background:linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); }
.rcard__body{ flex:1 1 auto; padding:14px 18px 6px; }
.rcard__name{ font-size:17px; font-weight:700; line-height:1.4; color:var(--ink); }
.rcard__en{ font-family:var(--serif); font-size:15px; font-weight:400; color:var(--muted); }
.rcard__feats{ display:grid; gap:5px; margin-top:10px; font-size:13px; line-height:1.5; color:var(--ink); }
.rcard__feats li{ display:flex; align-items:center; gap:8px; }
.ico{ flex:none; width:16px; height:16px; color:var(--navy); }
/* 베르누이 — 추가 인원 요금 줄(계획서 §1.2 결정 6 · res.extra) · 펜트하우스 취소 불가 줄(res.pent.note).
   조식 줄 · 「조식 포함으로 예약」 단추 · 테라스 줄은 없앴다(결정 7). 두 줄 넘게 감기면 아이콘을 첫 줄에 맞춘다.
   글자색 대비(흰 바탕): --navy 17.5 · #9A3412 7.3 */
.rcard__feats .rcard__extra, .rcard__feats .rcard__note{ align-items:flex-start; }
.rcard__extra .ico, .rcard__note .ico{ margin-top:2px; }
.rcard__extra{ color:var(--navy); }
.rcard__note, .rcard__note .ico{ color:#9A3412; }
/* 값이 길어(7자리 · 일본어 「ウォン」) 「예약하기」와 한 줄에 안 들어가면 단추가 아래 줄 오른쪽으로 내려간다(flex-wrap · margin-left:auto) */
.rcard__foot{ display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:12px; margin-top:10px; padding:12px 18px 16px; border-top:1px solid var(--line-dark); }
.rcard__save{ display:inline-block; margin-bottom:4px; padding:1px 7px; border-radius:4px; background:#E4F2EA; font-size:12px; font-weight:700; color:#1C5A38; }
.rcard__line{ line-height:1.3; }
.rcard__total{ font-size:21px; font-weight:700; color:var(--navy); }
.rcard__line s{ font-size:13px; color:var(--muted); }
.rcard__unit{ margin-top:2px; font-size:12px; color:var(--muted); }
.rcard__foot .res-select{ flex:none; height:40px; margin-left:auto; padding:0 20px; }   /* 2026-09-26 카드 아래 「예약하기」만(조식 글자 단추에 안 걸리게) */
/* 금액 한 덩어리(search.js wonBig · bindMoney) — 「346,000ウォ / ン」처럼 숫자와 단위 사이 · 단위 가운데에서 꺾이지 않게.
   큰 금액의 원 · ウォン 글자는 숫자보다 작게(7자리 + ウォン 도 카드 값 칸에 들어가게) */
.money{ white-space:nowrap; }
.money__u{ margin-left:1px; font-size:.72em; font-weight:500; }
/* 값 칸은 합계 폭까지 줄어들 수 있게(취소선 정상가 · 1박 줄은 칸 안에서 감김) — 합계 자체가 안 들어갈 때만 단추가 아래 줄로 */
.rcard__price{ flex:1 1 0; min-width:min-content; }
.res-unavail{ margin-top:18px; font-size:13px; color:var(--res-sub); }
.res-unavail b{ margin-right:6px; color:var(--ink); }

/* 모드 B · 날짜 찾기 = 가격 달력(Tripadvisor·KAYAK 식) + 고른 날짜의 객실 */
.dbest{ padding:18px 22px; border:1px solid var(--navy); border-radius:12px; background:var(--white); }
.dbest__lab{ font-size:13px; color:var(--muted); }
.dbest__main{ display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 14px; margin-top:4px; }
.dbest__when{ font-size:19px; color:var(--ink); }
.dbest__v{ font-size:21px; color:var(--navy); }
.dbest__rooms{ font-size:14px; color:var(--muted); }
.dbest__same{ margin-top:4px; font-size:13px; color:var(--muted); }
.dcal{ margin-top:16px; padding:18px 22px; border-radius:12px; background:var(--white); }
.dcal__months{ display:grid; grid-template-columns:repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap:18px 28px; }   /* min(…, 100%) — 320 폭에서 달력 상자(약 268px)보다 300px 칸이 넓어 6px 넘치던 것 */
.dcal__mtitle{ margin-bottom:8px; font-size:15px; font-weight:700; color:var(--ink); text-align:center; }
.dcal__grid{ display:grid; grid-template-columns:repeat(7, minmax(0, 1fr)); gap:4px; }
.dcal__wd{ padding:2px 0 4px; font-size:12px; color:var(--muted); text-align:center; }
.dcal__day{ display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:50px; padding:4px 0; border:1px solid transparent; border-radius:8px; font-family:inherit; line-height:1.25; }
button.dcal__day{ cursor:pointer; }
.dcal__d{ font-size:13px; font-weight:700; color:var(--ink); }
.dcal__p{ font-size:11px; color:var(--ink); }
.dcal__day.is-cheap{ background:#D8F0E1; }
.dcal__day.is-mid{ background:#FBEBC4; }
.dcal__day.is-high{ background:#F9DADA; }
.dcal__day.is-none .dcal__d, .dcal__day.is-none .dcal__p{ color:var(--muted); }
.dcal__day.is-out .dcal__d{ font-weight:400; color:#A3A6AB; }
button.dcal__day:hover{ border-color:var(--navy); }
.dcal__day.is-sel{ border-color:var(--navy); box-shadow:inset 0 0 0 1px var(--navy); }   /* 2px 고리 — 테두리를 2px 로 두껍게 하면 칸 안 폭이 2px 줄어 320 폭에서 「₩17.3万」이 칸을 넘었다 */
.dcal__legend{ display:flex; flex-wrap:wrap; gap:6px 16px; margin-top:14px; font-size:12px; color:var(--ink); }
.dcal__lg{ display:inline-flex; align-items:center; gap:6px; }
.dcal__lg i{ display:inline-block; width:14px; height:14px; border-radius:4px; }
.dcal__lg.is-cheap i{ background:#D8F0E1; }
.dcal__lg.is-mid i{ background:#FBEBC4; }
.dcal__lg.is-high i{ background:#F9DADA; }
.dcal__lg.is-none i{ border:1px solid var(--line-dark); }
.dcal__note{ margin-top:8px; font-size:12px; color:var(--muted); }
.dpick{ margin-top:16px; }
.dpick__title{ font-size:15px; font-weight:700; color:var(--ink); }
.dpick__list{ display:grid; gap:10px; margin-top:10px; }
.dpick__row{ display:grid; grid-template-columns:120px minmax(0,1fr) auto auto; align-items:center; gap:16px; padding:10px 16px 10px 10px; border:1px solid var(--line-dark); border-radius:12px; background:var(--white); }
.dpick__media{ aspect-ratio:3 / 2; overflow:hidden; border-radius:8px; background:var(--navy); }
.dpick__media img{ width:100%; height:100%; object-fit:cover; }
.dpick__room b{ display:block; font-size:16px; color:var(--ink); }
.dpick__room > span{ display:block; font-size:13px; color:var(--muted); }   /* 바로 아래 줄만(> · 안에 든 금액 .money 까지 블록이 되어 줄이 갈라지던 것) */
.dpick__room .dpick__extra{ margin-top:2px; font-size:12px; color:var(--navy); }   /* 추가 인원 요금 줄(카드의 .rcard__extra 와 같은 뜻) */
.dpick__room .dpick__note{ margin-top:2px; font-size:12px; color:#9A3412; }      /* 펜트하우스 취소 불가 줄 */
.dpick__price{ text-align:right; }
.dpick__price b{ display:block; font-size:19px; color:var(--navy); }
.dpick__price > span{ display:block; font-size:12px; color:var(--muted); }   /* 1박 값 줄만(> · 큰 금액의 .money · .money__u 는 제외) */
.dpick .res-select{ height:40px; }
.apick{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px 16px; margin-top:14px; padding:12px 16px; border:1px solid var(--line-dark); border-radius:12px; }
.apick__txt{ font-size:15px; color:var(--ink); }
.apick .btn{ height:40px; }
@media (min-width:992px){
  .dsplit.is-one{ display:grid; grid-template-columns:minmax(0, 470px) minmax(0, 1fr); gap:20px; align-items:start; }
  .dsplit.is-one .dpick, .dsplit.is-one .apick{ margin-top:16px; }
  .dsplit.is-one .apick{ flex-direction:column; align-items:flex-start; }
  .dsplit.is-one .dpick__row{ grid-template-columns:96px minmax(0,1fr) auto; }
  .dsplit.is-one .dpick__row .res-select{ grid-column:2 / -1; justify-self:end; }
}

/* 모드 C · 단답 + 근거 표 */
.ans{ padding:24px 26px; border-radius:10px; background:var(--white); }
.ans__lab{ font-size:13px; color:var(--muted); }
.ans-big{ margin:6px 0 18px; font-size:28px; font-weight:500; line-height:1.4; color:var(--navy); }
.ans-big b{ font-weight:600; }
.ans-big__room{ font-size:15px; font-weight:400; color:var(--muted); }
.ans__table{ width:100%; border-collapse:collapse; font-size:14px; color:var(--ink); }
.ans__table th, .ans__table td{ padding:8px 10px; border-bottom:1px solid var(--line-dark); text-align:left; font-weight:400; }
.ans__table thead th{ font-size:12px; color:var(--muted); }
.ans__table tr.is-best th, .ans__table tr.is-best td{ font-weight:700; background:var(--ivory); }
.ans__room{ font-size:12px; color:var(--muted); }
.ans__more{ margin-top:8px; font-size:12px; color:var(--muted); }
/* 2026-10-07 평균 단답의 전체 평균 한 줄 · 근거/상위 N개 표 제목 · 날짜 찾기 「가장 저렴한 N개」 */
.ans__sub{ margin:-10px 0 16px; font-size:14px; color:var(--muted); }
.ans__cap{ margin:0 0 6px; font-size:13px; font-weight:700; color:var(--ink); }
.dtop{ margin-top:16px; padding:18px 22px; border-radius:12px; background:var(--white); }
.dtop .ans__table td:last-child{ text-align:right; }
.dtop__go, .ans-part__go{ padding:5px 14px; border:1px solid var(--gold); border-radius:999px; background:var(--white); font-family:inherit; font-size:13px; color:var(--ink); cursor:pointer; white-space:nowrap; }
.dtop__go:hover, .ans-part__go:hover{ background:var(--ivory); }
.ans .ans__table td:last-child .ans-part__go{ float:right; }
.ans-part__lab{ display:none; }

/* 모드 D · 안내 · 0건 · 거절 */
.info, .res-empty, .refuse{ padding:22px 26px; border-radius:10px; background:var(--white); }
.info p, .res-empty p{ font-size:15px; line-height:1.8; color:var(--ink); }
.info p + p, .res-empty p + p{ margin-top:8px; }
.info--also{ margin-top:14px; }   /* 결과 아래 「함께 물으신 ○○ 안내」(2026-10-07) */
.info--also .ans__cap{ margin-bottom:8px; }
/* 엔화 금액 안내(res.note.yen · 계획서 §1.2 결정 14) — 결과 맨 위 한 줄 */
.res-note{ margin-bottom:14px; padding:10px 14px; border-left:3px solid var(--gold); border-radius:0 8px 8px 0; background:var(--white); font-size:14px; line-height:1.6; color:var(--ink); }
.refuse__title{ font-size:18px; font-weight:500; color:var(--ink); }
.refuse__why, .refuse__alt{ margin-top:4px; font-size:14px; color:var(--muted); }
.refuse__try{ margin-top:16px; font-size:13px; color:var(--muted); }
.exchips{ display:flex; flex-wrap:wrap; gap:8px; margin-top:8px; }
.exchip{ padding:6px 14px; border:1px solid var(--line-dark); border-radius:999px; background:var(--ivory); font-family:inherit; font-size:13px; line-height:1.5; color:var(--ink); cursor:pointer; }
.exchip:hover{ border-color:var(--gold); }

/* 대안 · 기준 안내 */
.results__sug{ margin-top:18px; }
.results__suglab{ font-size:13px; color:var(--res-sub); }
.sugs{ display:flex; flex-wrap:wrap; gap:8px; margin-top:8px; }
.sug{ padding:7px 16px; border:1px solid var(--gold); border-radius:999px; background:var(--white); font-family:inherit; font-size:14px; color:var(--ink); cursor:pointer; }
.sug:hover{ background:var(--ivory); }
.sug-note{ margin-top:8px; font-size:13px; color:var(--res-sub); }
.results__asof{ margin-top:28px; font-size:12px; color:var(--res-sub); }

@media (max-width:991px){
  .results{ scroll-margin-top:64px; }
  .results__q{ grid-template-columns:minmax(0,1fr); }
  .results__follow{ grid-column:1; grid-row:auto; }
}
@media (max-width:767px){
  .results{ padding-block:48px 64px; }
  .results__qtext{ font-size:20px; }
  .und-edit, .und-edit.is-right{ position:fixed; top:auto; left:16px; right:16px; bottom:16px; width:auto; }
  .dcal{ padding:14px 10px; }
  .dcal__day{ min-height:44px; }
  .dcal__p{ font-size:10px; }
  /* 휴대폰 — 첫 줄 = 사진 · 객실(이름 · 특징 · 추가 요금 · 펜트하우스 안내가 남은 폭 전부), 둘째 줄 = 값 · 예약하기.
     값을 객실 옆에 두면 이름 칸이 110px 안팎이라 일본어 이름이 낱말 가운데서 꺾였다(「デラックスツ / イン」). */
  .dpick__row{ grid-template-columns:84px minmax(0,1fr) auto; gap:10px 12px; padding:10px; }
  .dpick__room{ grid-column:2 / -1; }
  .dpick__price{ grid-column:1 / 3; text-align:left; }
  .dpick__row .res-select{ grid-column:3; }
  .dbest{ padding:14px 16px; }
  .dbest__when{ font-size:17px; }
  .ans{ padding:20px 18px; }
  .dtop{ padding:14px 12px; }
  /* 평일·주말 견주기 표 — 휴대폰은 줄마다 카드처럼(칸이 좁아 글자가 한 자씩 끊기던 것 · 2026-10-07) */
  .ans-part thead{ display:none; }
  .ans-part tr{ display:grid; grid-template-columns:minmax(0,1fr) auto; gap:6px 12px; padding:12px 10px; border-bottom:1px solid var(--line-dark); }
  .ans-part th, .ans-part td, .ans-part tr.is-best th, .ans-part tr.is-best td{ padding:0; border:0; background:transparent; }
  .ans-part tr.is-best{ background:var(--ivory); border-radius:8px; }
  .ans-part tr > th{ align-self:center; }
  .ans-part tr > td:nth-child(2){ grid-column:2; grid-row:1; text-align:right; }
  .ans-part tr > td:nth-child(3), .ans-part tr > td:nth-child(4){ grid-column:1 / -1; }
  .ans-part__lab{ display:block; font-size:12px; font-weight:400; color:var(--muted); }
  .ans .ans-part td:last-child .ans-part__go{ float:none; }
  .dtop .ans__table th, .dtop .ans__table td{ padding:8px 6px; font-size:13px; }
  .ans-big{ font-size:24px; }
  .info, .res-empty, .refuse{ padding:18px; }
}

/* 아주 좁은 휴대폰(≤359) — 달력 칸이 35px 안팎이라 「₩1,423k」 · 「₩121万」 같은 값이 칸을 넘었다 → 상자 옆 여백 · 칸 사이를 줄여 칸 약 38px */
@media (max-width:359px){
  .dcal{ padding:12px 4px; }
  .dcal__grid{ gap:2px; }
}

/* 찾는 중·검색 중에 막힌 금색 단추(결과의 「이어서 물어보기」 검색 등) — 예전 예약 정보 블록에 있던 것을 남김 */
.btn--gold:disabled{ background:#E6DCC6; color:#4E4B45; cursor:not-allowed; }
/* 2026-09-26 예약 정보 입력(데모)·완료 안내 화면을 없앰 — 「예약하기」가 윙스부킹 옵션 선택(Step 2)을 새 창으로 연다(search.js). */
