* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --brand: #2563eb; --brand-dark: #1d4ed8; --brand-light: #eff6ff;
  --surface: #ffffff; --bg: #f4f6f8; --text: #1a1a1a; --muted: #6b7280;
  --border: #e5e7eb; --success: #22c55e; --warn: #f59e0b; --danger: #ef4444;
  --radius: 12px; --shadow: 0 4px 20px rgba(15,23,42,.08);
  --pin-official: #2563eb; --pin-verified: #f97316; --pin-pending: #9ca3af;
  --map-float-gap: 12px;
  --map-list-w: 136px;
}
body.mp-page { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 14px; color: var(--text); background: var(--bg); min-height: 100vh; }
body.mp-page.has-tabbar { padding-bottom: calc(50px + env(safe-area-inset-bottom, 0)); }
.nav-bar { height: 44px; background: var(--surface); display: flex; align-items: center; padding: 0 12px; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 30; }
.nav-bar .back { color: var(--brand); min-width: 56px; cursor: pointer; font-size: 15px; }
.nav-bar .title { flex: 1; text-align: center; font-weight: 600; font-size: 16px; }
.nav-bar .nav-spacer { width: 56px; }
.nav-bar .nav-action { color: var(--brand); font-size: 14px; cursor: pointer; min-width: 56px; text-align: right; }
.tab-bar { position: fixed; bottom: 0; left: 0; right: 0; height: 50px; padding-bottom: env(safe-area-inset-bottom, 0); background: var(--surface); border-top: 1px solid var(--border); display: flex; z-index: 40; box-shadow: 0 -2px 12px rgba(0,0,0,.04); }
.tab-bar .tab { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 10px; color: #9ca3af; cursor: pointer; transition: color .15s; }
.tab-bar .tab.active { color: var(--brand); font-weight: 600; }
.tab-bar .tab .icon { font-size: 20px; margin-bottom: 2px; }
.page-scroll { padding-bottom: 80px; overflow-y: auto; max-height: calc(100vh - 44px); }
.page-scroll.has-tab { max-height: calc(100vh - 94px); padding-bottom: 16px; }
.map-page { position: relative; height: calc(100vh - 50px); overflow: hidden; }
.map-page.with-status { height: calc(100vh - 50px); }
.map-page.no-tab { height: calc(100vh - 44px); }
.map-page.compact { height: 280px; min-height: 280px; }
.leaflet-host { position: absolute; inset: 0; z-index: 1; background: #e5e7eb; }
.leaflet-host .amap-container { width: 100% !important; height: 100% !important; font-family: inherit; }
.amap-key-hint { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; padding: 20px; text-align: center; font-size: 13px; color: #6b7280; background: #f3f4f6; line-height: 1.5; }
.amap-key-hint code { display: block; margin-top: 8px; padding: 8px; background: #fff; border-radius: 8px; font-size: 10px; word-break: break-all; border: 1px solid #e5e7eb; }
.leaflet-host .leaflet-container { width: 100%; height: 100%; font-family: inherit; }
.map-ui-layer { position: absolute; inset: 0; z-index: 500; pointer-events: none; }
.map-ui-layer > * { pointer-events: auto; }
.map-ui-layer .map-pin-layer { pointer-events: none; }
.map-ui-layer .map-pin-layer .map-pin { pointer-events: auto; }
.map-ui-layer .map-pin-layer .map-spot-marker { pointer-events: auto; }
.amap-marker .map-spot-marker { position: relative; width: 14px; height: 14px; left: auto; top: auto; transform: none; max-width: none; padding: 0; overflow: visible; }
.amap-marker .map-spot-marker:active { transform: scale(1.04); }
.amap-marker .map-spot-marker .map-pin-dot { position: absolute; inset: 0; margin: 0; }
.amap-marker .map-spot-marker .map-pin-name { position: absolute; left: 50%; bottom: calc(100% + 3px); transform: translateX(-50%); white-space: nowrap; max-width: 128px; }
.leaflet-host .map-pin-layer { position: absolute; inset: 0; z-index: 110; overflow: visible; pointer-events: none; }
.leaflet-host .map-pin-layer .map-spot-marker { pointer-events: auto; }
.map-spot-marker { position: absolute; transform: translate(-50%, -50%); display: block; width: 14px; height: 14px; padding: 0; border: none; background: transparent; cursor: pointer; z-index: 10; overflow: visible; transition: transform .15s; }
.map-spot-marker:active { transform: translate(-50%, -50%) scale(1.04); }
.map-spot-marker .map-pin-dot { position: absolute; inset: 0; width: 14px; height: 14px; border-radius: 50%; border: 2.5px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.28); box-sizing: border-box; }
.map-spot-marker.official .map-pin-dot { background: var(--pin-official); }
.map-spot-marker.verified .map-pin-dot { background: var(--pin-verified); }
.map-spot-marker.pending .map-pin-dot { background: var(--pin-pending); }
.map-spot-marker.fav .map-pin-dot::after { content: "★"; position: absolute; top: -10px; right: -10px; font-size: 10px; color: #eab308; text-shadow: 0 1px 2px #fff; line-height: 1; }
.map-spot-marker .map-pin-name { font-size: 10px; line-height: 1.25; font-weight: 600; color: #fff; text-align: center; background: rgba(15, 23, 42, .92); padding: 3px 7px; border-radius: 6px; box-shadow: 0 1px 5px rgba(0, 0, 0, .28); border: 1px solid rgba(15, 23, 42, .95); white-space: nowrap; max-width: 118px; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.leaflet-host.map-night:not(.map-satellite) .map-spot-marker .map-pin-name { color: #1e293b; background: rgba(255, 255, 255, .94); border: 1px solid rgba(226, 232, 240, .95); box-shadow: 0 1px 5px rgba(15, 23, 42, .14); }
.map-spot-marker .map-pin-name { position: absolute; left: 50%; bottom: calc(100% + 3px); transform: translateX(-50%); }
.map-ui-layer .spot-sheet { pointer-events: auto; }
.leaf-pin-wrap { background: transparent; border: none; }
.leaf-pin { position: relative; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.35); box-sizing: border-box; }
.leaf-pin.official { background: var(--pin-official); }
.leaf-pin.verified { background: var(--pin-verified); }
.leaf-pin.pending { background: var(--pin-pending); }
.leaf-pin.user { background: var(--success); box-shadow: 0 0 0 7px rgba(34,197,94,.22); }
.leaf-pin.fav::after { content: "★"; position: absolute; top: -10px; right: -10px; font-size: 11px; color: #eab308; }
.leaf-cluster-wrap { background: transparent; border: none; }
.leaf-cluster { min-width: 36px; height: 36px; padding: 0 8px; border-radius: 18px; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 3px solid #fff; box-shadow: var(--shadow); }
.map-select-hint { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; font-size: 11px; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.65); z-index: 502; pointer-events: none; }
.map-bg { position: absolute; inset: 0; background: linear-gradient(165deg, #bfdbfe 0%, #dbeafe 35%, #ecfdf5 70%, #f0fdf4 100%); }
.map-grid { position: absolute; inset: 0; opacity: .25; background-image: linear-gradient(#64748b 1px, transparent 1px), linear-gradient(90deg, #64748b 1px, transparent 1px); background-size: 48px 48px; }
.map-roads { position: absolute; inset: 0; opacity: .15; background: repeating-linear-gradient(45deg, transparent, transparent 80px, #475569 80px, #475569 82px); }
.map-pin { position: absolute; width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.28); cursor: pointer; transform: translate(-50%, -50%); transition: transform .15s; z-index: 10; }
.map-pin:active { transform: translate(-50%, -50%) scale(1.15); }
.map-pin.official { background: var(--pin-official); }
.map-pin.verified { background: var(--pin-verified); }
.map-pin.pending { background: var(--pin-pending); }
.map-pin.fav::after { content: "★"; position: absolute; top: -11px; right: -11px; font-size: 11px; color: #eab308; text-shadow: 0 1px 2px #fff; }
.map-cluster { position: absolute; min-width: 36px; height: 36px; padding: 0 8px; border-radius: 18px; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 3px solid #fff; box-shadow: var(--shadow); cursor: pointer; transform: translate(-50%, -50%); z-index: 9; }
.map-me { position: absolute; left: 50%; top: 52%; width: 18px; height: 18px; background: var(--success); border: 3px solid #fff; border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 8px rgba(34,197,94,.22); z-index: 11; }
.map-crosshair { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px; border: 2px solid var(--brand); border-radius: 4px; z-index: 12; pointer-events: none; }
.map-crosshair::before, .map-crosshair::after { content: ""; position: absolute; background: var(--brand); }
.map-crosshair::before { width: 2px; height: 56px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.map-crosshair::after { width: 56px; height: 2px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.map-fab-col { position: absolute; right: var(--map-float-gap); bottom: var(--map-float-gap); z-index: 600; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; max-height: calc(100% - var(--map-float-gap) * 2); overflow: visible; }
.map-fab { width: auto; min-height: 36px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.96); border: 1px solid rgba(226,232,240,.95); box-shadow: var(--shadow); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 5px; color: var(--text); flex-shrink: 0; }
.map-fab-ico { font-size: 15px; line-height: 1; flex-shrink: 0; }
.map-fab-ico.map-fab-ico-text { font-size: 11px; font-weight: 800; letter-spacing: -.02em; min-width: 22px; text-align: center; }
.map-fab-label { font-size: 12px; line-height: 1; font-weight: 600; white-space: nowrap; }
.map-fab.is-disabled { opacity: .42; cursor: not-allowed; }
.leaflet-host.map-satellite .map-bg { background: linear-gradient(165deg, #14532d 0%, #166534 38%, #365314 72%, #1c1917 100%); }
.leaflet-host.map-satellite .map-grid { opacity: .14; background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px); }
.leaflet-host.map-night:not(.map-satellite) .map-bg { background: linear-gradient(165deg, #0f172a 0%, #1e293b 42%, #111827 78%, #020617 100%); }
.leaflet-host.map-night:not(.map-satellite) .map-grid { opacity: .18; background-image: linear-gradient(rgba(148,163,184,.45) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,184,.45) 1px, transparent 1px); }
.wx-loc-body { background: #ededed; min-height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
.wx-loc-page { display: flex; flex-direction: column; height: 100vh; background: #f7f7f7; }
.wx-loc-nav { height: 44px; padding: 0 12px; display: flex; align-items: center; background: #ededed; border-bottom: 1px solid #d9d9d9; flex-shrink: 0; }
.wx-loc-cancel, .wx-loc-confirm { border: none; background: transparent; font-size: 16px; padding: 0; cursor: pointer; min-width: 48px; }
.wx-loc-cancel { color: #111; text-align: left; }
.wx-loc-confirm { color: #96c8a8; text-align: right; font-weight: 600; }
.wx-loc-confirm.ready { color: #07c160; }
.wx-loc-title { flex: 1; text-align: center; font-size: 17px; font-weight: 600; color: #111; }
.wx-loc-search { display: flex; align-items: center; gap: 8px; margin: 8px 10px; padding: 8px 12px; background: #fff; border-radius: 6px; border: 1px solid #e5e5e5; flex-shrink: 0; }
.wx-loc-search span { font-size: 15px; opacity: .45; }
.wx-loc-search input { flex: 1; border: none; outline: none; font-size: 15px; background: transparent; min-width: 0; }
.wx-loc-map-wrap { position: relative; flex: 1; min-height: 180px; background: #dbeafe; overflow: hidden; }
.wx-loc-map-wrap .leaflet-host { position: absolute; inset: 0; }
.wx-loc-map-wrap .map-crosshair { z-index: 20; }
.wx-loc-poi-list { flex-shrink: 0; max-height: 42vh; overflow-y: auto; background: #fff; border-top: 1px solid #e5e5e5; }
.wx-loc-poi { padding: 12px 14px; border-bottom: 1px solid #f0f0f0; cursor: pointer; }
.wx-loc-poi.on { background: #f6fffb; }
.wx-loc-poi.on .wx-loc-poi-name { color: #07c160; }
.wx-loc-poi-name { font-size: 15px; font-weight: 600; color: #111; line-height: 1.35; }
.wx-loc-poi-addr { font-size: 12px; color: #888; margin-top: 3px; line-height: 1.4; }
.wx-loc-native-hint { padding: 8px 12px; font-size: 11px; color: #888; background: #fafafa; border-top: 1px solid #eee; text-align: center; flex-shrink: 0; }
.map-legend { position: relative; left: auto; bottom: auto; flex-shrink: 0; z-index: 510; background: rgba(255,255,255,.94); padding: 8px 10px; border-radius: 10px; font-size: 10px; color: var(--muted); box-shadow: var(--shadow); line-height: 1.4; display: flex; flex-direction: column; gap: 6px; width: 100%; box-sizing: border-box; }
.map-legend-row { display: flex; align-items: center; gap: 5px; min-width: 0; }
.map-legend-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.map-legend-dot.official { background: var(--pin-official); }
.map-legend-dot.verified { background: var(--pin-verified); }
.map-legend-dot.pending { background: var(--pin-pending); }
.map-legend-label { flex: 1; font-size: 10px; color: var(--text); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.legend-switch { width: 30px; height: 18px; border-radius: 999px; border: none; background: #cbd5e1; position: relative; cursor: pointer; flex-shrink: 0; padding: 0; transition: background .2s; }
.legend-switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.legend-switch.on { background: var(--brand); }
.legend-switch.on::after { transform: translateX(12px); }
.map-legend-row.is-off { opacity: .55; }
.map-left-top { flex-shrink: 0; display: flex; flex-direction: column; width: 100%; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); background: rgba(255,255,255,.94); }
.map-left-top .map-legend { box-shadow: none; border-radius: 0; background: transparent; padding-bottom: 6px; }
.map-list-toggle-btn { width: 100%; border: none; border-top: 1px solid #f3f4f6; background: transparent; color: var(--brand); font-size: 11px; font-weight: 600; padding: 7px 8px; cursor: pointer; line-height: 1.3; flex-shrink: 0; }
.map-left-col { position: absolute; left: 0; top: 0; bottom: 0; width: var(--map-list-w); z-index: 550; display: flex; flex-direction: column; gap: 6px; padding: 4px 0 var(--map-float-gap) 4px; box-sizing: border-box; pointer-events: auto; }
.map-ui-layer:not(.list-open) .map-spot-list { display: none; }
.map-spot-list { flex: 1; min-height: 0; display: flex; flex-direction: column; background: rgba(255,255,255,.94); border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; }
.map-spot-list-sub { padding: 8px 8px 6px; font-size: 10px; color: var(--muted); line-height: 1.35; flex-shrink: 0; border-bottom: 1px solid #f3f4f6; }
.map-spot-list-scroll { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.map-spot-list-item { display: block; width: 100%; border: none; background: transparent; text-align: left; padding: 8px; border-bottom: 1px solid #f3f4f6; cursor: pointer; }
.map-spot-list-item:last-child { border-bottom: none; }
.map-spot-list-item:active { background: #f9fafb; }
.map-spot-list-item.on { background: var(--brand-light); }
.map-spot-list-item .sl-name { font-size: 11px; font-weight: 600; color: var(--text); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.map-spot-list-item .sl-meta { margin-top: 4px; font-size: 10px; color: var(--muted); display: flex; align-items: center; gap: 3px; flex-wrap: wrap; }
.map-spot-list-item .sl-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.map-spot-list-empty { padding: 16px 10px; font-size: 11px; color: var(--muted); text-align: center; line-height: 1.5; }
.map-ui-layer .map-top-stack { left: calc(var(--map-list-w) + 4px); }
.filter-bar { position: relative; width: 100%; min-width: 0; box-sizing: border-box; }
.filter-bar .chip-more { position: absolute; top: 0; right: 0; z-index: 3; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; row-gap: 6px; align-items: center; width: 100%; min-width: 0; box-sizing: border-box; padding-right: 76px; --chip-row-h: 32px; }
.filter-bar:not(.expanded) .filter-chips { max-height: var(--chip-row-h); overflow: hidden; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; row-gap: 6px; align-items: center; }
.chip { box-sizing: border-box; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.95); border: 1px solid var(--border); font-size: 12px; line-height: 1.25; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.06); transition: all .15s; }
.chip.on { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 2px 8px rgba(37,99,235,.35); }
.chip-more { color: var(--brand); border-color: #bfdbfe; background: #fff; }
.filter-bar.expanded .chip-more { background: var(--brand-light); }
.map-top-stack { position: absolute; top: 4px; left: 8px; right: 8px; z-index: 510; display: flex; flex-direction: column; gap: 6px; pointer-events: none; }
.map-top-stack > * { pointer-events: auto; }
.discover-filter { padding: 8px 12px 4px; background: #fff; border-bottom: 1px solid #f3f4f6; }
.discover-filter .filter-row { padding-bottom: 4px; flex-wrap: wrap; row-gap: 6px; }
.discover-filter-hint { font-size: 11px; color: #9ca3af; padding: 0 4px 6px; }
.file-mode-banner { position: relative; top: auto; left: auto; right: auto; z-index: auto; background: rgba(255,255,255,.94); color: #475569; padding: 6px 10px; border-radius: 8px; font-size: 10px; line-height: 1.45; box-shadow: var(--shadow); border: 1px solid #e2e8f0; pointer-events: none; }
.loc-banner { position: relative; top: auto; left: auto; right: auto; z-index: auto; background: linear-gradient(90deg, #fef3c7, #fffbeb); color: #92400e; padding: 10px 12px; border-radius: 10px; font-size: 12px; display: none; box-shadow: var(--shadow); border: 1px solid #fde68a; }
.loc-banner.show { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.loc-banner .loc-btn { flex-shrink: 0; padding: 4px 10px; background: var(--brand); color: #fff; border-radius: 6px; font-size: 11px; cursor: pointer; border: none; }
.spot-sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 520; background: var(--surface); border-radius: 20px 20px 0 0; box-shadow: 0 -8px 32px rgba(0,0,0,.14); transform: translateY(110%); transition: transform .28s cubic-bezier(.4,0,.2,1); max-height: 58vh; overflow-y: auto; }
.spot-sheet.show { transform: translateY(0); }
.sheet-handle { width: 40px; height: 5px; background: #d1d5db; border-radius: 3px; margin: 10px auto 6px; cursor: grab; }
.sheet-head { display: flex; gap: 12px; padding: 0 16px 8px; }
.sheet-thumb { width: 72px; height: 72px; border-radius: 10px; background: linear-gradient(135deg, #667eea, #764ba2); flex-shrink: 0; }
.sheet-title { font-size: 18px; font-weight: 700; line-height: 1.3; }
.sheet-meta { padding: 0 16px 8px; font-size: 12px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.sheet-meta .badge-pill { background: var(--brand-light); color: var(--brand); padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; }
.sheet-icons { display: flex; gap: 20px; padding: 10px 16px; font-size: 11px; color: #374151; border-top: 1px solid #f3f4f6; border-bottom: 1px solid #f3f4f6; }
.sheet-icons span { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.sheet-icons .ico { font-size: 18px; }
.btn-nav { display: block; margin: 12px 16px; padding: 14px; text-align: center; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; border-radius: 12px; font-weight: 600; cursor: pointer; border: none; width: calc(100% - 32px); font-size: 15px; box-shadow: 0 4px 14px rgba(37,99,235,.35); }
.sheet-expand { padding: 0 16px 20px; display: none; }
.spot-sheet.expanded .sheet-expand { display: block; }
.sheet-photos { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.sheet-photos::-webkit-scrollbar { display: none; }
.sheet-photos .ph { flex-shrink: 0; width: 100px; height: 72px; border-radius: 8px; background: linear-gradient(135deg, #a8edea, #fed6e3); }
.sheet-expand p { font-size: 13px; color: #4b5563; line-height: 1.55; margin-bottom: 8px; }
.link-detail { color: var(--brand); font-size: 13px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; }
.section { padding: 14px 16px; }
.section-title { font-size: 17px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.section-title .left { display: flex; align-items: center; gap: 8px; }
.section-title .left::before { content: ""; width: 4px; height: 18px; background: var(--brand); border-radius: 2px; }
.section-title .more { font-size: 13px; color: var(--brand); font-weight: 500; cursor: pointer; }
.topic-scroll { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.topic-scroll::-webkit-scrollbar { display: none; }
.topic-card { flex-shrink: 0; width: 210px; border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); cursor: pointer; transition: transform .15s; }
.topic-card:active { transform: scale(.98); }
.topic-card .topic-cover { width: 100%; height: 96px; background: linear-gradient(135deg, #667eea, #764ba2); display: block; position: relative; }
.topic-card .topic-cover .tag { position: absolute; top: 8px; left: 8px; background: rgba(0,0,0,.45); color: #fff; font-size: 10px; padding: 2px 8px; border-radius: 4px; }
.topic-card .t-body { padding: 12px; font-size: 14px; font-weight: 600; line-height: 1.4; }
.feed-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; box-shadow: var(--shadow); cursor: pointer; }
.feed-card .feed-img { height: 168px; background: linear-gradient(135deg, #a8edea, #fed6e3); position: relative; }
.feed-card .feed-img .author { position: absolute; bottom: 10px; left: 10px; display: flex; align-items: center; gap: 6px; color: #fff; font-size: 11px; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.feed-card .feed-img .author-av { width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.4); display: flex; align-items: center; justify-content: center; }
.feed-card .feed-body { padding: 14px; }
.feed-card h4 { font-size: 16px; margin-bottom: 6px; font-weight: 700; }
.feed-card p { font-size: 13px; color: var(--muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.tag { font-size: 11px; padding: 3px 9px; border-radius: 6px; background: var(--brand-light); color: var(--brand); font-weight: 500; }
.list-item { background: var(--surface); padding: 14px 16px; border-bottom: 1px solid #f3f4f6; display: flex; justify-content: space-between; align-items: center; cursor: pointer; gap: 12px; }
.list-item:active { background: #f9fafb; }
.list-item .li-thumb { width: 56px; height: 56px; border-radius: 10px; background: linear-gradient(135deg, #dbeafe, #bfdbfe); flex-shrink: 0; }
.list-item .li-body { flex: 1; min-width: 0; }
.list-item .li-body b { display: block; font-size: 15px; margin-bottom: 4px; }
.list-item .li-body small { font-size: 12px; color: var(--muted); line-height: 1.4; }
.list-item .li-action { color: var(--brand); font-size: 13px; font-weight: 600; flex-shrink: 0; }
.btn-primary { display: block; width: calc(100% - 32px); margin: 16px; padding: 15px; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; text-align: center; border-radius: var(--radius); font-size: 16px; font-weight: 600; border: none; cursor: pointer; box-shadow: 0 4px 14px rgba(37,99,235,.3); }
.btn-secondary { display: block; width: calc(100% - 32px); margin: 0 16px 16px; padding: 15px; background: var(--surface); color: var(--brand); text-align: center; border-radius: var(--radius); font-size: 16px; font-weight: 600; border: 2px solid var(--brand); cursor: pointer; }
.checkin-hero { margin: 16px; padding: 28px 20px; background: linear-gradient(145deg, #2563eb, #1e40af); border-radius: 16px; color: #fff; text-align: center; box-shadow: 0 8px 24px rgba(37,99,235,.35); }
.checkin-hero .ico-big { font-size: 48px; margin-bottom: 8px; }
.checkin-hero h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.checkin-hero p { font-size: 13px; opacity: .88; }
.btn-row { display: flex; flex-direction: column; gap: 12px; padding: 0 16px; margin-top: -20px; position: relative; z-index: 2; }
.btn-row .btn-primary, .btn-row .btn-secondary { width: 100%; margin: 0; }
.profile-header { background: linear-gradient(145deg, #2563eb 0%, #1d4ed8 50%, #1e3a8a 100%); color: #fff; padding: 28px 16px 32px; display: flex; align-items: center; gap: 14px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; font-size: 32px; border: 2px solid rgba(255,255,255,.4); }
.profile-badge { display: inline-block; margin-top: 6px; padding: 2px 10px; background: rgba(255,255,255,.2); border-radius: 999px; font-size: 11px; }
.stats { display: flex; background: var(--surface); margin: -24px 16px 12px; border-radius: var(--radius); box-shadow: var(--shadow); position: relative; z-index: 2; }
.stat { flex: 1; text-align: center; padding: 16px 4px; border-right: 1px solid #f3f4f6; }
.stat:last-child { border-right: none; }
.stat b { display: block; font-size: 22px; color: var(--brand); font-weight: 700; }
.stat span { font-size: 11px; color: var(--muted); margin-top: 2px; display: block; }
.menu-list { background: var(--surface); margin: 0 16px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.menu-list .list-item .menu-ico { width: 32px; height: 32px; border-radius: 8px; background: var(--brand-light); display: flex; align-items: center; justify-content: center; font-size: 16px; margin-right: 4px; }
.form-group { padding: 14px 16px; background: var(--surface); border-bottom: 1px solid #f3f4f6; }
.form-group label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: 10px; font-size: 14px; background: #fafafa; }
.form-section-title { padding: 16px 16px 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.upload-zone { min-height: 88px; border: 2px dashed #cbd5e1; border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #94a3b8; gap: 6px; background: #fafafa; cursor: pointer; }
.upload-grid { display: flex; gap: 8px; flex-wrap: wrap; }
.upload-grid .upload-zone { width: calc(33.33% - 6px); min-height: 80px; font-size: 12px; }
.timeline-item { padding: 14px 16px; margin: 0 16px 10px; background: var(--surface); border-radius: var(--radius); box-shadow: 0 1px 4px rgba(0,0,0,.05); display: flex; gap: 12px; align-items: flex-start; }
.timeline-item .tl-thumb { width: 48px; height: 48px; border-radius: 8px; background: linear-gradient(135deg, #fef3c7, #fde68a); flex-shrink: 0; }
.timeline-item .tl-body { flex: 1; }
.timeline-item .tl-time { font-size: 11px; color: var(--muted); margin-bottom: 4px; }
.timeline-item .tl-name { font-size: 14px; font-weight: 600; }
.timeline-item .tl-badge { font-size: 10px; color: var(--brand); background: var(--brand-light); padding: 2px 6px; border-radius: 4px; margin-top: 4px; display: inline-block; }
.detail-hero { height: 220px; background: linear-gradient(135deg, #667eea, #764ba2); position: relative; }
.detail-hero .gallery-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.detail-hero .gallery-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.5); }
.detail-hero .gallery-dots span.on { background: #fff; width: 18px; border-radius: 3px; }
.detail-panel { background: var(--surface); margin-top: -16px; border-radius: 16px 16px 0 0; padding: 20px 16px 100px; position: relative; }
.facility-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0; }
.facility-grid .fac { text-align: center; font-size: 11px; color: var(--muted); }
.facility-grid .fac .ico { font-size: 22px; display: block; margin-bottom: 4px; }
.review-card { background: #f9fafb; padding: 12px; border-radius: 10px; margin-top: 10px; }
.review-card .stars { color: #fbbf24; font-size: 12px; margin-bottom: 4px; }
.bottom-bar { position: fixed; bottom: 0; left: 0; right: 0; padding: 12px 16px; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0)); background: var(--surface); border-top: 1px solid var(--border); display: flex; gap: 10px; z-index: 30; box-shadow: 0 -4px 16px rgba(0,0,0,.06); }
.bottom-bar .btn-fav { width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--border); background: #fff; font-size: 20px; cursor: pointer; flex-shrink: 0; }
.bottom-bar .btn-nav { flex: 1; margin: 0; width: auto; }
.toast { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(15,23,42,.88); color: #fff; padding: 14px 22px; border-radius: 12px; font-size: 14px; z-index: 999; opacity: 0; pointer-events: none; transition: opacity .2s; backdrop-filter: blur(8px); }
.toast.show { opacity: 1; }
.hidden { display: none !important; }
.guide-page { background: #0f172a; color: #fff; min-height: 100vh; padding-bottom: 80px; }
.guide-progress { display: flex; gap: 6px; justify-content: center; padding: 12px 0 0; }
.guide-progress span { width: 24px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.2); }
.guide-progress span.on { background: #60a5fa; }
.guide-skip { position: fixed; top: 12px; right: 16px; z-index: 50; color: rgba(255,255,255,.85); font-size: 14px; cursor: pointer; }
.guide-hero { height: 36vh; background: linear-gradient(180deg, rgba(0,0,0,.15), #0f172a), url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 400 200\"><rect fill=\"%23667eea\" width=\"400\" height=\"200\"/><circle fill=\"%23fbbf24\" cx=\"320\" cy=\"50\" r=\"30\"/></svg>') center/cover; }
.guide-hero--loc { background: linear-gradient(180deg, rgba(0,0,0,.3), #0f172a), linear-gradient(135deg, #1e3a8a, #2563eb); display:flex;align-items:center;justify-content:center;font-size:56px; }
.guide-content { padding: 20px 16px; }
.guide-content--center { text-align: center; }
.guide-title { font-size: 24px; font-weight: 700; line-height: 1.35; margin-bottom: 10px; }
.guide-sub { font-size: 14px; color: rgba(255,255,255,.75); line-height: 1.5; margin-bottom: 16px; }
.guide-options { display: flex; flex-direction: column; gap: 10px; }
.guide-opt { padding: 16px; border-radius: 14px; border: 2px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05); cursor: pointer; transition: all .15s; }
.guide-opt.selected { border-color: #60a5fa; background: rgba(37,99,235,.22); box-shadow: 0 0 0 1px rgba(96,165,250,.3); }
.guide-opt b { display: block; font-size: 15px; margin-bottom: 6px; }
.guide-opt small { font-size: 12px; color: rgba(255,255,255,.68); line-height: 1.45; }
.guide-next { position: fixed; bottom: 24px; left: 16px; right: 16px; padding: 15px; border: none; border-radius: 14px; background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff; font-size: 16px; font-weight: 600; cursor: pointer; box-shadow: 0 4px 20px rgba(37,99,235,.4); }
.guide-next:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }
.guide-hint { font-size: 12px; color: rgba(255,255,255,.45); margin-top: 16px; }
.discover-immersive .section:not(.immersive-hero) { display: none; }
.discover-immersive .immersive-hero { padding-top: 8px; }
.discover-immersive .topic-scroll { flex-direction: column; }
.discover-immersive .topic-card { width: 100%; }
.discover-immersive .topic-card .topic-cover { height: 220px; }
.discover-more { text-align: right; padding: 0 0 8px; color: #2563eb; font-size: 13px; font-weight: 600; cursor: pointer; }
.roadbook-cover { height: 120px; background: linear-gradient(135deg, #11998e, #38ef7d); border-radius: var(--radius); margin-bottom: 12px; position: relative; }
.match-card { margin: 16px; padding: 16px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; border: 2px solid var(--brand-light); }
.match-card .mc-thumb { width: 64px; height: 64px; border-radius: 10px; background: linear-gradient(135deg, #667eea, #764ba2); }
