:root { --paper:var(--site-surface); --fog:var(--site-tint); --bg:var(--site-bg); --pine:var(--site-brand); --dark:var(--site-strong); --ink:var(--site-ink); --soft:var(--site-muted); --line:var(--site-line); }
html,body:has(#site) { background:var(--site-bg); }
#site { background:var(--bg); }
[data-top-variant="A"] #site:has(.hero:not(.text-cover)) { padding-top:0; }
[data-mark-position="title"] #site .hero:not(.text-cover) { position:relative; margin:0; height:clamp(210px,66.667vw,320px); max-height:44svh; border-radius:0; }
#site .hero>img { width:100%; height:100%; object-fit:cover; }
/* 旧版静态园区页含有首图栏目，统一使用正文对应入口。 */
#site .hero-tools { display:none; }
[data-mark-position="title"] #site .park-identity { display:block; position:relative; margin:-12px 0 0; padding:16px 16px 12px; border:none; border-radius:18px 18px 0 0; background:white; }
[data-mark-position="title"] #site .hero.text-cover+.park-identity { margin:0; border:0; border-radius:0; background:linear-gradient(140deg,#e1f4eb,#f3f7fd 65%,white); }
.identity-row { display:flex; align-items:center; justify-content:space-between; gap:9px; }
.park-nature { flex:none; max-width:36%; color:#386a61; background:#edf7f0; padding:4px 8px; font-size:12px; line-height:1.35; border-radius:5px; text-align:center; }
.park-street { display:flex; align-items:center; gap:6px; padding:9px 0; min-height:42px; color:var(--soft); text-decoration:none; font-size:13px; }
.park-street .ic { flex:none; width:15px; height:15px; } .park-street .ic:last-child { margin-left:auto; }
.park-choices { display:grid; grid-auto-flow:column; grid-auto-columns:1fr; gap:9px; margin-top:4px; }
.park-choices button { display:flex; align-items:center; justify-content:center; gap:7px; min-height:42px; background:var(--site-tint); color:var(--site-strong); border-radius:10px; font-weight:600; }
.park-choices button:last-child { background:var(--site-tint); color:var(--site-strong); } .park-choices .ic { width:17px; height:17px; }
.detail-sections { display:block; padding:0 10px; }
.detail-sections .jump { position:sticky; top:0; z-index:2; justify-content:space-around; margin:0 -10px 8px; padding:0 5px; background:#fffffff7; border-bottom:1px solid var(--line); }
.detail-sections .jump a { display:grid; place-items:center; min-height:44px; padding:7px 3px; font-size:clamp(11px,3.15vw,14px); white-space:nowrap; }
.detail-sections .jump a[aria-current] { color:var(--dark); } .detail-sections .jump a[aria-current]::after { bottom:1px; }
.detail-sections .panel,.detail-sections .consult { border:0; border-radius:14px; box-shadow:0 2px 10px #28474108; }
.detail-sections>section[id] { scroll-margin-top:50px; }
.detail-sections .contact-wrap { position:static; margin:9px 0; }
.detail-sections .block-head h2,.detail-sections .consult h2 { font-weight:700; color:var(--ink); }
#site .dock { background:#fffffffa; border-radius:0; }
#site .dock { display:grid; grid-template-columns:auto minmax(0,1fr) minmax(0,1.25fr); }
#site .dock .small[data-show=chat] { height:50px; flex-direction:row; gap:6px; font-size:16px; font-weight:650; border-radius:25px; background:var(--site-tint); color:#1e566e; }
#site .dock a.primary { background:var(--site-brand); border-radius:25px; }
@media(min-width:700px) {
  #site { max-width:1040px; padding-inline:20px; }
  [data-mark-position="title"] #site .hero:not(.text-cover) { height:clamp(320px,32vw,350px); border-radius:0; }
  [data-mark-position="title"] #site .park-identity { margin:0; padding:17px 20px; border-radius:14px; }
  .park-identity .identity-row { max-width:640px; }
  .park-choices { position:absolute; right:20px; bottom:12px; width:308px; }
  .park-street { max-width:calc(100% - 325px); }
  .detail-sections { display:grid; grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr); gap:9px 16px; align-items:start; padding:12px 0 0; }
  .detail-sections>* { grid-column:1; margin:0; }
  .detail-sections .jump { margin:0; border-radius:12px; }
  .detail-sections .contact-wrap { grid-column:2; grid-row:1 / span 9; align-self:start; position:sticky; top:12px; margin:0; }
}
@media(max-width:360px) { .park-nature { font-size:12px; } .park-choices button { font-size:13px; } }

.park-choices .park-save { color:#4f6665; background:#f1f4f4; }
.park-choices .park-save[aria-pressed="true"] { color:#146f5d; background:#def1e6; }
.park-choices .park-save[hidden] { display:none; }
@media(min-width:360px) { .detail-sections .jump a { font-size:15px; } }
#site .dock a.primary { min-height:50px; font-size:17px; font-weight:700; }

.ask-chips { display:flex; flex-wrap:wrap; gap:6px 8px; }
.ask-chips button { display:inline-flex; align-items:center; min-height:42px; padding:0 13px; border-radius:22px; background:var(--site-tint); color:var(--site-strong); font-size:13px; }
.fees .ask-chips { margin-top:10px; }
.zones ul { list-style:none; margin:0; padding:0; }
.zones li { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:8px 0; }
.zones li+li { border-top:1px solid var(--line); }
.zones li small { display:block; font-size:12px; color:var(--soft); }
.zones li button { flex:none; min-height:42px; padding:0 12px; border-radius:10px; color:var(--site-strong); background:var(--site-tint); font-size:13px; }
.chat-park { display:flex; align-items:center; gap:10px; margin:12px 16px 0; padding:10px; border:1px solid var(--site-line); border-radius:14px; background:var(--site-header); }
.chat-thumb { flex:none; position:relative; display:grid; place-items:center; width:56px; height:56px; border-radius:9px; overflow:hidden; color:#498573; background:#d9eee1; }
.chat-thumb img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.chat-place { flex:1; min-width:0; display:grid; gap:2px; }
.chat-place small,.chat-place span { font-size:12px; color:var(--site-muted); }
.chat-place span { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.chat-place strong { font-size:16px; overflow-wrap:anywhere; }
.chat-park button { display:flex; align-items:center; gap:2px; flex:none; min-height:44px; color:var(--site-strong); font-size:13px; }
.chat-park button .ic { width:13px; height:13px; }
.chat .conversation { min-height:0; }
.chat .ask-chips { margin-bottom:12px; }

@media(max-width:359px) { .dock a .ic,.dock [data-show=chat] .ic { width:16px; height:16px; } }

#site [hidden], #sheet [hidden], #chat [hidden] { display:none !important; }
#site .dock:has(:only-child), #site .dock:has(> :nth-child(2):last-child) {
  grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);
}
#site .dock .small[data-show="chat"] { color:var(--site-strong); background:var(--site-tint); }
#site .detail-sections .jump { overflow-x:auto; justify-content:flex-start; scrollbar-width:none; }
#site .detail-sections .jump a { flex:1 0 auto; font-size:14px; padding-inline:9px; }
#site .park-choices button { background:#f0f5f3; color:#2c5a50; }
#site .park-choices [data-show="visit"] { color:#105d4b; background:#dfefe8; }
#site .scenery .mosaic button img { width:100%; height:100%; object-fit:cover; }
#site .advisor-section .adv-icon { min-width:44px; min-height:44px; }
#site .detail-sections .guess-sec { padding:16px; background:var(--paper); border:0; border-radius:14px; }
#site .guess-h { justify-content:flex-start; font-size:18px; }
#site .guess-h::before,#site .guess-h::after { display:none; }
#site .guess-more { padding:9px; }
#site .guess-card .gc-name { min-height:0; }
@media (max-width:699px) {
  #site .park-choices:has(.park-save:not([hidden])) { grid-template-columns:repeat(2,1fr); grid-auto-flow:row; }
  #site .detail-sections { padding-inline:12px; }
  #site .detail-sections .jump { margin-inline:-12px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }

/* 园区详情 · 费用、顾问与到访 */
.identity-source { display:inline-flex; align-items:center; min-height:32px; color:var(--site-strong); font-size:12px; text-underline-offset:3px; }
#fees .fee-tabs { margin:12px 0; }
#fees .fee-item { border-radius:14px; background:var(--site-bg); overflow:hidden; }
#fees #fee-ask { width:100%; display:flex; justify-content:center; align-items:center; gap:8px; min-height:44px; margin:10px 0; border-radius:10px; background:var(--site-tint); color:var(--site-strong); font-weight:650; }
#fees #fee-ask .ic:last-child { width:14px; margin-left:0; }
.arrival-booking { display:flex; align-items:center; gap:16px; justify-content:space-between; padding:15px; margin-top:16px; background:var(--site-tint); border-radius:12px; }
.arrival-booking h3 { margin:0 0 4px; color:#204c40; font-size:16px; }
.arrival-booking p { margin:0; line-height:1.6; font-size:13px; color:#496459; }
.arrival-booking button { flex:none; display:flex; align-items:center; gap:3px; min-height:44px; padding:0 12px; border-radius:10px; background:var(--site-brand); color:white; font-weight:650; }
.arrival-booking .ic { width:14px; }

@media(max-width:699px) { .detail-sections .contact-wrap { display:none; } }

#site .adv-icon.main { display:inline-flex; gap:5px; align-items:center; justify-content:center; width:auto; padding:0 12px; font-weight:650; }
#site .adv-face>div { color:#275e50; background:#e5f0e9; font-size:20px; }
#site .adv-row:nth-child(2) .adv-face>div { color:#31596a; background:#e6eff2; }
#site .adv-row:nth-child(3) .adv-face>div { color:#826243; background:#f4eade; }

#site .dock:has(.dock-favorite) {grid-template-columns:58px minmax(0,1fr) minmax(0,1.1fr); align-items:center}
#site .dock:has(.dock-favorite[hidden]) {grid-template-columns:repeat(2,minmax(0,1fr))}
.dock .dock-favorite {display:grid; place-content:center; justify-items:center; gap:2px; min-height:48px; padding:0; color:#4b625b; background:transparent; font-size:12px; line-height:1.2}
.dock .dock-favorite .ic {width:20px; height:20px}
.dock .dock-favorite[aria-pressed="true"] {color:#176e59}
.dock .dock-favorite[aria-pressed="true"] .ic {fill:currentColor}
#scenes .mosaic {display:grid; grid-template-columns:1.45fr 1fr; grid-template-rows:repeat(2,clamp(74px,20vw,102px)); gap:5px; overflow:hidden; border-radius:12px}
#scenes .mosaic button {position:relative; display:block; border-radius:0; grid-column:auto; grid-row:auto; height:100%; min-width:0; min-height:0}
#scenes .mosaic:not(.one):not(.two) button:first-child {grid-row:span 2}
#scenes .mosaic.one,#scenes .mosaic.two {grid-template-rows:clamp(125px,35vw,195px)}
#scenes .mosaic.one {grid-template-columns:1fr}
#scenes .mosaic.two {grid-template-columns:repeat(2,minmax(0,1fr))}
#scenes .mosaic span {position:absolute; inset:auto 0 0; color:white; background:linear-gradient(transparent,#102920bd); padding:18px 9px 6px; font-size:12px; line-height:1.4}
#site .adv-meta {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.5}
#chat .advisor-info small {max-width:100%}



#site .hero.illustrated::after, #site .hero:has(> img[data-illustration])::after {
  content:"景观参考"; display:block; position:absolute; z-index:2; inset:auto 14px 14px auto;
  width:auto; height:auto; padding:3px 8px; border-radius:12px; color:#254b3e;
  background:#fffffff0; font-size:12px; line-height:1.4; pointer-events:none;
}
#chat .chat-bar .actions {
  display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr);
  align-items:center; gap:3px; margin:0 0 6px; overflow:visible;
}
#chat .actions > :is(button,.chat-dial) {
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  min-width:0; min-height:44px; padding:3px 0; gap:3px;
  border:0; border-radius:8px; background:transparent; color:var(--site-secondary);
  font:500 12px/1.2 system-ui,sans-serif; white-space:nowrap; text-decoration:none;
}
#chat .actions > .chat-dial { color:var(--site-strong); }
#chat .actions > :is(button,a):active { background:#eaf3ed; }
#chat .actions .ic { width:21px; height:21px; flex:none; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
#chat .dialog-head > a { color:var(--site-secondary); font-size:13px; text-underline-offset:3px; }


.advisor-card{display:flex;align-items:center;gap:10px;padding:8px 16px;background:#fff;border-bottom:1px solid var(--line)}

.advisor-avatar{width:34px;height:34px;border-radius:50%;overflow:hidden;background:var(--fog);display:grid;place-items:center;flex:none}
.advisor-avatar img{width:100%;height:100%;object-fit:cover}

.avatar{color:var(--pine);font-weight:600}
.advisor-info{display:grid;flex:1;min-width:0;line-height:1.35}
.advisor-info strong{font-size:13px}
.advisor-info small{font-size:12px;color:var(--soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.advisor-tag{font-size:12px;color:var(--pine);background:var(--fog);border-radius:999px;padding:2px 8px;white-space:nowrap}

#chat .conversation .ask-chips{padding-top:12px}

.advisor-section{padding:18px 16px 16px;scroll-margin-top:51px;background:linear-gradient(180deg,var(--site-tint) 0%,var(--site-surface) 88px)}

.advisor-sec-head>div{display:grid;gap:2px}
.advisor-sec-head small{font-size:12px;color:var(--soft)}
.adv-eyebrow{font-size:12px;letter-spacing:.12em;color:var(--pine);background:var(--fog);border-radius:4px;padding:2px 7px;width:fit-content;margin-bottom:5px}

.adv-list{display:grid;gap:10px}
.adv-list .adv-row{padding:13px 12px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 3px 12px rgba(23,47,43,.05)}

.adv-face,.adv-main{text-decoration:none;color:inherit}
.adv-main .adv-tags{margin:6px 0 0}

a.advisor-avatar,a.advisor-info{text-decoration:none;color:inherit}

.adv-stack{display:flex;align-items:center;margin-bottom:8px;text-decoration:none}
.adv-stack span{width:28px;height:28px;border-radius:50%;overflow:hidden;border:2px solid #fff;margin-left:-8px;background:var(--fog);display:grid;place-items:center}
.adv-stack span:first-child{margin-left:0}
.adv-stack img{width:100%;height:100%;object-fit:cover}
.adv-stack em{font-style:normal;font-size:12px;color:var(--pine);margin-left:8px}

.finish>div{min-width:0}

.advisor-sec-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.advisor-sec-head strong{font-size:17px;color:var(--ink);font-weight:750;letter-spacing:-.3px}
.advisor-sec-head a{font-size:12px;color:var(--pine);text-decoration:none;font-weight:600}

.adv-row{display:flex;align-items:center;gap:12px}

.adv-face{position:relative;width:56px;height:56px;flex:none}
.adv-face>div{width:56px;height:56px;border-radius:15px;overflow:hidden;background:var(--fog);display:grid;place-items:center}
.adv-face img{width:100%;height:100%;object-fit:cover}

.adv-face i{position:absolute;left:50%;bottom:-6px;transform:translateX(-50%);font-style:normal;font-size:12px;line-height:18px;padding:0 6px;border-radius:8px;background:#a67733;color:#fff;white-space:nowrap}

.adv-main{flex:1;min-width:0}
.adv-name{font-size:15px;font-weight:600;color:var(--ink);display:flex;align-items:center;gap:6px}

.adv-badge{font-size:12px;color:var(--pine);background:var(--fog);border-radius:4px;padding:1px 5px;font-weight:400}

.adv-meta{font-size:12px;color:var(--soft);margin-top:4px}

.adv-icon{width:38px;height:38px;border-radius:11px;border:1px solid var(--line);display:grid;place-items:center;flex:none;cursor:pointer;background:var(--fog);color:var(--pine);text-decoration:none}
.adv-icon.main{background:var(--pine);border-color:var(--pine);color:#fff}
.adv-icon svg{width:17px;height:17px}

.adv-tags{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0 0}
.adv-tags span{font-size:12px;color:var(--soft);background:var(--fog);border-radius:4px;padding:2px 7px}

.adv-intro{font-size:13px;color:var(--soft);line-height:1.6;margin:10px 0 0;padding:10px 12px;background:var(--fog);border-radius:10px}
.adv-intro span{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

.adv-faq{margin-top:14px;border-top:1px solid var(--line);padding-top:12px}
.adv-faq h4{margin:0 0 8px;font-size:13px;color:var(--ink)}

.adv-faq div{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.adv-faq button{border:0;background:var(--fog);border-radius:8px;padding:8px 6px;font-size:12px;color:var(--pine);cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.adv-promise{display:flex;justify-content:space-between;margin-top:12px;font-size:12px;color:var(--soft)}
.adv-promise span::before{content:"✓ ";color:var(--pine)}

.send-tip{display:flex;align-items:center;gap:10px;margin:0 0 10px;padding:9px 10px;background:#fff;border:1px solid var(--site-line);border-radius:12px;box-shadow:0 2px 8px rgba(42,64,59,.06)}

.send-tip img,.send-tip .ph{width:52px;height:40px;border-radius:7px;object-fit:cover;flex:none;background:var(--site-tint)}

.send-tip div{flex:1;min-width:0;display:grid;line-height:1.35}
.send-tip small{font-size:12px;color:var(--site-muted)}
.send-tip b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.send-tip button.go{flex:none;background:var(--site-brand);color:#fff;border-radius:15px;padding:5px 14px;font-size:13px;font-weight:600}

.send-tip button.x{flex:none;color:var(--site-secondary);font-size:18px;width:22px}

.park-card-msg{margin:7px 0 7px auto;width:min(78%,280px);background:#fff;border:1px solid var(--site-line);border-radius:14px;border-bottom-right-radius:3px;overflow:hidden;display:block;text-decoration:none;color:var(--site-ink)}

.park-card-msg img{display:block;width:100%;height:110px;object-fit:cover;background:var(--site-tint)}

.park-card-msg div{padding:8px 11px 9px}
.park-card-msg b{display:block;font-size:14px}
.park-card-msg small{display:block;font-size:12px;color:var(--site-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.park-card-msg em{display:block;font-style:normal;font-size:12px;color:var(--site-brand);border-top:1px solid var(--site-line);margin-top:6px;padding-top:5px}

.rec-row{display:flex;gap:6px;overflow-x:auto;margin:3px 0 10px;padding-bottom:2px;scrollbar-width:none}
.rec-row::-webkit-scrollbar{display:none}

.rec-row button{flex:none;white-space:nowrap;font-size:12px;line-height:1;color:var(--site-secondary);background:var(--site-tint);border-radius:11px;padding:5px 8px}

.rec-row button:after{content:"›";display:inline-block;margin-left:5px;color:var(--site-secondary);font-size:14px;vertical-align:-1px}

/* 聊天内：白色是收到的消息，浅青是自己发送的消息，接入状态独立居中。 */
#chat {
  --chat-gutter: 16px;
  color: var(--site-ink);
  background: var(--site-surface);
}
#chat .dialog-head {
  gap: 12px;
  padding-inline: var(--chat-gutter);
  border-color: var(--site-line);
}
#chat .dialog-head > a {
  margin-left: auto;
  color: var(--site-secondary);
}
#chat .chat-park {
  margin-inline: var(--chat-gutter);
  border-radius: var(--site-card);
}
#chat .advisor-card {
  padding: 9px var(--chat-gutter);
  border-bottom-color: var(--site-line);
}
#chat .advisor-info { gap: 2px; }
#chat .advisor-info small { font-size: 12px; }
#chat .conversation {
  background: var(--site-bg);
  padding: 16px var(--chat-gutter);
}
#chat .conversation .ask-chips { padding-top: 0; margin-bottom: 12px; }
#chat :is(.ask-chips, .rec-row) button {
  color: var(--site-strong);
  background: var(--site-surface);
  border: 1px solid var(--site-line);
}
#chat .ask-chips button { min-height: 36px; }
#chat .bubble {
  box-sizing: border-box;
  width: fit-content;
  max-width: min(90%, 34rem);
  margin-block: 9px;
  padding: 10px 13px;
  background: var(--site-surface);
  border: 1px solid var(--site-line);
  color: var(--site-ink);
  overflow-wrap: anywhere;
}
#chat .bubble.me {
  margin-left: auto;
  border-color: var(--site-outgoing);
  background: var(--site-outgoing);
}
#chat .bubble.status {
  margin: 14px auto;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--site-muted);
  font-size: 12px;
  text-align: center;
}
#chat .rec-row { margin: 4px 0 12px; }
#chat .rec-row button {
  min-height: var(--site-hit);
  padding: 4px 10px;
  border-radius: 22px;
  font-size: 12px;
}
#chat .chat-bar {
  padding-inline: var(--chat-gutter);
  background: var(--site-surface);
}
#chat .send-tip { box-shadow: none; background: var(--site-input); }
#chat .send-tip button.go {
  min-height: var(--site-hit);
  border-radius: 18px;
  color: var(--site-strong);
  background: var(--site-outgoing);
}
#chat .send-tip button.x { align-self: stretch; width: var(--site-hit); min-height: var(--site-hit); }
#chat .entry input {
  color: var(--site-ink);
  background: var(--site-input);
  border: 1px solid var(--site-line);
  border-radius: var(--site-control);
}
#chat .entry input::placeholder { color: var(--site-muted); opacity: 1; }
#chat .entry button { background: var(--site-brand); border-radius: var(--site-control); }
#chat .actions > :is(button, .chat-dial) { color: var(--site-secondary); }
#chat .actions > .chat-dial { color: var(--site-strong); }
#chat .actions > :is(button, a):active { background: var(--site-tint); }

#chat .identity strong:focus, #sheet #title:focus { outline: none; }
#chat .dialog-head > a, #site .identity-source, .park-footer a, .privacy-link {
  display: inline-flex; align-items: center; min-height: var(--site-hit);
}
#site .record-source, #site .adv-stack, #site .adv-faq button, #site .guess-more,
#chat .advisor-info, #chat .ask-chips button, #sheet .album-step button { min-height: var(--site-hit); }
#chat .advisor-info { align-content: center; }
#chat .advisor-avatar {
  width: var(--site-hit); height: var(--site-hit);
  background: transparent;
}
#chat .advisor-avatar img, #chat .advisor-avatar .avatar {
  width: 34px; height: 34px; border-radius: 50%;
}
#chat .send-tip { padding-block: 5px; gap: 6px; }
#chat .chips label, #sheet .chips label { display: inline-flex; align-items: center; min-height: var(--site-hit); }
#site .park-choices button { color: var(--site-strong); background: var(--site-input); }
#site .park-choices [data-show="visit"] { color: var(--site-strong); background: var(--site-tint); }
:is(#sheet, #chat, #site) .btn.primary:not(:disabled) { color: white; background: var(--site-brand); }

#site .adv-icon svg, #site .park-choices .ic, #site .route-tools .ic { width: 20px; height: 20px; }
#site .adv-tags span, #site .guess-card .gc-tag { color: var(--site-strong); }
#site .adv-stack, .park-footer a, #sheet .privacy-link, #chat .privacy-link { color: var(--site-strong); text-underline-offset: 3px; }
#sheet .dialog-head h2 { font-size: 21px; line-height: 1.35; }
#traffic .map-teaser span { font-size: 12px; }
#sheet .preference summary { min-height: var(--site-hit); align-content: center; }

#chat .human-reply strong {display:block;margin-bottom:3px;font-size:12px;color:var(--site-strong)}
#chat.archived-chat :is(.entry,.actions,.send-tip,.ask-chips,.rec-row) {display:none}

.guess-card:has([data-media-fallback]) {position:relative}
.guess-card:has([data-media-fallback])::after {content:"景观参考";position:absolute;top:6px;right:6px;font:11px/1.6 sans-serif;color:white;background:#203a30c9;border-radius:6px;padding:0 5px}

#site .hero > img { background:#eef5f0 }

/* Keep SDK control layers inside the traffic preview, below fixed navigation. */
#traffic .park-map { isolation:isolate; z-index:0; contain:paint; }
body.lock #traffic .park-map, #site[inert] #traffic .park-map { visibility:hidden; pointer-events:none; }
#site .adv-faq {border:0;padding-top:0;margin-top:16px}
#site .adv-questions {grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 8px}
#site .adv-questions button {display:flex;align-items:center;justify-content:space-between;gap:4px;min-height:44px;padding:6px 8px;background:#eef6f2;color:#205f50;text-align:left;border-radius:10px;font-weight:550;white-space:normal;line-height:1.35}
#site .adv-questions i {flex:none;display:grid;place-items:center;width:18px;height:18px;background:white;color:#287361;border-radius:50%;font:15px/1 system-ui}
#site .adv-faq .adv-refresh {display:block;margin:2px auto;background:transparent;color:#546b61;font-size:13px;min-height:44px;padding:5px 14px}
.adv-benefits {display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px;list-style:none;margin:0;padding:12px 0 0;border-top:1px solid #e2ebe6;color:#476458;font-size:12px}
.adv-benefits li::before {content:"✓";color:#20735d;margin-right:3px}
#site .advisor-section .adv-icon.main {width:44px;height:44px;padding:0;border:0;background:radial-gradient(circle,#e5f2ed 14px,transparent 15px);color:#146951}
#site .advisor-section .adv-icon.main svg {width:16px;height:16px}
#site .adv-face i {background:#faebcb;color:#715120;font-size:10px;line-height:16px;padding:0 5px;bottom:-4px}
#site .adv-questions {row-gap:0}
#site .adv-questions button {background:transparent;position:relative;isolation:isolate}
#site .adv-questions button::before {content:"";position:absolute;inset:6px 0;z-index:-1;border-radius:9px;background:#eef6f2}

.park-aliases { margin:5px 0 8px; color:var(--site-muted,#51635e); font-size:14px; line-height:1.5; overflow-wrap:anywhere }

#scenes .gallery-note {margin:7px 0 0;color:var(--site-muted,#52655e);font-size:12px;line-height:1.5}
#scenes .park-aliases {margin:8px 0;color:var(--site-secondary,#476058);font-size:14px;line-height:1.65}
#scenes .mosaic button[hidden],#scenes .gallery-note[hidden] {display:none}
#scenes .mosaic button:first-of-type[hidden] ~ button:not([hidden]) {grid-row:auto}
#scenes .mosaic:not(.one):not(.two) button.tile-lead {grid-row:span 2}

#site #scenes .text-intro {display:block;color:var(--site-muted);margin:9px 0 4px}
#site #scenes .mosaic button img {position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
#site #scenes .mosaic button span {text-shadow:0 1px 2px #142c25}

.park-footer .directory-trail {display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:0 8px;margin:0 0 6px;color:var(--muted);font-size:13px}
.park-footer .directory-trail a {display:inline-flex;align-items:center;min-height:44px;color:var(--pine);text-decoration:none}

/* Keep partially decoded scanlines behind the brand mark until the image completes. */
#site .hero:has(>img[data-hero-media]) {background:#eef5f0}
#site .hero>img[data-hero-media] {opacity:0;background:none}
#site .hero>img[data-hero-media][data-ready="1"] {opacity:1}
:is(#site .hero,.lightbox) .photo-status {position:absolute;inset:0;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;pointer-events:none;color:#315e51;background:radial-gradient(ellipse at 48% 76%,#e3eee4,transparent 66%),#f1f6f2;font:500 14px/1.35 system-ui,sans-serif}
#site .hero>img[data-ready="1"]+.photo-status {display:none}
:is(#site .hero,.lightbox) .photo-status .photo-graphic {display:block;position:relative;width:170px;height:68px;background:url('/app/ui/media/states/loading.svg') center/contain no-repeat}
:is(#site .hero,.lightbox) .photo-emblem {position:absolute;left:39.58%;top:12.5%;width:20.8%;height:52%}
:is(#site .hero,.lightbox)[data-photo-state="delayed"] .photo-status .photo-graphic {background-image:url('/app/ui/media/states/delayed.svg')}
:is(#site .hero,.lightbox)[data-photo-state="unavailable"] .photo-status .photo-graphic {background-image:url('/app/ui/media/states/unavailable.svg')}
:is(#site .hero,.lightbox) .photo-status button:not([hidden]) {pointer-events:auto;z-index:1;background:white;color:#1c6456;border:1px solid #bfd4c8;border-radius:22px;min-height:44px;padding:0 17px;font:600 14px system-ui}
#site .hero[data-photo-state]:not([data-photo-state="ready"])::after {visibility:hidden}

.lightbox {position:relative}
.lightbox .photo-status:not([hidden]) {inset:0 0 auto;height:clamp(140px,32vh,275px);border-radius:13px}
.lightbox .photo-status[hidden] {display:none}
.lightbox[data-photo-state]:not([data-photo-state="ready"])>img {opacity:0}

@media(max-width:359px) {
  #site .park-choices > :is(button,a) {padding-inline:4px;gap:4px;font-size:13px;white-space:nowrap}
  #site .park-choices .ic {width:16px;height:16px;flex:none}
  #site .detail-sections .jump {gap:0}
  #site .detail-sections .jump a {padding-inline:4px;font-size:13px}
}

/* 相册/墓型大图：园区身份、来源标注与转化入口（全站共用） */
#sheet .album-who {display:flex;align-items:center;gap:8px;margin:0 0 8px;font-size:15px;color:#29473f}
#sheet .album-who strong {font-size:16px;font-weight:700;color:#1c6456}
#sheet .album-src {display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:6px;background:#e8f0ec;color:#527a6e;font-size:12px;font-weight:600}
#sheet .album-acts {display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0 2px}
#sheet .album-acts button {min-height:44px;padding:0 6px;border:1px solid #cfe0d7;border-radius:10px;background:#f2f8f5;color:#1c6456;font:600 14px/1.2 system-ui,sans-serif;cursor:pointer}
#sheet .album-acts button:first-child {background:#1c6456;border-color:#1c6456;color:#fff}
#sheet .album-acts button:active {transform:translateY(1px)}
#sheet .tm-enlarged figcaption {font-size:15px;color:#29473f;text-align:center;padding:8px 0 2px;line-height:1.45}
#sheet .album-who[hidden] {display:none}

/* ==========================================================================
   墓型大图 / 实景相册弹层：上下正常排布（图片→说明→操作），说明可读、按钮不遮
   修因：park.css 曾有一条无作用域的 figcaption{position:absolute;bottom:0}（本意只给 .gallery），
        把大图说明变成贴底覆盖层，压在操作按钮上形成灰色渐变遮挡。这里显式复位为文档流。
   ========================================================================== */
#sheet .tm-enlarged,
#sheet .lightbox { margin:0; display:flex; flex-direction:column; }
#sheet .tm-enlarged figcaption,
#sheet .lightbox figcaption {
  position:static; left:auto; right:auto; bottom:auto;
  display:block; margin:0; padding:10px 4px 2px;
  background:none; color:#274a42;
  font-size:15px; line-height:1.5; font-weight:600; text-align:center;
  letter-spacing:0; text-shadow:none;
}
#sheet .tm-enlarged img { border-radius:10px; max-height:min(46dvh,420px); height:auto; margin:0 auto; }
#sheet .lightbox img  { max-height:min(46dvh,420px); }

/* 操作区：跟说明保持固定间距，永远在说明下方、不覆盖任何文字 */
#sheet .album-acts { position:static; margin:12px 0 0; }
#sheet .album-step { margin-top:10px; }

/* 弹层本身：内容区独立滚动，头部与操作不被裁；iOS 动态视口与底部安全区 */
#sheet {
  max-height:92vh; max-height:92dvh;
  padding-bottom:calc(12px + env(safe-area-inset-bottom,0px));
  overscroll-behavior:contain; -webkit-overflow-scrolling:touch;
}
#sheet #content { padding-bottom:calc(4px + env(safe-area-inset-bottom,0px)); }
@supports (height:100dvh) { #sheet { max-height:92dvh; } }

/* 横屏/矮视口：图片让位，保证说明与按钮都在首屏可见 */
@media (max-height:560px) {
  #sheet .tm-enlarged img, #sheet .lightbox img { max-height:38vh; }
  #sheet .tm-enlarged figcaption, #sheet .lightbox figcaption { padding-top:8px; font-size:14px; }
}
#sheet .album-acts button { white-space:nowrap; font-size:14px; overflow:hidden; text-overflow:ellipsis; }

/* 到园路线 · 地图块（共享） */
#site .route-map { margin:12px 0 4px; }
#site .rm-stage { position:relative; isolation:isolate; contain:paint; height:190px; border-radius:14px; overflow:hidden; background:#e7efe9; }
#site .rm-stage[hidden] { display:none; }
#site .rm-loading { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; color:#4a6a61; font-size:14px; }
#site .rm-loading[hidden] { display:none; }
#site .rm-pulse { width:26px; height:26px; border-radius:50%; border:2px solid #bcd8cc; border-top-color:var(--site-brand,#137c6c); animation:rmSpin 900ms linear infinite; }
@keyframes rmSpin { to { transform:rotate(360deg) } }
@media (prefers-reduced-motion: reduce) { #site .rm-pulse { animation:none; } }
#site .rm-fallback { border:1px solid var(--site-line,#d6e4de); border-radius:14px; padding:16px; background:#f7fbf9; text-align:center; }
#site .rm-fallback[hidden] { display:none; }
#site .rm-fallback-t { margin:0 0 4px; font-weight:700; color:#1c4f44; }
#site .rm-fallback-s { margin:0 0 12px; font-size:14px; color:#527a6e; }
#site .rm-fallback-acts { display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }
#site .rm-open, #site .rm-fallback-acts button { min-height:44px; display:inline-flex; align-items:center; justify-content:center; padding:0 18px; border-radius:12px; font-weight:600; font-size:15px; }
#site .rm-open { background:var(--site-brand,#137c6c); color:#fff; text-decoration:none; }
#site .rm-fallback-acts button { border:1px solid #cfe0d7; background:#fff; color:var(--site-strong,#105e53); cursor:pointer; }
#site .rm-note { margin:8px 2px 0; font-size:12.5px; color:var(--site-muted,#586e68); line-height:1.5; }
