/* Theme detail */
.detail-page { min-height: 100vh; background: var(--cream); }
.detail-header { width: min(1180px, calc(100% - 40px)); height: 74px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.detail-brand { display: flex; align-items: center; }
.detail-brand img { width: 128px; height: auto; }
.detail-header nav { margin-left: auto; display: flex; gap: 28px; color: #687386; font-size: 13px; font-weight: 800; }
.detail-header > .global-search-trigger { margin-left: 18px; }
.detail-hero { padding: 34px 0 72px; background: linear-gradient(135deg, var(--detail-soft), #fff9f0); border-top: 1px solid rgba(19,40,68,.07); }
.detail-hero-grid, .detail-content, .detail-interactive-map, .detail-next { width: min(1180px, calc(100% - 40px)); margin-left: auto; margin-right: auto; }
.detail-hero-grid { margin-top: 0; display: grid; grid-template-columns: 1fr 440px; gap: 75px; align-items: center; }
.detail-kicker { display: inline-flex; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.65); color: var(--detail-color); font-size: 12px; font-weight: 900; }
.detail-hero-copy h1 { max-width: 760px; margin: 20px 0 16px; color: var(--navy); font-size: clamp(36px, 4.2vw, 52px); line-height: 1.18; letter-spacing: -.052em; }
.detail-hero-copy > p { max-width: 650px; margin: 0; color: #657081; font-size: 16px; line-height: 1.8; }
.detail-facts { display: flex; align-items: center; gap: 17px; margin-top: 25px; color: #687284; font-size: 12px; font-weight: 700; }
.detail-facts span { display: flex; align-items: baseline; gap: 4px; }.detail-facts b { color: var(--navy); font-size: 15px; }.detail-facts i { width: 1px; height: 17px; background: rgba(19,40,68,.15); }
.detail-youtube-link { width: fit-content; min-height: 44px; margin-top: 18px; padding: 6px 13px 6px 7px; display: inline-flex; align-items: center; gap: 9px; border: 1px solid rgba(19,40,68,.12); border-radius: 14px; background: rgba(255,255,255,.86); color: var(--navy); box-shadow: 0 8px 22px rgba(19,40,68,.07); font-size: 11px; font-weight: 900; transition: transform .16s ease,border-color .16s ease,box-shadow .16s ease; }.detail-youtube-link:hover { border-color: rgba(205,54,60,.34); box-shadow: 0 10px 26px rgba(19,40,68,.11); transform: translateY(-1px); }.detail-youtube-link > span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 10px; background: #e94343; color: white; font-size: 12px; }.detail-youtube-link > i { color: #9a5960; font-size: 11px; font-style: normal; }
.detail-map-preview { position: relative; height: 390px; border: 1px solid rgba(19,40,68,.1); border-radius: 28px; background: linear-gradient(150deg,#dce9e7,#edf2ec); overflow: hidden; box-shadow: 0 25px 50px rgba(19,40,68,.12); }
.detail-map-preview::before { content: ""; position: absolute; inset: 0; opacity: .35; background-image: linear-gradient(rgba(19,40,68,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(19,40,68,.08) 1px,transparent 1px); background-size: 40px 40px; transform: rotate(-8deg) scale(1.3); }
.detail-map-shape { position: absolute; width: 190px; height: 300px; left: 50%; top: 44%; transform: translate(-50%,-50%) rotate(-8deg); background: #f3efe3; clip-path: polygon(29% 0,57% 6%,70% 18%,69% 29%,82% 37%,76% 48%,86% 58%,74% 68%,70% 83%,50% 100%,31% 91%,24% 77%,10% 66%,18% 51%,8% 38%,19% 25%); }
.detail-mini-marker { position: absolute; z-index: 3; width: 27px; height: 29px; display: grid; place-items: center; border: 2px solid white; border-radius: 50% 50% 50% 4px; color: white; font-size: 8px; font-weight: 900; box-shadow: 0 5px 10px rgba(19,40,68,.21); transform: translate(-50%,-60%) rotate(-45deg); }
.detail-mini-marker::first-letter { transform: rotate(45deg); }
.detail-map-label { position: absolute; z-index: 4; left: 15px; bottom: 15px; padding: 9px 12px; display: flex; align-items: center; gap: 8px; border-radius: 12px; background: rgba(255,255,255,.87); color: var(--navy); font-size: 10px; }
.detail-map-label span { font-size: 18px; }
.detail-content { padding-top: 86px; padding-bottom: 90px; }
.detail-content-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 28px; }
.detail-content-head span, .detail-next > div:first-child span { color: var(--red); font-size: 10px; font-weight: 900; letter-spacing: .17em; }
.detail-content-head h2, .detail-next h2 { margin: 8px 0 0; color: var(--navy); font-size: 32px; letter-spacing: -.045em; }
.detail-content-head p { max-width: 520px; margin: 0; color: #707b89; font-size: 13px; line-height: 1.65; text-align: right; }
.detail-map-section-head { align-items: center; }
.detail-map-section-head > div { min-width: 0; flex: 1 1 auto; }
.detail-map-course-layout { width: 100%; max-width: none !important; }
.detail-map-section-head p { flex: 0 1 470px; max-width: 470px; text-align: left; text-wrap: balance; }
.detail-hero-copy h1,.detail-content-head h2,.detail-place h3,.detail-note-banner h3,.detail-next-grid b { overflow-wrap: break-word; word-break: keep-all; text-wrap: balance; }
.detail-hero-copy > p,.detail-content-head p,.detail-place > strong,.detail-place > p,.detail-tip span,.detail-note-banner p,.detail-next-grid p { overflow-wrap: break-word; word-break: keep-all; text-wrap: pretty; }
.detail-content-head p.detail-place-helper { flex: 0 1 455px; max-width: 455px; text-wrap: balance; }
.detail-place-grid { --detail-place-gap: 14px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; align-items: stretch; }
.detail-place-shell { position: relative; min-width: 0; height: 100%; }
.detail-place-shell > .detail-place { height: 100%; }
.detail-place { min-width: 0; height: 100%; padding: 22px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 7px 20px rgba(19,40,68,.045); transition: border-color .2s ease,box-shadow .2s ease,transform .2s ease; }
.detail-place.is-map-selected { border-color: color-mix(in srgb,var(--detail-color) 42%,var(--line)); box-shadow: 0 12px 28px color-mix(in srgb,var(--detail-color) 12%,transparent); }
.detail-place-top { display: flex; align-items: center; gap: 9px; }
.detail-place-top > .detail-index,.detail-place-top > .detail-place-icon { flex-shrink: 0; }
.detail-place-top > .detail-region { min-width: 0; overflow-wrap: anywhere; text-align: right; }
.detail-place-top > .detail-place-save { width: 40px; min-height: 40px; flex: 0 0 40px; padding: 0; border: 1px solid #cfa39e; border-radius: 10px; background: white; color: #b95a52; box-shadow: none; }
.detail-place-top > .detail-place-save > span { font-size: 26px; }
.detail-place-top > .detail-place-save:hover { border-color: #b95a52; background: #fff3ef; color: #a3433d; }
.detail-place-top > .detail-place-save.is-saved { border-color: #c65d57; background: #fff0ed; color: #c65d57; box-shadow: none; }
.detail-place-top > .detail-place-save:focus-visible { outline: 3px solid #c65d57; outline-offset: 2px; }
.detail-index { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px 9px 9px 2px; color: white; font-size: 10px; font-weight: 900; }
.detail-place-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; font-size: 17px; }
.detail-region { margin-left: auto; color: #7c8794; font-size: 11px; font-weight: 800; }
.detail-place h3 { margin: 16px 0 5px; color: var(--navy); font-size: 20px; letter-spacing: -.035em; }
.detail-place-name-link { width: fit-content; max-width: 100%; display: inline-block; color: inherit; border-radius: 8px; }
.detail-place-name-text { min-width: 0; }
.detail-place-map-icon { width: 24px; height: 24px; margin-left: 7px; display: inline-grid; place-items: center; vertical-align: middle; border-radius: 7px; background: var(--detail-soft); color: var(--detail-color); transition: color .2s ease,background .2s ease; }
.detail-place-map-icon svg { width: 14px; height: 14px; }
.detail-place-map-link[aria-current="location"] .detail-place-map-icon { background: var(--detail-color); color: white; }
.detail-place-name-link:hover .detail-place-name-text { text-decoration: underline; text-decoration-color: color-mix(in srgb,var(--detail-color) 55%,transparent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.detail-place-name-link:focus-visible { outline: 3px solid color-mix(in srgb,var(--detail-color) 32%,transparent); outline-offset: 4px; }
.detail-place-title-row { min-width: 0; margin: 16px 0 5px; display: block; }
.detail-place-title-row h3 { min-width: 0; margin: 0; }
.detail-nearby-trigger { max-width: 150px; min-height: 38px; padding: 5px 9px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid color-mix(in srgb,var(--detail-color) 24%,var(--line)); border-radius: 10px; background: color-mix(in srgb,var(--detail-soft) 72%,white); color: var(--detail-color); cursor: pointer; transition: border-color .18s ease,background .18s ease,transform .18s ease; }
.detail-nearby-trigger-map { width: 25px; height: 25px; flex: 0 0 25px; display: block; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(69,45,30,.13)); }
.detail-nearby-trigger > b { font-size: 10.5px; font-weight: 950; line-height: 1.3; word-break: keep-all; }
.detail-nearby-label-short { display: none; }
.detail-nearby-trigger:is(:hover,:focus-visible) { border-color: color-mix(in srgb,var(--detail-color) 52%,var(--line)); background: color-mix(in srgb,var(--detail-soft) 88%,white); transform: translateY(-1px); }
.detail-nearby-trigger:focus-visible { outline: 3px solid color-mix(in srgb,var(--detail-color) 28%,transparent); outline-offset: 2px; }
.detail-nearby-trigger[aria-expanded="true"] { border-color: var(--detail-color); background: var(--detail-color); color: white; }
.detail-place > strong { color: var(--detail-color,#b94742); font-size: 12px; line-height: 1.5; }
.detail-place > p { margin: 10px 0 8px; color: #657180; font-size: 13px; line-height: 1.7; }
.detail-tags { display: flex; gap: 7px; flex-wrap: wrap; }.detail-tags span { color: #7a8795; font-size: 10px; font-weight: 800; }
.detail-tip { margin-top: 15px; padding: 12px 13px; border-radius: 11px; background: #fff6e7; }.detail-tip b,.detail-tip span { display: block; }.detail-tip b { color: var(--red); font-size: 10px; }.detail-tip span { margin-top: 4px; color: #6d5e4e; font-size: 12px; line-height: 1.55; }
.detail-place > a { margin-top: 16px; display: inline-flex; gap: 6px; color: #278349; font-size: 11px; font-weight: 900; }
.detail-nearby-panel { position: fixed; inset: 0; margin: auto; width: min(700px,calc(100vw - 28px)); height: min(740px,calc(100dvh - 40px - env(safe-area-inset-top) - env(safe-area-inset-bottom))); max-height: calc(100dvh - 40px); min-width: 0; min-height: 0; padding: 22px; flex-direction: column; overflow: hidden; box-sizing: border-box; border: 1px solid color-mix(in srgb,var(--detail-color) 28%,var(--line)); border-radius: 20px; background: linear-gradient(145deg,color-mix(in srgb,var(--detail-soft) 42%,white),white 44%); box-shadow: 0 18px 60px rgba(45,38,30,.2); animation: detail-nearby-enter .2s ease-out both; }
.detail-nearby-panel[open] { display: flex; }
.detail-nearby-panel::backdrop { background: rgba(32,47,57,.42); backdrop-filter: blur(3px); }
.detail-nearby-panel-head { flex: 0 0 auto; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: start; }
.detail-nearby-panel-head > div { min-width: 0; }
.detail-nearby-panel-head span { color: var(--detail-color); font-size: 11px; font-weight: 950; letter-spacing: .14em; }
.detail-nearby-panel h3 { margin: 6px 0 0; overflow-wrap: break-word; color: var(--navy); font-size: 23px; line-height: 1.35; letter-spacing: -.035em; word-break: keep-all; }
.detail-nearby-close { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid color-mix(in srgb,var(--detail-color) 22%,var(--line)); border-radius: 12px; background: white; color: #795148; font: 500 26px/1 system-ui,sans-serif; cursor: pointer; }
.detail-nearby-close:is(:hover,:focus-visible) { border-color: var(--detail-color); color: var(--detail-color); }
.detail-nearby-close:focus-visible { outline: 3px solid color-mix(in srgb,var(--detail-color) 28%,transparent); outline-offset: 2px; }
.detail-nearby-guide { flex: 0 0 auto; margin: 8px 0 0; color: #687585; font-size: 14px; font-weight: 780; line-height: 1.5; word-break: keep-all; }
.detail-nearby-state { min-height: 150px; margin-top: 13px; padding: 20px; display: grid; place-items: center; align-content: center; gap: 10px; border-radius: 13px; background: rgba(255,255,255,.7); color: #5f7178; text-align: center; }
.detail-nearby-state > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb,var(--detail-soft) 70%,white); color: var(--detail-color); font-size: 17px; font-weight: 950; }
.detail-nearby-state > b { font-size: 12px; font-weight: 900; line-height: 1.5; word-break: keep-all; }
.detail-nearby-state.is-error { color: #8c4d42; }
.detail-nearby-state > button { min-height: 34px; padding: 7px 12px; border: 1px solid color-mix(in srgb,var(--detail-color) 30%,var(--line)); border-radius: 999px; background: #fff; color: var(--detail-color); font-size: 11px; font-weight: 950; cursor: pointer; }
.detail-nearby-state > button:is(:hover,:focus-visible) { border-color: var(--detail-color); outline: none; }
.detail-nearby-list { min-width: 0; min-height: 0; flex: 1 1 0; margin-top: 13px; display: grid; align-content: start; gap: 10px; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: #b6cbc7 transparent; scrollbar-width: thin; touch-action: pan-y; }
.detail-nearby-list.is-scrollable { padding-right: 4px; scrollbar-gutter: stable; }
.detail-nearby-list.is-scrollable::-webkit-scrollbar { width: 5px; }
.detail-nearby-list.is-scrollable::-webkit-scrollbar-thumb { border-radius: 999px; background: #b6cbc7; }
.detail-nearby-list.is-scrollable:focus-visible { outline: 3px solid color-mix(in srgb,var(--detail-color) 24%,transparent); outline-offset: 2px; }
.detail-nearby-item { min-width: 0; min-height: 94px; padding: 12px; display: grid; grid-template-columns: minmax(0,1fr) 50px 18px; gap: 10px; align-items: center; overflow: hidden; border: 1px solid #d8e9e7; border-radius: 11px; background: #eef8f6; color: #155f65; transition: border-color .16s ease,background .16s ease,transform .16s ease; }
.detail-nearby-item.is-food { border-color: #efd9bd; background: #fff5e6; color: #8a5331; }
.detail-nearby-item.is-stay { border-color: #c9def5; background: #edf5ff; color: #235b8d; }
.detail-nearby-item:hover { border-color: #96c9c5; background: #e1f2ef; transform: translateY(-1px); }
.detail-nearby-item.is-food:hover { border-color: #dfb985; background: #ffeed5; }
.detail-nearby-item.is-stay:hover { border-color: #9fc1e4; background: #e1efff; }
.detail-nearby-target { min-width: 0; min-height: 66px; display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 10px; align-items: center; color: inherit; text-decoration: none; border-radius: 8px; }
.detail-nearby-target:focus-visible { outline: 3px solid rgba(35,104,107,.24); outline-offset: 2px; }
.detail-nearby-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 9px; background: rgba(255,255,255,.82); font-family: "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif; font-size: 17px; box-shadow: inset 0 0 0 1px rgba(19,40,68,.04); }
.detail-nearby-copy { min-width: 0; display: grid; gap: 5px; }
.detail-nearby-copy > small { min-width: 0; overflow: hidden; color: #4f7378; font-size: 12px; font-weight: 900; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.detail-nearby-item.is-food .detail-nearby-copy > small { color: #9a7559; }
.detail-nearby-item.is-stay .detail-nearby-copy > small { color: #5e7f9f; }
.detail-nearby-copy > b { min-width: 0; font-size: 16px; font-weight: 950; line-height: 1.45; word-break: keep-all; overflow-wrap: anywhere; }
.detail-nearby-meta { min-width: 0; display: block; }
.detail-nearby-place { min-width: 0; overflow: hidden; color: #315f64; font-size: 13px; font-weight: 900; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.detail-nearby-place::before { content: "📍"; margin-right: 2px; font-size: .9em; }
.detail-nearby-side { width: 50px; display: grid; justify-items: center; gap: 3px; }
.detail-nearby-save.place-save-button { width: 40px; height: 40px; min-height: 40px; padding: 0; border-radius: 9px; }
.detail-nearby-save.place-save-button > span { font-size: 16px; }
.detail-nearby-distance { padding: 2px 5px; border-radius: 999px; background: rgba(21,95,101,.12); color: #0f6268; font-size: 12px; font-weight: 950; line-height: 1.2; white-space: nowrap; }
.detail-nearby-item.is-food .detail-nearby-place { color: #825031; }
.detail-nearby-item.is-food .detail-nearby-distance { background: rgba(138,83,49,.12); color: #8a4f29; }
.detail-nearby-item.is-stay .detail-nearby-place { color: #315f86; }
.detail-nearby-item.is-stay .detail-nearby-distance { background: rgba(35,91,141,.12); color: #245d91; }
.detail-nearby-arrow { font-size: 18px; font-weight: 950; text-align: right; }
@keyframes detail-nearby-enter { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
.detail-interactive-map { padding: 0 0 90px; scroll-margin-top: 24px; }
.detail-map-section-head { margin-bottom: 0; }
.detail-interactive-map .map-experience { margin-top: 28px; }
.detail-next { padding: 70px 0 85px; border-top: 1px solid var(--line); }
.detail-next-grid { margin-top: 25px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.detail-next-grid a { min-width: 0; min-height: 136px; padding: 19px; display: grid; grid-template-columns: 52px minmax(0,1fr) 22px; gap: 13px; align-items: center; border: 1px solid var(--line); border-radius: 18px; background: white; transition: .2s ease; }.detail-next-grid a:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }.detail-next-grid > a > span { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--next-soft); font-size: 26px; }.detail-next-grid small { display: block; color: var(--next-color); font-size: 10px; font-weight: 900; }.detail-next-grid b { display: block; margin-top: 5px; color: var(--navy); font-size: 15px; }.detail-next-grid p { margin: 6px 0 0; color: #707b89; font-size: 11px; line-height: 1.5; }.detail-next-grid i { color: var(--next-color); font-style: normal; }
.detail-note-banner { width: min(1180px,calc(100% - 40px)); min-height: 190px; margin: 0 auto 84px; padding: 22px 25px; display: grid; grid-template-columns: 120px minmax(0,1fr) minmax(240px,.78fr) auto; gap: 24px; align-items: center; overflow: hidden; border: 1px solid color-mix(in srgb,var(--detail-color) 14%,var(--line)); border-radius: 24px; background: linear-gradient(120deg,color-mix(in srgb,var(--detail-soft) 72%,white),#fffaf1); box-shadow: 0 13px 34px rgba(19,40,68,.055); }
.detail-note-banner > img { width: 120px; height: 120px; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(73,48,34,.11)); }
.detail-note-banner-copy { min-width: 0; }
.detail-note-banner-copy > span { color: var(--detail-color); font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.detail-note-banner h3 { margin: 7px 0 7px; color: var(--navy); font-size: 21px; line-height: 1.35; letter-spacing: -.035em; }
.detail-note-banner p { margin: 0; color: #697587; font-size: 12px; line-height: 1.65; }
.detail-note-banner ul { margin: 0; padding: 0; display: grid; gap: 8px; list-style: none; }
.detail-note-banner li { color: #657487; font-size: 11px; font-weight: 800; }
.detail-note-banner li::before { content: "✓"; margin-right: 7px; color: var(--detail-color); }
.detail-note-banner > a { min-height: 43px; padding: 0 15px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid color-mix(in srgb,var(--detail-color) 20%,var(--line)); border-radius: 11px; background: white; color: var(--navy); font-size: 11px; font-weight: 900; white-space: nowrap; }
.detail-footer { min-height: 112px; padding: 18px max(20px,calc((100% - 1180px)/2)); display: grid; grid-template-columns: 1fr auto 1fr; gap: 25px; align-items: center; background: var(--site-footer); color: rgba(255,255,255,.62); font-size: 11px; }.detail-footer-logo img { width: 118px; height: auto; }.detail-footer-copy { display: grid; gap: 10px; text-align: center; }.detail-footer-legal { display: grid; justify-items: end; gap: 7px; text-align: right; }.detail-footer-legal a { color: rgba(255,255,255,.82); font-weight: 850; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 960px) {
  .detail-place-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 800px) {
  .detail-page { padding-bottom: 66px; }
  .detail-header nav { display: none; }.detail-hero-grid { grid-template-columns: 1fr; }.detail-hero-copy { text-align: center; }.detail-kicker { display: none; }.detail-hero-copy h1 { margin-top: 0; }.detail-hero-copy > p { margin-left: auto; margin-right: auto; }.detail-facts { justify-content: center; }.detail-youtube-link { margin-left: auto; margin-right: auto; }.detail-map-preview { width: min(100%,480px); margin: 0 auto; }.detail-next-grid { grid-template-columns: 1fr; }.detail-note-banner { grid-template-columns: 100px minmax(0,1fr); gap: 17px; }.detail-note-banner > img { width: 100px; height: 100px; }.detail-note-banner ul { grid-column: 1 / -1; grid-template-columns: repeat(3,minmax(0,1fr)); }.detail-note-banner > a { grid-column: 1 / -1; }.detail-footer { grid-template-columns: 1fr; padding: 25px 25px 94px; text-align: center; }.detail-footer-logo { display: inline-flex; justify-self: center; }.detail-footer-legal { justify-items: center; text-align: center; }
}
@media (max-width: 560px) {
  .detail-header,.detail-hero-grid,.detail-content,.detail-interactive-map,.detail-next,.detail-note-banner { width: calc(100% - 26px); }.detail-hero { padding-top: 24px; }.detail-hero-grid { margin-top: 0; gap: 35px; }.detail-hero-copy h1 { font-size: 34px; line-height: 1.2; }.detail-hero-copy > p { font-size: 15px; line-height: 1.7; }.detail-facts { flex-wrap: wrap; }.detail-map-preview { height: 330px; }.detail-content { padding-top: 60px; }.detail-content-head { display: block; }.detail-content-head h2,.detail-next h2 { font-size: 28px; }.detail-content-head p,.detail-map-section-head p { max-width: none; margin-top: 10px; text-align: left; text-wrap: pretty; }.detail-content-head p.detail-place-helper { max-width: none; text-wrap: balance; }.detail-place-top { align-items: flex-start; gap: 6px; }.detail-index,.detail-place-icon { width: 28px; height: 28px; }.detail-place-icon { font-size: 15px; }.detail-region { min-width: 0; font-size: 9px; line-height: 1.35; text-align: right; word-break: keep-all; }.detail-place h3 { margin: 12px 0 5px; font-size: clamp(15px,4.4vw,18px); line-height: 1.35; }.detail-place-name-link { align-items: flex-start; gap: 5px; }.detail-place-map-icon { width: 22px; height: 22px; flex-basis: 22px; margin-top: 1px; }.detail-place-map-icon svg { width: 13px; height: 13px; }.detail-place > strong { font-size: 10px; line-height: 1.45; }.detail-place > p { min-height: 0; margin: 8px 0; font-size: 11px; line-height: 1.6; }.detail-tags { gap: 4px; }.detail-tags span { font-size: 8.5px; }.detail-tip { margin-top: 11px; padding: 9px; }.detail-tip b { font-size: 9px; }.detail-tip span { font-size: 10px; line-height: 1.5; }.detail-place-links { padding-top: 11px; gap: 6px; }.detail-place-links .detail-place-map-link,.detail-place-links > a { font-size: 9.5px; }.detail-note-banner { min-height: 0; margin-bottom: 64px; padding: 18px; grid-template-columns: 78px minmax(0,1fr); gap: 14px; }.detail-note-banner > img { width: 78px; height: 78px; }.detail-note-banner h3 { font-size: 18px; }.detail-note-banner p { font-size: 11px; }.detail-note-banner ul { grid-template-columns: 1fr; gap: 7px; }.detail-interactive-map { padding-bottom: 64px; }.detail-next { padding-top: 55px; }
}
.image-lightbox-trigger { margin: 0; padding: 0; display: block; border: 0; background: transparent; cursor: zoom-in; }
.image-lightbox-trigger:focus-visible { outline: 4px solid color-mix(in srgb,var(--theme-color,#315d73) 45%,white); outline-offset: -4px; }
.image-lightbox-backdrop { position: fixed; z-index: 1000; inset: 0; padding: 18px; display: grid; place-items: center; background: rgba(8,20,35,.88); backdrop-filter: blur(12px); }
.image-lightbox-shell { width: min(1180px,100%); height: min(94dvh,980px); display: grid; grid-template-rows: auto minmax(0,1fr); overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 22px; background: #101c2b; box-shadow: 0 32px 100px rgba(0,0,0,.42); }
.image-lightbox-toolbar { min-height: 64px; padding: 10px 12px 10px 20px; display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 14px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.1); color: white; }
.image-lightbox-toolbar > strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.image-lightbox-toolbar > div { display: flex; align-items: center; gap: 6px; }
.image-lightbox-toolbar button { min-width: 38px; height: 38px; padding: 0 11px; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; background: rgba(255,255,255,.09); color: white; font-size: 14px; font-weight: 850; cursor: pointer; }
.image-lightbox-toolbar button:disabled { opacity: .36; cursor: default; }
.image-lightbox-toolbar span { min-width: 50px; color: rgba(255,255,255,.72); font-size: 11px; font-weight: 800; text-align: center; }
.image-lightbox-toolbar .image-lightbox-close { min-width: 42px; font-size: 24px; font-weight: 400; }
.image-lightbox-viewport { min-height: 0; padding: 22px; overflow: auto; overscroll-behavior: contain; touch-action: pan-x pan-y; }
.image-lightbox-viewport.is-pannable { cursor: grab; touch-action: none; }
.image-lightbox-viewport.is-dragging { cursor: grabbing; user-select: none; }
.image-lightbox-canvas { min-width: 100%; min-height: 100%; display: grid; place-items: center; }
.image-lightbox-viewport img { max-width: none; height: auto; display: block; background: white; box-shadow: 0 14px 45px rgba(0,0,0,.28); pointer-events: none; user-select: none; -webkit-user-drag: none; }
.google-photo-lightbox-canvas { position: relative; }
.google-photo-lightbox-media { max-width: 100%; max-height: 100%; margin: 0; display: grid; grid-template-rows: minmax(0,1fr) auto; place-items: center; gap: 9px; }
.google-photo-lightbox-media img { width: auto; max-width: min(90vw,1100px); max-height: calc(94dvh - 130px); object-fit: contain; border-radius: 12px; }
.google-photo-gallery-credit { min-height: 18px; color: rgba(255,255,255,.72); font-size: 10px; font-weight: 720; line-height: 1.35; text-align: center; }
.google-photo-gallery-credit a { color: white; text-decoration: underline; text-underline-offset: 2px; }
.google-photo-lightbox-controls button { min-width: 46px; height: 44px; padding: 0; font-size: 24px; line-height: 1; }
.google-photo-lightbox-controls .google-photo-gallery-counter { min-width: 60px; font-size: 12px; }
.google-photo-lightbox-controls[hidden] { display: none; }
.google-photo-edge-nav { position: absolute; z-index: 3; top: 50%; width: 56px; height: 72px; padding: 0; display: none; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 18px; background: rgba(11,27,43,.72); color: white; font: 500 40px/1 system-ui,sans-serif; box-shadow: 0 12px 32px rgba(0,0,0,.32); transform: translateY(-50%); cursor: pointer; backdrop-filter: blur(8px); transition: background .16s ease,transform .16s ease,border-color .16s ease; }
.google-photo-edge-nav.is-previous { left: 14px; }
.google-photo-edge-nav.is-next { right: 14px; }
.google-photo-edge-nav:hover { border-color: rgba(255,255,255,.55); background: rgba(25,49,71,.92); transform: translateY(-50%) scale(1.05); }
.google-photo-edge-nav:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.google-photo-edge-nav[hidden] { display: none; }
@media (min-width: 861px) and (hover: hover) and (pointer: fine) {
  .google-photo-edge-nav { display: grid; }
  .image-lightbox-viewport.is-photo-draggable { cursor: grab; }
  .image-lightbox-viewport.is-photo-draggable.is-mouse-dragging { cursor: grabbing; user-select: none; }
}

.detail-cover-preview { width: 100%; max-width: 440px; justify-self: end; }
.detail-cover-button { width: 100%; aspect-ratio: 1; overflow: hidden; border: 1px solid rgba(19,40,68,.1); border-radius: 28px; background: #fbfaf7; box-shadow: 0 25px 50px rgba(19,40,68,.12); }
.detail-cover-button img { width: 100%; height: 100%; display: block; object-fit: contain; }
.detail-cover-preview > p { margin: 11px 0 0; color: #6f7b89; font-size: 11px; font-weight: 750; text-align: center; }

@media (min-width: 1081px) {
  .detail-hero-grid { width: min(1240px,calc(100% - 40px)); grid-template-columns: minmax(0,1fr) 480px; gap: 55px; }
  .detail-cover-preview { max-width: 480px; }
}

@media (max-width: 860px) {
  .detail-cover-preview { justify-self: center; }
}

@media (max-width: 600px) {
  .image-lightbox-backdrop { padding: 0; }
  .image-lightbox-shell { width: 100%; height: 100dvh; border: 0; border-radius: 0; }
  .image-lightbox-toolbar { min-height: 60px; padding: 8px; grid-template-columns: 1fr auto; gap: 8px; }
  .image-lightbox-toolbar > strong { display: none; }
  .image-lightbox-toolbar > div { justify-content: flex-start; }
  .image-lightbox-toolbar button { min-width: 35px; height: 38px; padding: 0 9px; }
  .image-lightbox-toolbar > div button:last-child { display: none; }
  .image-lightbox-viewport { padding: 12px; }
  .image-lightbox-toolbar .google-photo-lightbox-controls button:last-child { display: inline-flex; align-items: center; justify-content: center; }
  .google-photo-lightbox-media img { max-width: calc(100vw - 24px); max-height: calc(100dvh - 110px); border-radius: 9px; }
  .google-photo-gallery-credit { font-size: 9px; }
}

.detail-loading-shell { width: min(1180px,calc(100% - 40px)); min-height: 560px; margin: 0 auto; padding: 92px 0 80px; display: grid; grid-template-columns: minmax(0,1fr) minmax(340px,.82fr); gap: 72px; align-items: center; }
.detail-loading-copy > span,.detail-loading-copy h1,.detail-loading-copy p,.detail-loading-copy div,.detail-loading-visual { display: block; border-radius: 999px; background: linear-gradient(100deg,#f1e8dc 22%,#fffaf2 42%,#f1e8dc 62%); background-size: 260% 100%; animation: detail-skeleton 1.2s ease-in-out infinite; }
.detail-loading-copy > span { width: 130px; height: 22px; }.detail-loading-copy h1 { width: min(520px,92%); height: 58px; margin: 24px 0 21px; }.detail-loading-copy p { width: min(570px,100%); height: 16px; margin: 10px 0; }.detail-loading-copy p:nth-of-type(2) { width: 72%; }.detail-loading-copy div { width: 260px; height: 50px; margin-top: 34px; }.detail-loading-visual { height: 420px; border-radius: 38px; }
@keyframes detail-skeleton { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

@media (max-width: 600px) {
  .detail-loading-shell { width: calc(100% - 26px); min-height: 540px; padding: 58px 0 72px; grid-template-columns: 1fr; gap: 32px; }.detail-loading-copy h1 { height: 44px; }.detail-loading-visual { height: 310px; border-radius: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .detail-loading-copy > span,.detail-loading-copy h1,.detail-loading-copy p,.detail-loading-copy div,.detail-loading-visual { animation: none; }
}
.detail-place-links { margin-top: auto; padding-top: 16px; display: flex; align-items: stretch; gap: 9px; }
.detail-place-links .detail-place-map-link { min-width: 74px; min-height: 34px; margin: 0; padding: 0 11px; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 6px; border: 1px solid color-mix(in srgb,var(--detail-color) 24%,var(--line)); border-radius: 10px; background: white; color: var(--detail-color); font-size: 11px; font-weight: 900; white-space: nowrap; text-decoration: none; }
.detail-place-links .detail-place-map-link:hover { background: var(--detail-soft); }
.detail-place-links .detail-place-map-link[aria-current="location"] { border-color: var(--detail-color); }
.detail-place-links .detail-place-map-icon { width: 18px; height: 18px; margin: 0; border-radius: 0; background: transparent; color: inherit; }
.detail-place-links .detail-place-map-icon svg { width: 16px; height: 16px; }
.detail-place-links .place-travel-comic-trigger,
.detail-place-links .detail-nearby-trigger { width: auto; max-width: none; min-width: 0; min-height: 34px; flex: 1 1 0; }
.detail-place-links .place-travel-comic-label-short { display: none; }

@media (max-width: 860px) {
  .detail-mobile-nav { grid-template-columns: repeat(7,1fr); }
}

@media (max-width: 600px) {
  .detail-place-grid { grid-template-columns: minmax(0,1fr); gap: 12px; --detail-place-gap: 12px; }
  .detail-place { padding: 18px; border-radius: 18px; }
  .detail-place-top { align-items: center; gap: 8px; }
  .detail-region { font-size: 10px; }
  .detail-place h3 { font-size: 19px; line-height: 1.4; }
  .detail-place > strong { font-size: 12px; }
  .detail-place > p { font-size: 1rem; line-height: 1.75; color: #343c48; }
  .detail-tags { gap: 6px; }
  .detail-tags span { font-size: .8125rem; }
  .detail-tip { margin-top: 12px; padding: 12px; }
  .detail-tip b { font-size: .8125rem; }
  .detail-tip span { font-size: .9375rem; line-height: 1.7; }
  .detail-place-links { display: flex; padding-top: 14px; gap: 7px; flex-wrap: nowrap; }
  .detail-place-links .detail-place-map-link { width: auto; flex: 0 0 auto; padding: 0 9px; gap: 5px; }
  .detail-place-links .detail-place-map-link,
  .detail-place-links .place-travel-comic-trigger,
  .detail-place-links .detail-nearby-trigger { height: 40px; min-height: 40px; }
  .detail-place-links .place-travel-comic-trigger,
  .detail-place-links .detail-nearby-trigger { padding: 0 6px; gap: 5px; border-radius: 10px; }
  .detail-place-links .detail-place-map-link > b { display: inline; font-size: 10px; white-space: nowrap; }
  .detail-place-links .place-travel-comic-trigger { flex: 0 0 auto; }
  .detail-place-links .place-travel-comic-trigger-icon { width: 18px; height: 18px; flex-basis: 18px; font-size: 15px; }
  .detail-place-links .place-travel-comic-label-full { display: none; }
  .detail-place-links .place-travel-comic-label-short,
  .detail-place-links .detail-nearby-label-full { display: inline; }
  .detail-place-links .detail-nearby-label-short { display: none; }
  .detail-place-links .place-travel-comic-trigger b,
  .detail-place-links .detail-nearby-trigger > b { font-size: 11px; line-height: 1.2; white-space: nowrap; }
  .detail-place-links .detail-nearby-trigger-map { width: 18px; height: 18px; flex-basis: 18px; display: block; }
  .detail-place-links .detail-nearby-trigger[data-has-comic="true"] > b { line-height: 1.05; }
}

.detail-footer { min-height: 112px; padding-top: 18px; padding-bottom: 18px; }
.detail-footer-copy { display: grid; gap: 10px; text-align: center; }
.detail-footer-legal { display: grid; justify-items: end; gap: 7px; text-align: right; }

@media (max-width: 800px) {
  .detail-footer { padding: 25px 25px 94px; }
  .detail-footer-legal { justify-items: center; text-align: center; }
}

@media (max-width: 560px) {
  .detail-place-title-row { margin: 12px 0 5px; }
  .detail-nearby-panel { padding: 15px; border-radius: 16px; }
  .detail-nearby-panel h3 { font-size: 21px; }
  .detail-nearby-item { padding: 10px; gap: 8px; grid-template-columns: minmax(0,1fr) 46px 14px; }
  .detail-nearby-target { grid-template-columns: 34px minmax(0,1fr); gap: 8px; }
  .detail-nearby-icon { width: 34px; height: 38px; }
  .detail-nearby-copy > b { font-size: 15px; }
  .detail-nearby-side { width: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  .detail-nearby-panel { animation: none; }
}

/* Optional visitor information: compact buttons with readable inline details. */
.place-info { min-width: 0; container-type: inline-size; }
.place-info.has-info { margin: 9px 0 0; }
.place-info-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.place-info .place-info-badge { --info-color: #3675ad; --info-soft: #eaf3ff; min-height: 28px; max-width: 100%; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 3px 5px; border: 1px solid #e4e9eb; border-radius: 6px; background: #fff; color: #465967; font-size: 12px; font-weight: 600; line-height: 1.35; cursor: pointer; touch-action: manipulation; transition: background .15s ease,border-color .15s ease; }
.place-info .info-pet { --info-color: #8655b0; --info-soft: #f3edfb; }
.place-info .info-hours { --info-color: #267c7c; --info-soft: #e7f5f3; }
.place-info .info-fee { --info-color: #a86c1e; --info-soft: #fff3dd; }
.place-info .info-closed { --info-color: #b45b72; --info-soft: #fceef2; }
.place-info-icon { width: 18px; height: 18px; flex: 0 0 18px; display: inline-flex; align-items: center; justify-content: center; border-radius: 5px; background: var(--info-soft); color: var(--info-color); }
.place-info-icon > svg { width: 12px; height: 12px; }
.place-info-label { white-space: nowrap; word-break: keep-all; overflow-wrap: normal; }
.place-info .place-info-badge:is(:hover,.is-open) { border-color: color-mix(in srgb,var(--info-color) 40%,#e4e9eb); background: var(--info-soft); color: #314956; }
.place-info .place-info-badge:focus-visible { outline: 3px solid #da9a45; outline-offset: 2px; }
.place-info .place-info-panel { margin-top: 7px; padding: 10px 11px; border: 1px solid #e4e9eb; border-radius: 8px; background: #f8fafb; }
.place-info .place-info-panel[hidden] { display: none; }
.place-info .place-info-panel strong { display: block; margin: 0; color: #294c5e; font-size: 12px; line-height: 1.5; }
.place-info .place-info-panel p { margin: 5px 0 8px; color: #354651; font-size: 13px; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; word-break: normal; }
.place-info .place-info-panel small { display: block; color: #697780; font-size: 10.5px; line-height: 1.5; }
@media (min-width: 601px) {
  @container (min-width: 180px) and (max-width: 330px) {
    .place-info-badges:has(> .place-info-badge:nth-child(4):last-child) { display: grid; grid-template-columns: repeat(2,max-content); justify-content: start; }
  }
}
@media (max-width: 600px) {
  .detail-place .place-info-badges { gap: 3px; }
  .detail-place .place-info-badge { padding: 3px; gap: 3px; font-size: 11.5px; }
  .detail-place .place-info-icon { width: 16px; height: 16px; flex-basis: 16px; }
  .detail-place .place-info-icon > svg { width: 11px; height: 11px; }
}
@container (max-width: 220px) {
  .place-info .place-info-badge { min-height: 26px; padding: 3px 4px; gap: 3px; font-size: 11px; }
  .place-info-icon { width: 16px; height: 16px; flex-basis: 16px; }
  .place-info-icon > svg { width: 11px; height: 11px; }
  .place-info .place-info-panel { padding: 8px; }
  .place-info .place-info-panel strong { font-size: 11px; }
  .place-info .place-info-panel p { font-size: 11px; }
  .place-info .place-info-panel small { font-size: 9.5px; }
}

/* Keep optional actions below Shami's tip and separate from the main buttons. */
.detail-place-title-row.has-place-photo { --detail-action-width: 76px; --detail-action-height: 36px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 7px; container-type: inline-size; }
.detail-place-title-row > h3 { grid-column: 1; grid-row: 1; }
.detail-place-title-row > .place-image-search-button { grid-column: 2; grid-row: 1; justify-self: end; }
.detail-place-title-row > .detail-place-short { grid-column: 1; grid-row: 2; min-width: 0; color: var(--detail-color,#b94742); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; word-break: keep-all; }
.detail-place-title-row > .detail-place-secondary { grid-column: 1; grid-row: 3; margin: 0; }
.detail-place-title-row > .shami-score-compact { grid-column: 2; grid-row: 2 / span 2; justify-self: end; align-self: start; margin: 0; }
.detail-place-title-row > .place-image-search-button,
.detail-place-title-row .shami-score-badge { width: var(--detail-action-width); height: var(--detail-action-height); min-height: var(--detail-action-height); box-sizing: border-box; padding: 4px 7px; justify-content: center; gap: 5px; border-radius: 10px; }
.detail-place-title-row > .place-image-search-button { margin-top: 0; font-size: 11px; line-height: 1.3; box-shadow: none; white-space: nowrap; }
.detail-place-title-row .shami-score-badge img { width: 26px; height: 26px; }
.detail-place-title-row .shami-score-badge strong { font-size: 17px; }
.detail-place-title-row .place-image-search-label { padding-right: 0; }
.detail-place-title-row .place-image-search-icon { width: 18px; height: 18px; }
.detail-place-title-row .place-image-search-icon svg { width: 14px; height: 14px; }
.place-visit-guide { margin-top: 6px; min-width: 0; }
.place-info .place-visit-toggle { min-height: 28px; max-width: 100%; padding: 3px 2px; display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; color: #467879; font-family: inherit; font-size: 12px; font-weight: 600; line-height: 1.4; cursor: pointer; touch-action: manipulation; }
.place-visit-toggle > svg { width: 15px; height: 15px; flex: 0 0 15px; }
.place-visit-toggle > span { white-space: nowrap; }
.place-visit-toggle .place-visit-chevron { width: 12px; height: 12px; flex-basis: 12px; }
.place-visit-toggle:hover { color: #245456; }
.place-visit-toggle:focus-visible { outline: 3px solid #da9a45; outline-offset: 2px; border-radius: 4px; }
.place-info .place-visit-panel { padding: 10px; margin-top: 4px; border: 1px solid #e1e9e8; border-radius: 9px; background: #f7faf9; text-align: left; }
.place-info .place-visit-panel p { margin: 0 0 7px; font-size: 12px; line-height: 1.65; font-weight: 400; color: #41555e; overflow-wrap: anywhere; }
.place-visit-panel .place-visit-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 8px; }
.place-visit-contact a { display: inline-flex; align-items: center; gap: 4px; min-height: 30px; padding: 4px 8px; border: 1px solid #d6e4e4; border-radius: 6px; background: #fff; color: #2f6265; font-size: 12px; font-weight: 650; line-height: 1.4; white-space: nowrap; text-decoration: none; }
.place-info .place-visit-panel dl { margin: 0; display: grid; gap: 9px; }
.place-visit-panel dt { margin: 0 0 3px; color: #36545c; font-size: 12px; line-height: 1.5; font-weight: 700; }
.place-visit-panel dd { margin: 0; color: #41555e; font-size: 12px; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.place-info .place-visit-panel small { display: block; margin-top: 9px; color: #718081; font-size: 10.5px; line-height: 1.5; }
.place-visit-panel button { padding: 2px 0; border: 0; background: none; color: #2d6b71; font: inherit; text-decoration: underline; cursor: pointer; }
@container (max-width: 220px) {
  .place-info .place-visit-toggle { font-size: 11px; }
  .place-info .place-visit-panel { padding: 8px; }
}

.detail-place-map-link { display: inline-flex; vertical-align: middle; border-radius: 8px; }
.detail-place-map-link:focus-visible { outline: 3px solid var(--detail-color); outline-offset: 3px; }
@media(max-width:860px) { .detail-place-map-link { min-width: 32px; min-height: 32px; align-items: center; justify-content: center; } }

@media(max-width:860px) { .detail-kicker { display: none; }.detail-hero-copy h1 { margin-top: 0; } }
