/* Permanent list + map/detail browser. Shared component sizes follow the approved HTML concept. */
/* The hotel list is permanent; only the right pane switches. */
.hotel-browser-switch{display:flex;align-items:center;gap:2px;margin:8px 24px 8px 6px;padding:3px;border:1px solid var(--rule);border-radius:9px;background:var(--paper);flex:none}
.hotel-browser-switch button{border:0;border-radius:6px;background:none;color:var(--muted);padding:7px 12px;white-space:nowrap;font:inherit;font-size:13px;font-weight:700}
.hotel-browser-switch button[aria-pressed="true"]{background:var(--ink);color:var(--card)}
.hotel-browser-switch button:hover{background:var(--signal-soft);color:var(--ink)}
.hotel-browser-switch button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
#catalogTools .chains-hint,#panelToggle{display:none!important}
#app:not([data-view="map"]) .hotel-browser-switch{display:none}
@media(min-width:901px){#app[data-view="map"]>#stage{display:grid!important;grid-template-columns:var(--hotel-list-width) minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr);position:relative;min-width:0;min-height:0;overflow:hidden}}
#stage[data-hotel-pane]>#panel{display:grid!important;grid-column:1/-1;grid-row:1;grid-template-columns:var(--hotel-list-width) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);width:100%;height:100%;padding:0;border:0;min-height:0;overflow:hidden;position:relative;z-index:0;background:var(--card)}
#stage[data-hotel-pane]>#panel>.p-head{grid-column:1;grid-row:1;min-width:0;width:100%;padding:18px 16px 14px}
#stage[data-hotel-pane]>#panel>.p-head .p-title h1,#stage[data-hotel-pane]>#panel>.p-head .p-title h2{font-size:26px}
#stage[data-hotel-pane]>#panel>.p-head .total .num{font-size:36px}
.hb-list-body{grid-column:1;grid-row:2;min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;padding-bottom:24px;border-right:1px solid var(--rule);background:var(--card)}
.hb-list-body .group{padding:0 0 12px}
.hb-list-body .group-h{padding:12px 16px 10px}
.hb-list-body .group-h::before{display:none}
.hb-list-body .hotels{display:block;margin:0;padding:0}
.hb-list-body .hotel{min-width:0}
.hb-list-body .hotel>button{padding:12px 16px;min-height:58px}
.hb-list-body .hotel>button::before{display:none}
.hb-list-body .hotel .h-top{display:flex;flex-direction:row;align-items:flex-start;gap:4px 8px}
.hb-list-body .hotel .h-top .name{flex:1 1 auto;min-width:0}
.hb-list-body .hotel .name{font-size:14px;line-height:1.5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.hb-list-body .hotel .h-badges{gap:4px;flex-wrap:wrap;justify-content:flex-end;margin:1px 0 0;max-width:45%}
.hb-list-body .h-badge{font-size:11px;height:20px;padding:0 6px;font-weight:500;background:var(--card);color:var(--muted);border:1px solid var(--rule)}
.hb-list-body .h-badge.warn{color:var(--warn-ink);border-color:var(--brass-soft)}
.hb-list-body .show-more{width:calc(100% - 32px);margin:12px 16px 6px;font-size:12px}
.hb-list-body>.fine{padding:18px 16px;font-size:11px}
.hb-list-body .hotel.on>button{background:var(--signal-soft)!important}
.hb-chain-index{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin-top:14px}
.hb-chain-index button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;min-height:30px;padding:5px 3px;border:1px solid var(--rule);border-radius:5px;background:var(--card);font:inherit;font-size:12px;color:var(--ink)}
.hb-chain-index .bi{display:inline-flex;width:20px;height:20px;flex:none}
.hb-chain-index .bi img{display:block;width:100%;height:100%;max-width:none;object-fit:contain}
.hb-chain-index img{height:12px;width:auto;max-width:72px}
.hb-chain-index img.logo-accor{height:18px}
.hb-chain-index .num{font-size:14px;font-weight:700}
#stage[data-hotel-pane]>#map{grid-column:2;grid-row:1;position:relative;width:100%;height:100%;min-width:0;min-height:0;z-index:2;border-left:1px solid var(--rule)}
#stage[data-hotel-pane="map"]>#map{display:block!important;visibility:visible;opacity:1;pointer-events:auto}
#stage[data-hotel-pane="hotel"]>#map{display:block!important;visibility:hidden;opacity:0;pointer-events:none}
/* MapLibre explicitly makes its own layers visible; hide the whole subtree. */
#stage[data-hotel-pane="hotel"]>#map *{visibility:hidden!important;pointer-events:none!important}
.hb-detail{grid-column:2;grid-row:1/3;min-width:0;min-height:0;height:100%;overflow:hidden;overscroll-behavior:contain;background:var(--card);border-left:1px solid var(--rule);color:var(--ink);container-type:inline-size}
#stage[data-hotel-pane="map"] .hb-detail{display:none}
#stage[data-hotel-pane="hotel"] .hb-detail{display:flex;flex-direction:column}
.hb-detail-heading{display:flex;flex:none;align-items:center;justify-content:space-between;gap:16px;padding:10px 16px;border-bottom:1px solid var(--rule);position:sticky;top:0;background:var(--card);z-index:5}
.hb-detail-heading h2{margin:0;font-size:14px;font-weight:700}
[data-hotel-back]{border:1px solid var(--rule);border-radius:6px;padding:5px 10px;background:var(--card);font:inherit;font-size:12px;color:var(--muted)}
.hb-detail-list{list-style:none;padding:0;margin:0;flex:1;min-height:0;overflow:auto}
.hb-detail-list:empty{display:none}
.hb-detail .hotel.on{border:0;background:var(--card)}
.hb-detail .hb-hotel-title{flex:none;padding:12px 16px;background:var(--card);border-bottom:1px solid var(--rule-2);text-align:left}
.hb-detail .hb-hotel-title::before{display:none}
.hb-detail .hotel.on .name{font-size:19px!important;line-height:1.5;font-weight:700}
.hb-detail .hotel .h-top{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px 16px}
.hb-detail .hotel .h-top .name{flex:1 1 260px}
.hb-detail .more{padding:0;background:var(--card);margin:0}
.hb-detail-column{min-width:0;padding:0 14px}
.hb-detail-column:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}
.hb-hotel-section{padding:12px 0;border-bottom:1px solid var(--rule)}
.hb-hotel-section:last-of-type{border-bottom:0}
.hb-hotel-section>h3{display:flex;align-items:center;gap:8px;margin:0 0 10px;font-size:15px;font-weight:700;line-height:1.4;color:var(--ink)}
.hb-hotel-section>h3 .num{font-size:13px;color:var(--muted)}
.hb-detail .tab-body{max-width:none;min-width:0;overflow-wrap:anywhere}
.hb-detail-column .hi-blk{padding:8px 0}
.hb-detail-column .hi-addr{margin-bottom:8px}
.hb-detail-column .links{gap:6px}
.hb-detail-column .links a{min-height:28px;padding:4px 8px;border-width:1px;font-size:12px}
.hb-detail-column .offers{display:block}
.hb-detail-column .offer{padding:8px 0;border:0;border-bottom:1px solid var(--rule-2);border-radius:0;background:none}
.hb-detail-column .offer-preview h3{font-size:14px;margin-top:6px}
.hb-detail-column .offer-preview .offer-sum{font-size:12px;line-height:1.5;margin-top:4px}
.hb-detail-column .offer-foot{padding-top:6px}
.hb-detail-column .offer-when{padding-top:6px;font-size:12px}
.hb-detail-column .offer-meta{font-size:12px}
.hb-detail-column .tab-body>section>h3{font-size:13px;margin:0 0 8px;color:var(--muted)}
.hb-detail-column .rv-list>li{padding:7px 0}
.hb-detail-column .rv-t{font-size:13px}
.hb-detail .more>.item-actions{flex:none;justify-content:flex-start;flex-wrap:wrap;gap:8px 16px;margin:0;padding:8px 14px;border-top:1px solid var(--rule);font-size:12px}
.hb-chain-promotions{flex:none;border-top:1px solid var(--rule);background:var(--paper);color:var(--muted);font-size:13px}
.hb-chain-promotions>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:36px;padding:7px 14px;list-style:none;cursor:pointer}
.hb-chain-promotions>summary::-webkit-details-marker{display:none}
.hb-chain-promotions>summary::after{content:'펼치기';font-size:12px;white-space:nowrap}
.hb-chain-promotions[open]>summary::after{content:'접기'}
html[lang="en"] .hb-chain-promotions>summary::after{content:'Show'}
html[lang="en"] .hb-chain-promotions[open]>summary::after{content:'Hide'}
html[lang="ja"] .hb-chain-promotions>summary::after{content:'表示'}
html[lang="ja"] .hb-chain-promotions[open]>summary::after{content:'閉じる'}
.hb-chain-promotions>summary:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}
.hb-chain-promotions>summary .num{margin-left:6px;font-size:12px}
.hb-chain-promotions[open]{max-height:260px;overflow:auto;overscroll-behavior:contain}
.hb-chain-promotions[open]>summary{position:sticky;top:0;z-index:2;background:var(--paper)}
.hb-chain-promotions-body{padding:0 14px 12px}
.hb-chain-promotions .hb-hotel-section{padding:0;border:0}
.hb-chain-promotions .hb-hotel-section>h3{display:none}
.hb-chain-promotions .tab-body>section>h3{margin:0 0 8px;font-size:13px}
.hb-chain-promotions .offers{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px}
.hb-chain-promotions .offer{padding:10px;font-size:13px;border-width:1px}
.hb-chain-promotions .offer h3{font-size:14px;margin-top:6px}
.hb-chain-promotions .offer-sum,.hb-chain-promotions .offer-meta{font-size:12px}
.hb-chain-promotions .offer-foot{padding-top:6px}
.hb-chain-promotions .offer-when{font-size:12px;padding-top:6px}
/* Breakfast benefit component: concise amounts, with evidence on demand. */
.ch-tab.hb-breakfast{font-size:13px;line-height:1.5}
.hb-breakfast .ch-tab-card{margin:0 0 3px;font-size:12px;line-height:1.5;color:var(--muted)}
.hb-breakfast .ch-tab-title{margin:0 0 5px;font-size:15px;line-height:1.4;font-weight:700}
.hb-breakfast .ch-where{margin:0 0 8px;font-size:12px;line-height:1.4}
.hb-breakfast .ch-prices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 10px;margin:0 0 10px}
.hb-breakfast .ch-prices>div{min-width:0}
.hb-breakfast .ch-prices dt{margin:0 0 2px;font-size:11px;line-height:1.4;color:var(--muted);font-weight:500}
.hb-breakfast .ch-prices dd{margin:0;font-size:15px;line-height:1.4;font-variant-numeric:tabular-nums;overflow-wrap:normal}
.hb-breakfast .ch-prices .hb-breakfast-restaurant{grid-column:1/-1;display:flex;align-items:baseline;gap:8px}
.hb-breakfast .hb-breakfast-restaurant dt{flex:none;margin:0;font-size:12px}
.hb-breakfast .hb-breakfast-restaurant dd{font-size:13px}
.hb-breakfast .ch-caution,.hb-breakfast>.ch-note{margin:6px 0;font-size:12px;line-height:1.5}
.hb-breakfast .hb-breakfast-evidence{margin:8px 0 4px;border-top:1px solid var(--rule);padding-top:5px;font-size:12px}
.hb-breakfast-evidence>summary{width:fit-content;min-height:28px;cursor:pointer;color:var(--muted);padding:4px 0}
.hb-breakfast-evidence>summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.hb-breakfast-evidence .ch-note{margin:6px 0;font-size:12px;line-height:1.5}
.hb-breakfast-evidence .ch-src{margin:8px 0 0;padding:0}
.hb-breakfast-evidence .ch-src li{margin:0 0 8px;font-size:12px;line-height:1.5}
.hb-breakfast-evidence .ch-src small{font-size:11px;line-height:1.5}
.hb-breakfast>[data-ch-page]{font-size:12px;margin-top:3px}
/* 후기 작성자 묶음. 이전·다음 넘기기(.hb-inline-pages)는 호텔별 오퍼 목록만 쓴다. */
.hb-review-authors,.hb-review-posts{list-style:none;margin:0;padding:0}
.hb-review-authors [hidden],.hb-inline-pages[hidden],.hb-paged-offers>[hidden]{display:none!important}
/* 후기 탭(2026-11-08 운영자 「페이지 넘기기 싫어」: 작성자마다 3편, 작성자 3명부터 보이고 「더 보기」로 늘린다).
   2026-11-13 운영자 「후기 화면 통일」(시안 H1): 작성자 머리는 공통 닉네임 상자(hotel-reviews.css .rv-tag)와 오른쪽 글 수, 묶음 사이는 옅은 굵은 선.
   글 줄은 공통 한 줄 줄(.rv-line: 제목 …·날짜·좋아요·⋯)이다. 들여쓰기·머리글자 원은 두지 않는다(2026-11-11 운영자 「괜히 왼쪽에 자리만」). */
.rv-tab .rv-list.hb-review-authors>.hb-review-author{padding:8px 0 4px;border-bottom:0;border-top:1.5px solid var(--rule)}
.rv-tab .rv-list.hb-review-authors>.hb-review-author:first-child{padding-top:2px;border-top:0}
.hb-review-author-head{display:flex;align-items:center;gap:var(--sp-2);min-width:0;margin-bottom:2px}
.hb-review-n{flex:none;margin-left:auto;font-size:var(--fs-caption);font-weight:400;color:var(--muted);white-space:nowrap}
.hb-review-common{margin:0 0 1px;font-size:var(--fs-caption);line-height:1.4;color:var(--muted);overflow-wrap:anywhere}
.hb-review-posts>.rv-line+.rv-line{border-top:1px solid var(--rule-2)}
.hb-review-more{display:inline-flex;align-items:center;min-height:28px;padding:0;border:0;background:none;font:inherit;font-size:var(--fs-caption);font-weight:700;color:var(--ink-2);cursor:pointer}
.hb-review-more.is-authors{display:flex;justify-content:center;width:100%;min-height:var(--ctl-md);margin-top:var(--sp-2);border:1px solid var(--rule);border-radius:var(--r-sm);background:var(--card)}
.hb-review-more:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px}.hb-review-more.is-authors:hover{border-color:var(--ink-2);text-decoration:none}.hb-review-more:disabled{opacity:.55;cursor:progress}.hb-review-more[hidden]{display:none}
.hb-inline-pages{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:5px 0;font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}
.hb-inline-pages button{border:1px solid var(--rule);border-radius:4px;background:var(--card);color:var(--ink);min-height:28px;padding:3px 8px;font:inherit;font-size:11px;cursor:pointer}
.hb-inline-pages button:disabled{opacity:.4;cursor:default}
.hb-inline-pages button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.hb-detail-column .rv-tab>.tab-fine{font-size:11px;line-height:1.5;margin:6px 0}
.hb-detail-column .rv-foot{margin-top:8px;font-size:11px;line-height:1.5}
/* Hotel offers stay visible. Long lists page three at a time. */
.hb-detail-column .rc-ap-list{margin:0;padding:0;list-style:none}
.hb-detail-column .rc-ap-row{padding:7px 0;gap:5px;font-size:13px;line-height:1.4}
.hb-detail-column .rc-ap-title{font-size:13px;line-height:1.4}
.hb-detail-column .rc-ap-english,.hb-detail-column .rc-ap-value{font-size:11px;line-height:1.4}
.hb-detail-column .rc-ap-group{font-size:12px;margin:8px 0 3px}
.hb-detail-column .rh-map-tab>.tab-fine{font-size:11px;line-height:1.5}
/* Valet summaries retain their verdicts; terms and full card lists open on demand. */
.hb-valet{font-size:12px;line-height:1.5}
.hb-valet .vl-ans{font-size:15px;margin:0}
.hb-valet .vl-ans-sub,.hb-valet .vl-chk{font-size:11px;line-height:1.5;margin:2px 0 0}
.hb-valet .vl-foot{font-size:11px;line-height:1.5}
.hb-valet .vl-row,.hb-valet .vl-line,.hb-valet .vl-all{padding:6px 0;margin:4px 0;border-radius:0}
.hb-valet .vl-name{font-size:12px;line-height:1.4}
.hb-valet .vl-sum,.hb-valet .vl-det,.hb-valet .vl-src{font-size:11px;line-height:1.5}
.hb-valet .vl-st{font-size:11px}
/* Columns share the available height. Only content that exceeds its column scrolls. */
@container (min-width:660px){
  .hb-detail-list{display:flex;overflow:hidden}
  .hb-detail-list>.hotel.on{display:flex;flex:1;min-width:0;min-height:0;flex-direction:column;overflow:hidden}
  .hb-detail .more{display:flex;flex:1;min-height:0;flex-direction:column;overflow:hidden}
  .hb-detail-columns{display:grid;flex:1;min-height:0;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr)}
  .hb-detail-column{min-height:0;overflow:auto;overscroll-behavior:contain;border-right:1px solid var(--rule);scrollbar-width:thin}
  .hb-detail-column:last-child{border-right:0}
  .hb-detail-columns[data-columns="1"]{grid-template-columns:minmax(0,1fr)}
  .hb-detail-columns[data-columns="3"]>.hb-detail-column:nth-child(2){grid-column:2;grid-row:1/3}
  .hb-detail-columns[data-columns="3"]>.hb-detail-column:nth-child(3){grid-column:1;grid-row:2}
  .hb-hotel-section>h3{position:sticky;top:0;z-index:1;padding:10px 0;margin-top:-10px;background:var(--card)}
}
@container (min-width:940px){
  .hb-detail-columns[data-columns="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hb-detail-columns[data-columns="3"]>.hb-detail-column:nth-child(n){grid-column:auto;grid-row:auto}
  .hb-detail-columns[data-columns="4"]{grid-template-columns:minmax(0,.95fr) minmax(0,1.1fr) minmax(0,1fr);grid-template-rows:repeat(2,minmax(0,1fr))}
  .hb-detail-columns[data-columns="4"]>[data-hotel-column="summary"]{grid-column:1;grid-row:1}
  .hb-detail-columns[data-columns="4"]>[data-hotel-column="offers"]{grid-column:2;grid-row:1/3}
  .hb-detail-columns[data-columns="4"]>[data-hotel-column="reviews"]{grid-column:3;grid-row:1/3}
  .hb-detail-columns[data-columns="4"]>[data-hotel-column="benefits"]{grid-column:1;grid-row:2;border-right:1px solid var(--rule);border-top:1px solid var(--rule)}
}
@container (min-width:1040px){
  .hb-detail-columns[data-columns="4"]{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:minmax(0,1fr)}
  .hb-detail-columns[data-columns="4"]>.hb-detail-column:nth-child(n){grid-column:auto;grid-row:1;border-top:0}
}
.hb-empty-detail{padding:clamp(28px,6vw,84px);max-width:680px;color:var(--muted);font-size:15px;line-height:1.8}
.hb-empty-detail h3{margin:0 0 14px;color:var(--ink);font-size:24px;line-height:1.35}
.hb-empty-detail p{margin:0 0 24px}
.hb-empty-detail small{display:block;padding-top:18px;border-top:1px solid var(--rule);font-size:13px}
.hb-detail-heading h2:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.hb-scope-notes{margin-top:12px;font-size:13px;color:var(--muted)}
.hb-scope-notes>summary{width:fit-content;cursor:pointer;color:var(--ink);font-weight:700}
.hb-scope-notes .lede{font-size:13px}
@media(max-width:1100px){.hotel-browser-switch{margin-right:12px}.hotel-browser-switch button{padding:7px 9px}}
/* Phones keep the pre-browser page: map above, list below, hotel opened in place (2026-11-05 operator). */
@media(max-width:900px){.hotel-browser-switch{display:none}}

.hb-hotel-title{flex:none;padding:12px 16px;border-bottom:1px solid var(--rule-2)}
.hb-detail-column [hidden],.hb-inline-pages[hidden]{display:none!important}
.hotel-browser-switch{order:2}
#stage[data-hotel-pane]>#panel{border-left:0}
#stage[data-hotel-pane] .destination-picker{min-height:0;height:auto}
#stage[data-hotel-pane] .world-country-results{max-height:none}
