/* Shared place cards, including the hotel catalogue. */
#explorer .place-list{container-type:inline-size}
#explorer .place-list .pc-card{--pc-photo:168px;--pc-photo-height:148px;display:grid;position:relative;grid-template-columns:var(--pc-photo) minmax(0,1fr);grid-template-rows:minmax(min-content,1fr) auto;grid-template-areas:"photo info" "photo actions";gap:7px 16px;padding:16px;border:0;border-radius:24px;align-items:start;min-width:0;margin:0;background:var(--surface,#fff);box-shadow:none;transform:none}
/* Keep a real link box in the scroll chain, including over the title and rating. */
#explorer .pc-card .card-open{display:grid;grid-area:1/1/-1/-1;grid-template-columns:subgrid;grid-template-rows:subgrid;grid-template-areas:inherit;gap:inherit;align-items:start;align-self:stretch;min-width:0;padding:0;color:inherit;text-decoration:none;cursor:pointer}
#explorer .pc-card .card-open:focus-visible{outline:3px solid #8cbbf8;outline-offset:3px;border-radius:16px}
#explorer .pc-card .place-poster{grid-area:photo;display:block;align-self:start;width:var(--pc-photo);height:var(--pc-photo-height);min-height:var(--pc-photo-height);max-height:var(--pc-photo-height);aspect-ratio:auto;border-radius:16px;overflow:hidden}
#explorer .pc-card .place-poster img{display:block;width:100%;height:100%;object-fit:cover;transform:none}
#explorer .pc-card .row-copy{grid-area:info;display:flex;flex-direction:column;justify-content:flex-start;padding:0;gap:6px;min-width:0}
#explorer .pc-card .row-title{margin:0;min-width:0}
#explorer .pc-card .row-title>strong{font-size:18px;line-height:1.3;font-weight:650;letter-spacing:-.2px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
#explorer .pc-card .row-title a{color:inherit;text-decoration:none}
#explorer .pc-card .row-category{display:none}
#explorer .pc-card .card-facts{margin:0;gap:5px}
#explorer .pc-card .row-summary{font-size:12px;line-height:1.5;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
#explorer .pc-card [hidden]{display:none!important}
#explorer .pc-card .card-place-actions{grid-area:actions;position:relative;z-index:1;display:flex;justify-content:flex-start;align-items:center;align-self:end;flex-wrap:wrap;margin:0;padding:0;gap:7px;min-height:36px;max-width:100%}
#explorer .place-list .pc-card .card-place-actions :is(.quick-trip-button,.save-button,.icon-button){position:static;inset:auto;flex:0 0 36px;width:36px;height:36px;min-height:36px;padding:8px;border:0;border-radius:11px;background:var(--icon-control-bg,#edf1f6);color:var(--muted,#69788a);box-shadow:none}
#explorer .place-list .pc-card .card-place-actions :is(.quick-trip-button,.pc-room-button){display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:auto;min-width:max-content;padding:8px 10px;gap:6px;font-size:12px;line-height:1.35;white-space:nowrap;overflow-wrap:normal;word-break:normal;text-align:start}
#explorer .pc-card .quick-trip-button>span,#explorer .pc-card .pc-room-button>span{display:inline;white-space:nowrap}
#explorer .pc-card .quick-trip-button>.icon,#explorer .pc-card .pc-room-button>.icon{flex-shrink:0;width:18px;height:18px}
#explorer .place-list .pc-card .quick-trip-button.in-trip{color:var(--accent);background:#eaf3ff}
#explorer .pc-card .pc-hotel-meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px 12px;min-width:0}
#explorer .pc-card .pc-hotel-stars{font-size:11px;letter-spacing:1px;line-height:1.5;color:var(--muted);white-space:nowrap}
#explorer .pc-card .pc-hotel-details{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:12px;line-height:1.4}
#explorer .pc-card .pc-hotel-location{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
#explorer .pc-card .pc-hotel-features{color:var(--ink);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
#explorer .pc-card .pc-hotel-fact{color:var(--muted);font-size:12px}
#explorer .place-list .pc-card .pc-hotel-meta .card-facts{width:auto;max-width:100%;margin:0;flex:0 1 auto}
#explorer .pc-card :is(.card-food-facts,.card-hours){font-size:12px}
#explorer .place-list .pc-card:is(.place-selected,.selected){border-color:#80adff;background:#eff5ff}
#explorer .place-list .pc-card.place-selected .place-poster{box-shadow:none}
#explorer .place-list .pc-card.place-selected .row-title>strong{color:inherit}
@container(max-width:560px){
 #explorer .place-list .pc-card{grid-template-areas:"photo info" "actions actions";gap:12px;padding:12px;border-radius:22px}
 #explorer .pc-card .place-poster{border-radius:14px}
 #explorer .pc-card .row-title>strong{font-size:16px;line-height:1.3;letter-spacing:-.15px}
 #explorer .pc-card .row-copy{gap:5px}
 #explorer .pc-card .card-place-actions{min-height:40px;width:100%}
 #explorer .place-list .pc-card .card-place-actions :is(.save-button,.icon-button){width:40px;height:40px;min-height:40px;flex-basis:40px;padding:9px}
 #explorer .place-list .pc-card .card-place-actions :is(.quick-trip-button,.pc-room-button){width:auto;min-height:40px;flex-basis:auto;padding:9px 11px;font-size:13px}
 #explorer .pc-card .pc-hotel-fact{display:none}
}
@container(max-width:440px){
 #explorer .place-list .pc-card{--pc-photo:112px}
 #explorer .place-list .pc-card .card-place-actions .pc-room-button{width:40px;min-width:40px;flex:0 0 40px;padding:9px}
 #explorer .pc-card .pc-room-button>span{display:none}
}
@container(max-width:300px){
 #explorer .place-list .pc-card{--pc-photo:92px;gap:10px;padding:10px}
 #explorer .pc-card .card-place-actions{gap:6px}
 #explorer .place-list .pc-card .card-place-actions .quick-trip-button{padding:8px 9px;font-size:12px;gap:5px}
}
@media(pointer:coarse){
 #explorer .place-list .pc-card .card-place-actions :is(.save-button,.icon-button):not(.pc-room-button){width:44px;min-width:44px;height:44px;min-height:44px;flex-basis:44px}
 #explorer .place-list .pc-card .card-place-actions :is(.quick-trip-button,.pc-room-button){min-height:44px}
}

@media(pointer:coarse){@container(max-width:440px){#explorer .place-list .pc-card .card-place-actions .pc-room-button{width:44px;min-width:44px;height:44px;min-height:44px;flex-basis:44px}}}
#explorer .pc-hotel-information{margin-block:24px}
#explorer .pc-hotel-information p{font-size:14px;line-height:1.65;color:var(--muted);margin:0 0 12px}
#explorer .pc-hotel-information .pc-room-button{display:inline-flex;align-items:center;gap:8px;min-height:44px;width:auto;padding:10px 14px;border:0;border-radius:12px;background:var(--icon-control-bg,#edf1f6);color:var(--muted,#69788a);font:inherit;font-size:13px;white-space:nowrap}
#explorer .pc-hotel-information .pc-room-button .icon{width:20px;height:20px}
#explorer .place-list .pc-card .card-place-actions .save-button.saved{color:#ff375f}
#explorer .place-list .pc-card .pc-hotel-price{margin-inline-start:auto;display:inline-flex;flex-direction:column;align-items:flex-end;justify-content:center;min-height:36px;padding:0;color:var(--ink);font-size:17px;font-weight:650;white-space:nowrap;text-decoration:none;line-height:1.25}
#explorer .place-list .pc-card .pc-hotel-price>small{font-size:10px;font-weight:400;color:var(--muted)}
@container(max-width:440px){#explorer .place-list .pc-card .pc-hotel-price{font-size:14px}}

/* Address is part of a place's identity, independent from its editorial teaser. */
.place-address{display:block;min-width:0;max-width:100%;color:var(--muted,#69788a);font-size:13px;line-height:1.45;font-weight:400;overflow-wrap:anywhere;unicode-bidi:plaintext;text-align:start}
.pc-card .place-address{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.detail-summary>.place-address,.detail-content>h1+.place-address{margin-block:8px 12px;font-size:15px}
.map-photo-content>.place-address{margin-block:7px 13px;font-size:12px}
.map-pin .pin-address{display:none;max-width:190px;margin:4px auto 0;font-size:11px;line-height:1.3;font-weight:500;color:#425268;white-space:normal;overflow-wrap:anywhere;unicode-bidi:plaintext}
.map-pin:is(.selected,.is-previewed,:focus-visible) .pin-address{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}

/* A chain is a primary browsing page; its places reuse the adjacent detail panel. */
.place-chain-button{display:inline-flex;align-items:center;gap:8px;max-width:100%;min-height:44px;padding:11px 15px;margin:18px 0 6px;border:0;border-radius:14px;background:#e9f2ff;color:#0877ee;font:inherit;font-size:14px;font-weight:600;text-align:start;text-decoration:none;cursor:pointer}
.place-chain-button .icon{flex:0 0 18px;width:18px;height:18px}
.branch-panel{position:absolute;z-index:18;inset-block:0;inset-inline-start:0;width:var(--panel-width);background:var(--canvas,#f6f7f9);display:flex;flex-direction:column;overflow:hidden;container-type:inline-size}
.branch-panel[hidden]{display:none}
.branch-heading{display:flex;flex-direction:row-reverse;align-items:center;gap:14px;padding:20px 24px;border-bottom:1px solid #e3e7ec;flex:none}
.branch-heading h1{font-size:clamp(22px,2vw,28px);line-height:1.2;letter-spacing:-.5px;margin:0;flex:1;min-width:0;overflow-wrap:anywhere}
.branch-heading .icon-button{flex-shrink:0}
.branch-scroll{overflow:auto;overscroll-behavior:contain;flex:1;min-height:0;padding:24px 24px 32px;scrollbar-gutter:stable}
.branch-scope{font-size:14px;color:var(--muted);margin:0 0 20px}
.branch-map-button{width:100%;margin-top:24px;flex-shrink:0}
.branch-list{display:flex;flex-direction:column;gap:16px}
.branch-item{min-width:0}
#explorer .branch-selected .pc-card{background:#eaf2fe}
.branch-list-return{display:none}
#explorer[data-branch-context="true"] :is(#browse-sheet,.bottom-dock,.topbar,#secondary-panel){visibility:hidden;pointer-events:none}
#explorer[data-branch-list="true"] :is(#detail-sheet,#places-map-toggle){visibility:hidden;pointer-events:none}
@media(max-width:900px){
 .branch-panel{width:100%}
 .branch-heading{padding:18px 20px}
 .branch-heading h1{font-size:24px}
 .branch-scroll{padding:20px 16px calc(24px + env(safe-area-inset-bottom))}
 #explorer[data-branch-map="true"] .branch-panel{background:transparent;pointer-events:none;overflow:visible}
 #explorer[data-branch-map="true"] .branch-panel :is(.branch-heading,.branch-scroll){display:none}
 #explorer[data-branch-map="true"] .branch-list-return{display:flex;position:absolute;inset-block-end:calc(24px + env(safe-area-inset-bottom));inset-inline-start:50%;transform:translateX(-50%);pointer-events:auto;align-items:center;gap:8px;background:#202124;color:white;border:0;border-radius:28px;padding:14px 20px;white-space:nowrap;font:inherit;font-size:14px}
 [dir="rtl"] #explorer[data-branch-map="true"] .branch-list-return{transform:translateX(50%)}
}

#explorer .detail-content>.place-chain-button{display:flex;width:fit-content;max-width:calc(100% - 2 * var(--sheet-gutter));margin:20px var(--sheet-gutter) 24px;padding:12px 16px;line-height:1.4;align-items:center;box-sizing:border-box}
#explorer .place-chain-button>span{min-width:0;overflow-wrap:anywhere}
#explorer .detail-fact-hours>span{display:block;min-width:0}
#explorer .detail-fact-hours .opening-hours{display:flex;flex-direction:column;gap:8px;margin-top:8px}
#explorer .opening-hours-row{display:flex;align-items:baseline;justify-content:space-between;gap:16px;font-size:14px;line-height:1.5}
#explorer .opening-hours-row>span{color:var(--muted);flex:0 0 auto}
#explorer .opening-hours-row>bdi{text-align:end;white-space:normal;overflow-wrap:anywhere;font-weight:550}
.map-cluster-list{position:absolute;z-index:35;display:flex;flex-direction:column;box-sizing:border-box;padding:16px;background:var(--canvas,#f6f7f9);color:var(--text,#202124);border-radius:22px;box-shadow:0 6px 28px #18304d26;overflow:hidden}
.map-cluster-list header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;font-size:17px}
.map-cluster-list header .icon-button{width:32px;height:32px;min-width:32px;min-height:32px;border-radius:11px}
.map-cluster-list header .icon{width:18px;height:18px}
.map-cluster-items{display:flex;flex-direction:column;gap:8px;overflow:auto;overscroll-behavior:contain;min-height:0}
.map-cluster-items>button{display:flex;align-items:center;gap:12px;width:100%;padding:10px;border:0;border-radius:14px;background:#fff;color:inherit;font:inherit;font-size:14px;text-align:start;cursor:pointer}
.map-cluster-items>button>img{width:52px;height:52px;object-fit:cover;border-radius:10px;flex:none}
.map-cluster-items>button>span{min-width:0;line-height:1.4;overflow-wrap:anywhere}
.map-cluster-items>button:focus-visible{outline:2px solid #0877f9;outline-offset:-2px}

#explorer .pc-card .card-food-facts{min-width:0}
#explorer .pc-card .card-cuisine{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:normal;min-width:0;line-height:1.4}
#explorer .pc-card .card-hours{min-width:0;align-items:baseline}
#explorer .pc-card .card-hours>span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
