xc-bottom-nav { position: absolute; z-index: var(--z-nav); left: 0; right: 0; bottom: 0; }
.bottom-nav { height: calc(80px + var(--safe-bottom)); padding: 8px 10px calc(10px + var(--safe-bottom)); display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; border-top: 1px solid var(--line); background: rgba(255, 253, 249, .98); backdrop-filter: blur(18px); }
.bottom-nav button { display: flex; flex-direction: column; align-items: center; gap: 3px; color: #26231f; font-size: 12px; }
.bottom-nav .nav-icon { transition: transform var(--dur-med) var(--ease-out); }
.bottom-nav button.is-active .nav-icon { transform: translateY(-2px) scale(1.08); }
.nav-icon { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.bottom-nav button.is-active { color: var(--orange); font-weight: 700; }
.page-header { position: sticky; z-index: var(--z-header); top: 0; min-height: 74px; margin-top: -34px; padding: 38px 17px 9px; display: grid; grid-template-columns: 48px 1fr 78px; align-items: center; border-bottom: 1px solid rgba(130, 91, 54, .08); background: rgba(255, 250, 242, .95); backdrop-filter: blur(18px); }
.page-header h1 { overflow: hidden; font: 750 19px/1.2 "PingFang SC", sans-serif; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.page-header > div { display: flex; }
.page-header > div:last-child { justify-content: flex-end; }
.page-header [data-back] { width: 38px; height: 34px; font-size: 36px; line-height: .7; text-align: left; }
xc-mini-capsule { width: 78px; height: 31px; padding: 0 11px; display: flex; align-items: center; justify-content: space-between; border-radius: 18px; background: rgba(91, 83, 72, .58); color: white; backdrop-filter: blur(12px); }
xc-mini-capsule span { letter-spacing: 2px; transform: translateY(-2px); }
xc-mini-capsule i { width: 1px; height: 17px; background: rgba(255,255,255,.55); }
xc-mini-capsule b { width: 16px; height: 16px; border: 3px solid white; border-radius: 50%; }
.category-grid { margin: -18px 16px 0; padding: 17px 7px 15px; position: relative; z-index: 4; display: grid; grid-template-columns: repeat(4, 1fr); row-gap: 11px; border-radius: 24px; background: rgba(255, 252, 246, .99); box-shadow: var(--shadow); }
.category-grid button { min-width: 0; min-height: 76px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-radius: 14px; font-size: 13px; font-weight: 650; }
.category-grid button:hover { background: var(--orange-soft); color: var(--orange-dark); }
.category-grid img { width: 67px; height: 57px; object-fit: contain; }
.guide-card { width: 100%; overflow: hidden; border-radius: 18px; background: white; box-shadow: var(--shadow-soft); text-align: left; transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) ease; }
.guide-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.guide-card > img { width: 100%; height: 142px; object-fit: cover; object-position: center 28%; }
.guide-card > div { padding: 13px 12px 14px; }
.guide-card h2 { font: 750 17px/1.25 "PingFang SC", sans-serif; }
.guide-card strong { display: inline-flex; margin-top: 6px; padding: 4px 8px; border-radius: 9px; background: var(--orange-soft); color: var(--orange-dark); font-size: 10px; }
.guide-card p { margin: 9px 0; display: -webkit-box; overflow: hidden; color: #5e554d; font-size: 11px; line-height: 1.55; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.guide-card span { color: var(--jade-dark); font-size: 9.5px; line-height: 1.45; }
.trip-card { position: relative; width: 100%; min-height: 170px; overflow: hidden; display: block; border-radius: 22px; color: white; box-shadow: var(--shadow); text-align: left; }
.trip-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trip-card > i { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(29, 24, 20, .76), rgba(29, 24, 20, .04)); }
.trip-card > div { position: relative; z-index: 1; width: 72%; padding: 20px; }
.trip-card small { display: inline-flex; padding: 4px 8px; border-radius: 10px; background: rgba(255, 255, 255, .2); font-weight: 700; }
.trip-card h3 { margin: 7px 0 5px; font: 700 22px/1.2 var(--font-serif); }
.trip-card p { display: -webkit-box; overflow: hidden; font-size: 12px; line-height: 1.5; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.trip-card b { display: block; margin-top: 9px; font-size: 11px; }
.knowledge-source { margin-top: 8px; padding: 9px 11px; display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; border-left: 3px solid var(--gold); border-radius: 8px; background: rgba(255, 248, 231, .95); color: #6f5c3f; font-size: 10px; }
.knowledge-source span { color: var(--muted); }
.knowledge-source strong { grid-column: 1; }
.knowledge-source em { grid-column: 2; grid-row: 1 / span 2; align-self: center; padding: 4px 7px; border-radius: 9px; background: #e6f3eb; color: var(--jade-dark); font-style: normal; }
.section-title { display: flex; align-items: center; justify-content: space-between; }
.section-title h2 { font: 700 18px/1.2 var(--font-serif); }
.section-title button { color: var(--muted); font-size: 12px; }
.modal-layer { position: absolute; z-index: var(--z-overlay); inset: 0; display: flex; align-items: flex-end; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(13, 27, 23, .56); backdrop-filter: blur(3px); animation: backdrop-in var(--dur-med) ease both; }
.modal-sheet { position: relative; z-index: 1; width: 100%; max-height: 86%; overflow: auto; padding: 8px 18px calc(24px + var(--safe-bottom)); border-radius: 28px 28px 0 0; background: var(--paper); box-shadow: 0 -18px 50px rgba(16, 22, 18, .18); animation: sheet-in 260ms var(--ease-out) both; }
.modal-sheet > i { width: 46px; height: 5px; margin: 2px auto 13px; display: block; border-radius: 5px; background: #dac9b7; }
.modal-sheet > button { position: absolute; top: 21px; right: 18px; color: var(--orange-dark); font-weight: 700; }
.sheet-heading h2 { padding-right: 50px; font: 700 24px/1.2 var(--font-serif); }
.sheet-heading p { margin-top: 5px; color: var(--muted); font-size: 12px; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(36px); } }
@keyframes backdrop-in { from { opacity: 0; } }
.search-input { width: 100%; height: 46px; margin-top: 16px; padding: 0 15px; border: 1px solid var(--line); border-radius: 23px; background: white; outline: none; transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease; }
.search-input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(241, 90, 26, 0.12); }
.search-results { margin-top: 11px; display: grid; gap: 8px; }
.search-result { padding: 8px; display: grid; grid-template-columns: 66px 1fr 18px; gap: 10px; align-items: center; border-radius: 13px; background: white; text-align: left; transition: background-color var(--dur-fast) ease, transform var(--dur-fast) var(--ease-out); }
.search-result:hover { background: var(--paper-strong); transform: translateX(2px); }
.search-result img { width: 66px; height: 56px; border-radius: 10px; object-fit: cover; }
.search-result span, .search-result strong, .search-result small { min-width: 0; display: block; }
.search-result small { margin-top: 3px; overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.primary-action { min-height: 48px; border-radius: 24px; background: linear-gradient(90deg, var(--orange), #ff982e); color: white; font-weight: 700; box-shadow: 0 8px 18px rgba(241, 90, 26, .22); }
.secondary-action { min-height: 48px; border: 1px solid var(--orange); border-radius: 24px; color: var(--orange); font-weight: 700; }
.empty-card { padding: 36px 22px; border: 1px dashed rgba(79, 141, 114, .28); border-radius: 18px; background: rgba(255,255,255,.5); color: var(--muted); text-align: center; }

@media (max-width: 380px) {
  .category-grid { margin-left: 10px; margin-right: 10px; }
  .category-grid img { width: 61px; height: 52px; }
  .guide-card > img { height: 128px; }
}
