* { margin: 0px; padding: 0px; box-sizing: border-box; }
html, body { height: 100%; width: 100%; overflow: auto; font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif; font-size: 14px; color: rgb(51, 51, 51); }
a { text-decoration: none; color: inherit; }
ul, li { list-style: none; }
input, button { outline: none; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; font-family: inherit; }
#app { display: flex; height: 100%; width: 100%; overflow: hidden; position: relative; }
.sidebar { width: 200px; min-width: 200px; height: 100%; background: rgb(255, 255, 255); border-right: 1px solid rgb(224, 224, 224); display: flex; flex-direction: column; position: relative; z-index: 1000; transition: margin-left 0.3s; overflow: hidden; }
.sidebar.collapsed { margin-left: -200px; }
.sidebar-toggle { position: absolute; left: 200px; top: 50%; transform: translateY(-50%); z-index: 1001; width: 20px; height: 48px; background: #3498db; color: rgb(255, 255, 255); border-radius: 0px 6px 6px 0px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: left 0.3s, background 0.2s; box-shadow: rgba(0, 0, 0, 0.15) 2px 0px 6px; font-size: 16px; user-select: none; }
.sidebar-toggle:hover { background: #2980b9; }
.sidebar.collapsed ~ .sidebar-toggle { left: 0px; border-radius: 0px 6px 6px 0px; }
@media (max-width: 480px) {
  .sidebar.collapsed { margin-left: -195px; }
  .sidebar-toggle { left: 195px; }
}
.toggle-icon { pointer-events: none; transition: transform 0.3s; }
.sidebar-header { padding: 15px; background: #3498db; color: rgb(255, 255, 255); text-align: center; flex-shrink: 0; }
.sidebar-header h1 { font-size: 18px; font-weight: bold; display: flex; align-items: center; justify-content: center; gap: 6px; }
.sidebar-logo { height: 40px; width: auto; flex-shrink: 0; }
.sidebar-header .subtitle { font-size: 12px; opacity: 0.8; margin-top: 4px; }
.sidebar-search { padding: 8px; border-bottom: 1px solid rgb(238, 238, 238); flex-shrink: 0; display: flex; gap: 4px; position: relative; }
.sidebar-search input { flex: 1 1 0%; min-width: 0px; height: 32px; border: 1px solid rgb(221, 221, 221); border-radius: 4px; padding: 0px 6px; font-size: 12px; }
.sidebar-search button { width: 44px; height: 32px; background: #3498db; color: rgb(255, 255, 255); border-radius: 4px; cursor: pointer; font-size: 12px; flex-shrink: 0; }
.sidebar-search button:hover { background: #2980b9; }
.search-results { position: absolute; top: calc(100% + 4px); left: 4px; right: 4px; max-height: 260px; overflow-y: auto; background: rgb(255, 255, 255); border: 1px solid rgb(224, 224, 224); border-radius: 6px; box-shadow: rgba(0, 0, 0, 0.18) 0px 6px 20px; z-index: 1001; display: none; animation: 0.18s ease 0s 1 normal none running searchFadeIn; }
@keyframes searchFadeIn { 
  0% { opacity: 0; transform: translateY(-6px); }
  100% { opacity: 1; transform: translateY(0px); }
}
.search-results.active { display: block; }
.search-results .result-item { padding: 8px 10px; border-bottom: 1px solid rgb(240, 240, 240); cursor: pointer; font-size: 12px; transition: background 0.15s, padding-left 0.15s; }
.search-results .result-item:last-child { border-bottom-width: medium; border-bottom-style: none; border-bottom-color: currentcolor; }
.search-results .result-item:hover { background: #ecf5ff; padding-left: 14px; }
.search-results .result-item .name { font-weight: bold; color: rgb(229, 57, 53); }
.search-results .result-item .detail { font-size: 11px; color: rgb(153, 153, 153); margin-top: 2px; }
.search-results::-webkit-scrollbar { width: 5px; }
.search-results::-webkit-scrollbar-track { background: transparent; }
.search-results::-webkit-scrollbar-thumb { background: rgb(204, 204, 204); border-radius: 3px; }
.search-results::-webkit-scrollbar-thumb:hover { background: rgb(170, 170, 170); }
.sidebar-nav { flex: 1 1 0%; overflow-y: auto; padding: 8px 0px; scrollbar-width: thin; scrollbar-color: rgb(196, 196, 196) transparent; }
.sidebar-nav::-webkit-scrollbar { width: 5px; }
.sidebar-nav::-webkit-scrollbar-track { background: transparent; }
.sidebar-nav::-webkit-scrollbar-thumb { background: rgb(204, 204, 204); border-radius: 3px; }
.sidebar-nav::-webkit-scrollbar-thumb:hover { background: rgb(170, 170, 170); }
.sidebar-nav .nav-section-title { padding: 8px 15px 4px; font-size: 12px; color: rgb(153, 153, 153); font-weight: bold; text-transform: uppercase; }
.sidebar-nav .nav-arrow { display: inline-block; width: 14px; font-size: 10px; color: rgb(153, 153, 153); transition: transform 0.2s; }
.sidebar-nav .nav-item { padding: 7px 15px 7px 30px; cursor: pointer; font-size: 13px; transition: background 0.2s; }
.sidebar-nav .nav-item:hover { background: #ecf5ff; color: #3498db; }
.sidebar-nav .nav-item.active, .sidebar-nav .nav-province.active { background: #d6e8f7; color: #2980b9; font-weight: bold; }
.sidebar-nav .nav-province.active { background: #d6e8f7; color: #2980b9; font-weight: bold; }
.sidebar-nav .nav-district.active { background: #ffffff !important; color: #2980b9; font-weight: bold; }
.sidebar-nav .nav-province:hover { background: #ecf5ff; color: #3498db; }
.sidebar-nav .nav-children .nav-children .nav-item { padding-left: 45px; font-size: 12px; }
.sidebar-nav .nav-item.active { background: #d6e8f7; color: #2980b9; font-weight: bold; }
.sidebar-favorites { border-top: 1px solid rgb(238, 238, 238); flex-shrink: 0; max-height: 200px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgb(196, 196, 196) transparent; }
.sidebar-favorites::-webkit-scrollbar { width: 5px; }
.sidebar-favorites::-webkit-scrollbar-track { background: transparent; }
.sidebar-favorites::-webkit-scrollbar-thumb { background: rgb(204, 204, 204); border-radius: 3px; }
.sidebar-favorites::-webkit-scrollbar-thumb:hover { background: rgb(170, 170, 170); }
.sidebar-favorites .fav-title { padding: 8px 15px; font-size: 12px; color: rgb(153, 153, 153); font-weight: bold; background: rgb(249, 249, 249); display: flex; justify-content: space-between; align-items: center; }
.sidebar-favorites .fav-list { }
.sidebar-favorites .fav-item { padding: 6px 15px 6px 20px; cursor: pointer; font-size: 12px; border-bottom: 1px solid rgb(245, 245, 245); display: flex; justify-content: space-between; align-items: center; }
.sidebar-favorites .fav-item:hover { background: #ecf5ff; }
.sidebar-favorites .fav-item .del-btn { color: rgb(244, 67, 54); cursor: pointer; font-size: 14px; }
.map-area { flex: 1 1 0%; display: flex; flex-direction: column; position: relative; min-width: 0; min-height: 0; }
.top-bar { height: 42px; background: rgb(255, 255, 255); border-bottom: 1px solid rgb(224, 224, 224); display: flex; align-items: center; padding: 0px 8px; gap: 4px; position: relative; z-index: 2000; flex-shrink: 0; overflow-x: auto; }
.top-bar::-webkit-scrollbar { height: 4px; }
.top-bar .btn { height: 30px; padding: 0px 8px; background: rgb(245, 245, 245); border-radius: 4px; cursor: pointer; font-size: 12px; display: flex; align-items: center; gap: 3px; white-space: nowrap; transition: 0.2s; color: rgb(51, 51, 51); }
.top-bar .btn:hover { background: #d6e8f7; color: #2980b9; }
.top-bar .btn.active { background: #3498db; color: rgb(255, 255, 255); }
.top-bar .separator { width: 1px; height: 18px; background: rgb(221, 221, 221); flex-shrink: 0; margin: 0px 2px; }
.source-selector { display: flex; gap: 3px; align-items: center; }
.source-selector .source-btn { height: 30px; padding: 0px 7px; border-radius: 4px; cursor: pointer; font-size: 12px; display: flex; align-items: center; gap: 2px; background: rgb(245, 245, 245); transition: 0.2s; }
.source-selector .source-btn:hover { background: #d6e8f7; }
.source-selector .source-btn.active { background: #3498db; color: rgb(255, 255, 255); }
.type-selector { display: flex; gap: 3px; }
.type-selector .type-btn { height: 26px; padding: 0px 8px; border-radius: 13px; cursor: pointer; font-size: 11px; display: flex; align-items: center; background: rgb(240, 240, 240); transition: 0.2s; }
.type-selector .type-btn:hover { background: #d6e8f7; }
.type-selector .type-btn.active { background: #3498db; color: rgb(255, 255, 255); }
/* 历史影像年份选择下拉 */
.type-selector .wayback-year-select { height: 26px; padding: 0 8px; border-radius: 13px; border: 1px solid rgb(200, 200, 200); font-size: 11px; background: rgb(240, 240, 240); color: #333; cursor: pointer; outline: none; }
.type-selector .wayback-year-select:hover { background: #d6e8f7; border-color: #3498db; }
.type-selector .wayback-year-select:focus { border-color: #3498db; background: #fff; }
.map-container { flex: 1 1 0%; position: relative; z-index: 1; overflow: hidden; min-height: 0; }
#map { width: 100%; height: 100%; }
.map-container.multi-screen { display: flex; }
.map-container.multi-screen .map-pane { flex: 1 1 0%; position: relative; border-right: 2px solid #3498db; }
.map-container.multi-screen .map-pane:last-child { border-right-width: medium; border-right-style: none; border-right-color: currentcolor; }
.map-container.multi-screen .map-pane .pane-header { position: absolute; top: 0px; left: 0px; right: 0px; height: 32px; background: rgba(52, 152, 219, 0.9); color: rgb(255, 255, 255); display: flex; align-items: center; padding: 0px 10px; font-size: 12px; z-index: 500; gap: 6px; }

/* ===== 行政区简介栏 ===== */
.region-intro-bar { flex-shrink: 0; background: #f8fbff; border-bottom: 1px solid #c5d9e8; padding: 6px 12px; font-size: 12px; line-height: 1.6; color: #333; max-height: 120px; overflow-y: auto; z-index: 1999; }
.region-intro-bar .intro-title { font-weight: bold; color: #1a5276; margin-right: 6px; }
.region-intro-bar .intro-body { display: inline; }
.region-intro-bar .intro-body strong { color: #2980b9; }
.region-intro-bar .intro-body a { color: #3498db; text-decoration: underline; }
.region-intro-bar .intro-body a:hover { color: #2980b9; }
.region-intro-bar .intro-body br { display: block; content: ""; margin-top: 3px; }
.region-intro-bar .intro-empty { color: #999; font-style: italic; }
.map-container.multi-screen .map-pane .pane-header select { height: 24px; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; border-radius: 3px; padding: 0px 4px; font-size: 11px; background: rgb(255, 255, 255); }
.map-container.multi-screen .map-pane .map-canvas { width: 100%; height: 100%; }
.status-bar { height: 28px; background: rgb(249, 249, 249); border-top: 1px solid rgb(224, 224, 224); display: flex; align-items: center; padding: 0px 12px; font-size: 12px; color: rgb(102, 102, 102); gap: 20px; flex-shrink: 0; }
.status-bar .coord-display { font-family: Consolas, monospace; }
.status-bar .coord-display span { color: #3498db; font-weight: bold; }
.status-bar .copy-coord { color: #3498db; cursor: pointer; text-decoration: underline dotted; text-underline-offset: 2px; font-weight: normal; font-family: inherit; transition: color 0.2s; }
.status-bar .copy-coord:hover { color: #2980b9; text-decoration: underline; }
.status-bar .zoom-display { }
.status-bar .source-display { color: rgb(153, 153, 153); }
.modal-overlay { display: none; position: fixed; inset: 0px; background: rgba(0, 0, 0, 0.5); z-index: 10000; align-items: center; justify-content: center; }
.modal-overlay.active { display: flex; }
.modal { background: rgb(255, 255, 255); border-radius: 8px; box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 32px; min-width: 360px; max-width: 600px; max-height: 80vh; overflow: hidden; display: flex; flex-direction: column; }
.modal-header { padding: 14px 20px; background: #3498db; color: rgb(255, 255, 255); display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; }
.modal-header h3 { font-size: 16px; }
.modal-header .close-btn { cursor: pointer; font-size: 20px; line-height: 1; }
.modal-body { padding: 20px; overflow-y: auto; }
.modal-footer { padding: 12px 20px; border-top: 1px solid rgb(238, 238, 238); display: flex; justify-content: flex-end; gap: 10px; flex-shrink: 0; }
.auth-form input { width: 100%; height: 38px; border: 1px solid rgb(221, 221, 221); border-radius: 4px; padding: 0px 12px; margin-bottom: 12px; font-size: 14px; }
.auth-form .form-btn { width: 100%; height: 38px; background: #3498db; color: rgb(255, 255, 255); border-radius: 4px; cursor: pointer; font-size: 14px; }
.auth-form .form-btn:hover { background: #2980b9; }
.auth-form .switch-link { text-align: center; margin-top: 12px; font-size: 13px; color: #3498db; cursor: pointer; }
.share-box .share-url { width: 100%; height: 38px; border: 1px solid rgb(221, 221, 221); border-radius: 4px; padding: 0px 12px; font-size: 13px; background: rgb(249, 249, 249); }
.share-box .share-btns { display: flex; gap: 10px; margin-top: 12px; }
.share-box .share-btns button { flex: 1 1 0%; height: 36px; border: 1px solid rgb(221, 221, 221); border-radius: 4px; cursor: pointer; background: rgb(255, 255, 255); font-size: 13px; }
.share-box .share-btns button:hover { background: rgb(245, 245, 245); }
.coord-query input { width: 100%; height: 38px; border: 1px solid rgb(221, 221, 221); border-radius: 4px; padding: 0px 12px; margin-bottom: 8px; font-size: 14px; }
.coord-query .coord-hint { font-size: 12px; color: rgb(153, 153, 153); margin-bottom: 12px; }
.coord-query .form-btn { width: 100%; height: 38px; background: #3498db; color: rgb(255, 255, 255); border-radius: 4px; cursor: pointer; font-size: 14px; }
.fav-modal-list { max-height: 400px; overflow-y: auto; }
.fav-modal-list .fav-modal-item { padding: 10px 12px; border-bottom: 1px solid rgb(240, 240, 240); display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.fav-modal-list .fav-modal-item:hover { background: #ecf5ff; }
.fav-modal-list .fav-modal-item .info .name { font-weight: bold; font-size: 14px; }
.fav-modal-list .fav-modal-item .info .meta { font-size: 12px; color: rgb(153, 153, 153); margin-top: 2px; }
.streetview-modal { width: 90vw; max-width: 900px; }
.streetview-modal .modal-body { padding: 0px; height: 500px; }
#streetview-frame { width: 100%; height: 100%; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; }
.streetview-hint { padding: 10px 15px; background: rgb(255, 248, 225); font-size: 12px; color: rgb(136, 136, 136); }
.screenshot-panel { display: none; position: fixed; width: 520px; background: rgb(255, 255, 255); border-radius: 10px; box-shadow: rgba(0, 0, 0, 0.25) 0px 12px 48px, rgba(0, 0, 0, 0.1) 0px 4px 12px; z-index: 10001; overflow: hidden; flex-direction: column; transition: box-shadow 0.2s; }
.screenshot-panel.active { display: flex; }
.screenshot-panel.dragging { box-shadow: rgba(0, 0, 0, 0.35) 0px 16px 56px, rgba(0, 0, 0, 0.15) 0px 6px 16px; }
.screenshot-panel-header { padding: 12px 16px; background: #3498db; color: rgb(255, 255, 255); display: flex; justify-content: space-between; align-items: center; cursor: move; user-select: none; flex-shrink: 0; }
.screenshot-panel-header h3 { font-size: 15px; font-weight: 600; }
.screenshot-panel-header .close-btn { cursor: pointer; font-size: 20px; line-height: 1; opacity: 0.8; transition: opacity 0.2s; }
.screenshot-panel-header .close-btn:hover { opacity: 1; }
.screenshot-panel-body { padding: 16px; text-align: center; overflow-y: auto; max-height: 65vh; }
.screenshot-preview img { max-width: 100%; max-height: 60vh; border: 1px solid rgb(224, 224, 224); border-radius: 6px; display: block; margin: 0px auto; }
.screenshot-panel-footer { padding: 12px 16px; border-top: 1px solid rgb(240, 240, 240); display: flex; justify-content: center; flex-shrink: 0; }
.screenshot-download-btn { display: inline-flex; align-items: center; gap: 6px; padding: 0px 28px; height: 40px; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; border-radius: 8px; font-size: 14px; font-weight: 600; color: rgb(255, 255, 255); cursor: pointer; background: #3498db; box-shadow: rgba(52, 152, 219, 0.25) 0px 4px 14px; transition: 0.25s; opacity: 0.5; }
.screenshot-download-btn.ready { opacity: 1; }
.screenshot-download-btn.ready:hover { transform: translateY(-1px); box-shadow: rgba(52, 152, 219, 0.35) 0px 6px 20px; background: #2980b9; }
.screenshot-download-btn.ready:active { transform: translateY(0px); box-shadow: rgba(52, 152, 219, 0.3) 0px 2px 8px; }
.screenshot-download-btn:disabled { cursor: not-allowed; }
.map-controls { position: absolute; right: 12px; bottom: 80px; display: flex; flex-direction: column; gap: 6px; z-index: 500; }
.map-controls .ctrl-btn { width: 36px; height: 36px; background: rgb(255, 255, 255); border-radius: 4px; box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 6px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 18px; color: rgb(51, 51, 51); transition: 0.2s; }
.map-controls .ctrl-btn:hover { background: #ecf5ff; color: #3498db; }
.map-controls .ctrl-btn.active { background: #3498db; color: rgb(255, 255, 255); }
.leaflet-control-attribution { font-size: 10px !important; background: rgba(255, 255, 255, 0.7) !important; }
.leaflet-bar a { font-size: 16px !important; }
.measure-result { position: absolute; background: rgba(52, 152, 219, 0.9); color: rgb(255, 255, 255); padding: 4px 10px; border-radius: 4px; font-size: 12px; pointer-events: none; z-index: 600; white-space: nowrap; }
@media (max-width: 768px) {
  .top-bar { padding: 0px 8px; gap: 4px; }
  .top-bar .btn { padding: 0px 8px; font-size: 12px; }
  .source-selector .source-btn { padding: 0px 6px; font-size: 11px; }
  .type-selector .type-btn { padding: 0px 8px; font-size: 11px; }
  .top-bar .separator { display: none; }
  .status-bar { font-size: 10px; gap: 10px; padding: 0px 8px; }
  .map-controls { bottom: 60px; right: 8px; }
  .modal { min-width: 90vw; max-width: 90vw; }
}
@media (max-width: 480px) {
  .sidebar { width: 195px; min-width: 195px; }
  .top-bar .btn { padding: 0px 6px; }
  .source-selector .source-btn { padding: 0px 4px; font-size: 10px; }
}
.measure-tooltip { background: rgba(52, 152, 219, 0.9) !important; color: rgb(255, 255, 255) !important; border-width: medium !important; border-style: none !important; border-color: currentcolor !important; border-image: none !important; padding: 2px 8px !important; border-radius: 3px !important; font-size: 11px !important; box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 4px !important; }
.tooltip-hint { position: absolute; background: rgba(0, 0, 0, 0.75); color: rgb(255, 255, 255); padding: 6px 12px; border-radius: 4px; font-size: 12px; pointer-events: none; z-index: 9999; display: none; }
.loading-tip { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(255, 255, 255, 0.9); padding: 20px 40px; border-radius: 8px; box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 12px; z-index: 700; text-align: center; display: none; }
.loading-tip.active { display: block; }
.loading-tip .spinner { width: 32px; height: 32px; border-width: 3px; border-style: solid; border-color: #3498db rgb(224, 224, 224) rgb(224, 224, 224); border-image: none; border-radius: 50%; animation: 0.8s linear 0s infinite normal none running spin; margin: 0px auto 8px; }
@keyframes spin { 
  100% { transform: rotate(360deg); }
}
@media (max-width: 768px) {
  .map-side-panel { right: 6px !important; gap: 6px !important; }
  .map-side-panel .side-panel-label { display: inline; }
  .side-panel-item { width: auto !important; min-width: 44px; height: 44px; padding: 0 10px !important; font-size: 12px; }
  .top-bar { overflow-x: auto; white-space: nowrap; }
  .top-bar > * { display: inline-flex !important; flex-shrink: 0; }
  .compass-control-panel { max-width: 200px; margin: 0 auto; }
  .map-compass-overlay img { max-width: 72vw; max-height: 46vh; width: auto !important; height: auto !important; }
}
.map-side-panel { position: absolute; right: 12px; top: 12px; z-index: 800; display: flex; flex-direction: column; gap: 12px; pointer-events: none; }
.side-panel-item { pointer-events: auto; width: 38px; height: 38px; padding: 0px; background: linear-gradient(135deg, rgb(66, 165, 245) 0%, rgb(25, 118, 210) 100%); border-radius: 4px; box-shadow: rgba(41, 128, 185, 0.25) 0px 2px 6px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1); user-select: none; border: 1px solid rgba(255, 255, 255, 0.3); font-size: 11px; color: rgb(255, 255, 255); font-weight: 600; text-shadow: rgba(0, 0, 0, 0.2) 0px 1px 2px; white-space: nowrap; }
.side-panel-item:hover { transform: translateY(-1px) scale(1.05); box-shadow: rgba(41, 128, 185, 0.35) 0px 4px 14px; border-color: rgba(255, 255, 255, 0.6); }
.side-panel-item:active { transform: translateY(0px) scale(1); }
.side-panel-item.active { background: #2980b9; box-shadow: rgba(41, 128, 185, 0.45) 0px 0px 18px, rgba(0, 0, 0, 0.25) 0px 4px 12px; border-color: rgba(255, 255, 255, 0.95); font-weight: bold; color: #fff; }
.leaflet-marker-icon { cursor: pointer !important; }
.side-panel-item.inactive { opacity: 0.85; }
.side-panel-compass { width: 40px; height: 40px; display: block; }
.side-panel-compass-rotating { width: 44px; height: 44px; display: block; }
.compass-wrap { transition: transform 0.3s; }
.compass-control-panel { position: absolute; right: 55px; top: 140px; transform: none; z-index: 801; width: 200px; background: rgba(255, 255, 255, 0.95); border-radius: 8px; box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 12px; font-size: 12px; color: rgb(51, 51, 51); pointer-events: auto; overflow: hidden; }
.compass-panel-header { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: rgb(245, 245, 245); border-bottom: 1px solid rgb(224, 224, 224); font-weight: bold; font-size: 13px; }
.compass-panel-close { cursor: pointer; color: rgb(102, 102, 102); font-size: 14px; padding: 0px 4px; transition: color 0.2s; }
.compass-panel-close:hover { color: #3498db; }
.compass-panel-body { padding: 10px 12px; }
.compass-panel-row { display: flex; align-items: center; margin-bottom: 8px; gap: 4px; }
.compass-panel-row:last-child { margin-bottom: 0px; }
.compass-panel-row span:first-child { color: rgb(102, 102, 102); white-space: nowrap; min-width: 48px; }
.compass-panel-row input[type=\"range\"] { flex: 1 1 0%; height: 4px; appearance: none; background: rgb(221, 221, 221); border-radius: 2px; outline: none; }
.compass-panel-row input[type=\"range\"]::-webkit-slider-thumb { appearance: none; width: 14px; height: 14px; background: #3498db; border-radius: 50%; cursor: pointer; }
.compass-panel-row input[type=\"checkbox\"] { width: 14px; height: 14px; margin-left: 2px; cursor: pointer; accent-color: #3498db; }
.compass-styles { flex-wrap: wrap; }
.compass-styles .style-thumbs { display: flex; gap: 6px; flex: 1 1 0%; }
.compass-styles .style-thumb { width: 36px; height: 36px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; transition: border-color 0.2s, transform 0.15s; object-fit: cover; background: rgb(245, 245, 245); }
.compass-styles .style-thumb:hover { transform: scale(1.1); }
.compass-styles .style-thumb.active { border-color: #3498db; }
@media (max-width: 768px) {
  .map-info-panel { right: 10px; bottom: 10px; width: calc(100% - 20px); }
}

/* =========================================================
 * 天气卡片（蓝色渐变卡片）
 * ========================================================= */
.weather-card {
    background: linear-gradient(180deg, #5ba4e6 0%, #3b82c4 100%);
    border-radius: 16px;
    color: #fff;
    padding: 18px 18px 14px;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    overflow: hidden;
}
.weather-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.weather-card-city-name {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    opacity: 0.96;
}
.weather-card-update {
    font-size: 11px;
    opacity: 0.72;
    font-weight: 400;
}
.weather-card-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 12px;
}
.weather-card-temp-big {
    font-size: 56px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -2px;
    display: flex;
    align-items: flex-start;
}
.weather-card-deg {
    font-size: 26px;
    font-weight: 400;
    margin-left: 2px;
    margin-top: 6px;
    opacity: 0.9;
}
.weather-card-meta {
    flex: 1;
    min-width: 0;
    padding-top: 6px;
}
.weather-card-range {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    opacity: 0.95;
}
.weather-card-feel {
    font-size: 12px;
    opacity: 0.82;
    font-weight: 400;
}
.weather-card-feel.hot { color: #ffe082; font-weight: 600; }
.weather-card-feel.cool { color: #b3e5fc; font-weight: 600; }
.weather-card-icon-big {
    font-size: 52px;
    line-height: 1;
    opacity: 0.92;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.15));
}
.weather-card-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}
.weather-tab {
    flex: 1;
    border: none;
    background: rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.82);
    border-radius: 8px;
    padding: 6px 4px;
    font-size: 12.5px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    letter-spacing: 0.6px;
}
.weather-tab:hover {
    background: rgba(255,255,255,0.24);
}
.weather-tab.active {
    background: rgba(255,255,255,0.88);
    color: #2980b9;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.weather-card-content {
    background: rgba(255,255,255,0.10);
    border-radius: 12px;
    padding: 10px 8px;
}
.weather-hourly-scroll {
    display: flex;
    align-items: center;
    gap: 3px;
}
.weather-hourly-scroll .weather-hourly {
    flex: 1;
    min-width: 0;
    scroll-behavior: smooth;
}
.weather-hourly-arrow {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #2980b9;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.weather-hourly-arrow-prev::before { content: '\2039'; }
.weather-hourly-arrow-next::before { content: '\203A'; }
.weather-hourly-arrow:hover {
    background: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
}
.weather-hourly-arrow:active { transform: scale(0.94); }
.weather-hourly {
    display: flex;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
}
.weather-hourly::-webkit-scrollbar { display: none; }
.weather-hourly-item {
    flex: 1;
    min-width: 52px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 6px 2px;
    border-radius: 8px;
    transition: background 0.15s ease;
}
.weather-hourly-item:hover { background: rgba(255,255,255,0.10); }
.weather-hourly-label {
    font-size: 11px;
    opacity: 0.78;
    font-weight: 500;
}
.weather-hourly-label small {
    display: block;
    font-size: 9.5px;
    opacity: 0.62;
    margin-top: 1px;
    font-weight: 400;
}
.weather-hourly-item.daily {
    min-width: 62px;
}
.weather-hourly-temp small {
    font-size: 9px;
    font-weight: 400;
    opacity: 0.7;
    margin-left: 1px;
}
.weather-hourly-icon {
    font-size: 22px;
    line-height: 1;
}
.weather-hourly-icon.wind { font-size: 16px; }
.weather-hourly-icon.rain { font-size: 20px; }
.weather-hourly-icon.uv { font-size: 18px; }
.weather-hourly-temp {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2px;
}
.weather-hourly-temp small {
    font-size: 9px;
    font-weight: 400;
    opacity: 0.7;
    margin-left: 1px;
}
.weather-hourly-temp .rain-unit { font-size: 9px; }
.weather-hourly-aqi {
    font-size: 10px;
    font-weight: 600;
    background: rgba(76, 175, 80, 0.72);
    color: #fff;
    border-radius: 4px;
    padding: 1px 6px;
    line-height: 14px;
    min-width: 22px;
    text-align: center;
}
.weather-hourly-aqi.uv-lv1 { background: rgba(76, 175, 80, 0.72); }
.weather-hourly-aqi.uv-lv2 { background: rgba(255, 183, 77, 0.72); }
.weather-hourly-aqi.uv-lv3 { background: rgba(255, 112, 67, 0.72); }
.weather-hourly-aqi.uv-lv4 { background: rgba(239, 83, 80, 0.72); }
.map-direction-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 700; pointer-events: none; filter: drop-shadow(rgba(0, 0, 0, 0.2) 0px 2px 4px); }
.map-direction-overlay img { display: block; }
.map-compass-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 700; pointer-events: none; filter: drop-shadow(rgba(0, 0, 0, 0.2) 0px 2px 8px); }
.map-compass-overlay img { display: block; max-width: 800px; max-height: 800px; width: auto; height: auto; }
.temp-legend { position: absolute; right: 50px; bottom: 20px; z-index: 361; background: rgba(255, 255, 255, 0.9); border-radius: 6px; padding: 8px 12px; font-size: 11px; color: rgb(51, 51, 51); box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px; pointer-events: none; }
.temp-legend-bar { width: 160px; height: 8px; background: linear-gradient(to right, rgb(68, 1, 84), rgb(49, 104, 142), rgb(53, 183, 121), rgb(253, 231, 37), rgb(255, 0, 0)); border-radius: 4px; margin: 4px 0px; }
.temp-legend-labels { display: flex; justify-content: space-between; font-size: 9px; color: rgb(102, 102, 102); }
.coord-popup-layer .leaflet-popup-content-wrapper { background: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, rgba(242, 248, 255, 0.78) 100%); backdrop-filter: blur(10px); border-radius: 14px; box-shadow: rgba(13, 71, 161, 0.26) 0px 14px 40px, rgba(13, 71, 161, 0.12) 0px 4px 12px, rgba(255, 255, 255, 0.75) 0px 1px 0px inset; border: 1px solid rgba(255, 255, 255, 0.55); }
.coord-popup-layer .leaflet-popup-content { margin: 0px; padding: 14px 16px 16px; min-width: 240px; font-family: \"Microsoft YaHei\", \"PingFang SC\", sans-serif; }
.coord-popup-layer .leaflet-popup-tip { background: rgba(242, 248, 255, 0.85); box-shadow: rgba(13, 71, 161, 0.12) -2px -2px 6px; }
.coord-popup-layer .leaflet-popup-close-button { top: 8px; right: 10px; color: rgb(138, 148, 166); font-size: 18px; font-weight: bold; }
.coord-popup-layer .leaflet-popup-close-button:hover { color: rgb(229, 57, 53); }
.coord-popup { color: rgb(43, 58, 85); }
.coord-popup-title { font-size: 14px; font-weight: 700; color: rgb(21, 101, 192); margin-bottom: 6px; display: flex; align-items: center; gap: 4px; }
.coord-popup-place { display: none; }
.coord-popup-place.filled { display: inline-block; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgb(255, 255, 255); border-radius: 11px; padding: 1px 10px; font-size: 12px; line-height: 18px; vertical-align: 1px; letter-spacing: 0.2px; }
.coord-popup-place.filled.is-village { background: linear-gradient(135deg, rgb(67, 160, 71), rgb(46, 125, 50)); box-shadow: rgba(46, 125, 50, 0.35) 0px 1px 4px; }
.coord-popup-place.filled.is-town { background: #2980b9; box-shadow: rgba(21, 101, 192, 0.35) 0px 1px 4px; }
.coord-popup-coord { font-size: 15px; font-family: Consolas, \"Courier New\", monospace; font-weight: 600; color: rgb(55, 71, 79); background: rgb(238, 244, 255); border: 1px solid rgb(214, 228, 255); border-radius: 7px; padding: 7px 10px; margin-bottom: 12px; letter-spacing: 0.3px; word-break: break-all; }
.coord-popup-actions { display: flex; gap: 8px; }
.coord-popup-btn { flex: 1 1 0%; display: inline-flex; align-items: center; justify-content: center; padding: 9px 6px; font-size: 13px; font-weight: 600; font-family: \"Microsoft YaHei\", \"PingFang SC\", sans-serif; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; border-radius: 8px; cursor: pointer; transition: transform 0.12s, box-shadow 0.15s, filter 0.15s, opacity 0.15s; white-space: nowrap; letter-spacing: 1px; }
.coord-popup-btn:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: rgba(52, 152, 219, 0.18) 0px 4px 12px; }
.coord-popup-btn:active { transform: translateY(0px); }
.coord-popup-btn-copy { background: linear-gradient(135deg, rgba(66, 165, 245, 0.95), rgba(30, 136, 229, 0.95)); color: rgb(255, 255, 255); }
.coord-popup-btn-weather { background: linear-gradient(135deg, rgba(255, 183, 77, 0.95), rgba(251, 140, 0, 0.95)); color: rgb(255, 255, 255); }
.coord-popup-btn-nearby { background: linear-gradient(135deg, rgba(102, 187, 106, 0.95), rgba(67, 160, 71, 0.95)); color: rgb(255, 255, 255); }
.map-info-panel { position: absolute; right: 16px; bottom: 14px; width: 590px; max-width: calc(100% - 32px); background: rgb(255, 255, 255); border-radius: 14px; box-shadow: rgba(26, 82, 118, 0.28) 0px 14px 44px, rgba(26, 82, 118, 0.14) 0px 4px 14px; border: 1px solid rgba(52, 152, 219, 0.15); z-index: 2000; display: none; overflow: hidden; font-family: \"Microsoft YaHei\", \"PingFang SC\", sans-serif; transition: opacity 0.3s, transform 0.3s; opacity: 0; transform: translateY(14px); }
.map-info-panel.active { display: block; opacity: 1; transform: translateY(0px); }
.map-info-panel.collapse-out { transform: translateX(120%) translateY(0); opacity: 0; pointer-events: none; }
.map-info-panel-header { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #3498db; color: rgb(255, 255, 255); cursor: move; user-select: none; }
.map-info-panel-title { font-size: 14.5px; font-weight: 700; display: flex; align-items: baseline; gap: 6px; min-width: 0px; }
.panel-title-place { display: inline; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel-title-pos { font-size: 11px; font-weight: 400; color: rgba(255, 255, 255, 0.82); font-family: Consolas, \"Courier New\", monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.map-info-panel-close { cursor: pointer; font-size: 18px; line-height: 1; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background 0.15s, transform 0.15s; flex-shrink: 0; }
.map-info-panel-close:hover { background: rgba(255, 255, 255, 0.22); transform: rotate(90deg); }
.map-info-panel-body { max-height: 400px; overflow-y: auto; padding: 16px; background: rgb(255, 255, 255); }
.info-panel-loading { display: flex; align-items: center; gap: 10px; padding: 26px 0px; justify-content: center; color: rgb(107, 122, 144); font-size: 13.5px; }
.loading-spinner { width: 18px; height: 18px; border-width: 2.5px; border-style: solid; border-color: #3498db rgb(219, 231, 247) rgb(219, 231, 247); border-image: none; border-radius: 50%; animation: 0.8s linear 0s infinite normal none running infopanel-spin; flex-shrink: 0; }
@keyframes infopanel-spin { 
  100% { transform: rotate(360deg); }
}
.info-panel-error { padding: 26px 10px; text-align: center; color: rgb(198, 40, 40); font-size: 13.5px; background: rgb(255, 245, 245); border-radius: 8px; border: 1px dashed rgb(239, 154, 154); }
.info-panel-empty { padding: 24px 10px; text-align: center; color: rgb(138, 148, 166); font-size: 13px; background: rgb(248, 250, 253); border-radius: 8px; border: 1px dashed rgb(211, 220, 235); }
.weather-now { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 14px; padding: 12px 16px; background: linear-gradient(135deg, rgb(255, 248, 236), rgb(255, 243, 219)); border: 1px solid rgb(255, 227, 176); border-radius: 10px; }
.weather-now-temp { font-size: 38px; font-weight: 700; color: rgb(230, 81, 0); line-height: 1; display: flex; align-items: flex-start; }
.weather-now-unit { font-size: 18px; font-weight: 600; color: rgb(251, 140, 0); margin-top: 2px; }
.weather-now-meta { font-size: 12.5px; color: rgb(160, 99, 36); padding-bottom: 4px; }
.weather-chart-wrap { border: 1px solid rgb(232, 238, 247); border-radius: 10px; padding: 8px; background: rgb(255, 255, 255); }
.weather-chart-note { font-size: 11px; color: rgb(167, 178, 196); text-align: center; padding: 4px 0px 2px; }
.nearby-hint { font-size: 12px; color: rgb(138, 148, 166); margin-bottom: 10px; }
.nearby-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 10px; }
.nearby-cat { --cat-color: #3498db; display: block; width: 100%; font-family: inherit; font-weight: normal; font-size: inherit; line-height: 1.4; background: rgb(255, 255, 255); border: 1.5px solid rgb(232, 238, 247); border-radius: 12px; padding: 4px 2px 3px; text-align: center; cursor: pointer; transition: transform 0.14s, box-shadow 0.16s, border-color 0.16s; }
.nearby-cat:hover { transform: translateY(-2px); border-color: var(--cat-color); box-shadow: rgba(13, 71, 161, 0.12) 0px 6px 16px; }
.nearby-cat.active { border-color: var(--cat-color); background: rgb(245, 250, 255); box-shadow: rgba(13, 71, 161, 0.16) 0px 4px 14px; }
.nearby-cat-icon { width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.nearby-cat-icon img { width: 84px; height: 84px; object-fit: contain; }
.nearby-cat-name { font-size: 18px; font-weight: 700; color: rgb(43, 58, 85); }
.nearby-result-head { font-size: 13px; color: rgb(90, 100, 114); font-weight: 600; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid rgb(226, 233, 243); }
.nearby-item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; cursor: pointer; transition: background 0.15s, transform 0.15s, box-shadow 0.15s; border: 1px solid transparent; margin-bottom: 6px; }
.nearby-item:last-child { margin-bottom: 0; }
.nearby-item:hover { background: rgb(245, 249, 255); transform: translateX(4px); box-shadow: rgba(13, 71, 161, 0.08) 0px 2px 8px; border-color: rgb(214, 228, 255); }
.nearby-item-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: rgba(13, 71, 161, 0.15) 0px 3px 10px; background: linear-gradient(135deg, rgb(240, 248, 255), rgb(230, 242, 255)); }
.nearby-item-icon img { width: 22px; height: 22px; object-fit: contain; }
.nearby-item-thumb { width: 50px; height: 50px; border-radius: 8px; object-fit: cover; flex-shrink: 0; box-shadow: rgba(0, 0, 0, 0.08) 0px 2px 6px; border: 1px solid rgb(227, 235, 247); background: rgb(240, 248, 255); display: block; }
.nearby-item-info { flex: 1 1 0%; min-width: 0px; }
.nearby-item-name { font-size: 14px; font-weight: 600; color: rgb(33, 48, 75); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nearby-item-meta { font-size: 12px; color: rgb(120, 136, 160); margin-top: 3px; display: flex; align-items: center; gap: 6px; }
.nearby-item-addr { font-size: 11.5px; color: rgb(150, 165, 185); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nearby-item-go { color: rgb(190, 208, 230); font-size: 20px; font-weight: 600; flex-shrink: 0; }
.nearby-marker { background: transparent; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; }
.nearby-marker-pin { --marker-color: #3498db; width: 22px; height: 22px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: var(--marker-color); display: flex; align-items: center; justify-content: center; box-shadow: rgba(13, 71, 161, 0.35) 0px 2px 6px; border: 2px solid rgb(255, 255, 255); }
.nearby-marker-pin > * { transform: rotate(45deg); font-size: 11px; }
.nearby-marker-pin img { width: 12px; height: 12px; object-fit: contain; }
@keyframes marker-blink {
  0%, 100% { opacity: 1; }
  25%, 75% { opacity: 0.3; }
  50% { opacity: 1; }
}
.nearby-marker-pin.blink { animation: marker-blink 0.7s ease-in-out 2; }
.nearby-pager { display: flex; justify-content: space-between; align-items: center; padding: 12px 8px; margin-top: 6px; border-top: 1px solid rgb(226, 233, 243); }
.nearby-pager-btn { background: #d6e8f7; border: 1px solid #c5d9e8; border-radius: 8px; padding: 6px 14px; font-size: 12.5px; font-weight: 600; color: #2980b9; cursor: pointer; transition: all 0.15s; font-family: "Microsoft YaHei", sans-serif; }
.nearby-pager-btn:hover:not(:disabled) { background: #c5d9e8; border-color: #3498db; box-shadow: rgba(52, 152, 219, 0.1) 0px 2px 8px; transform: translateY(-1px); }
.nearby-pager-btn:disabled { opacity: 0.4; cursor: not-allowed; background: rgb(245, 248, 252); border-color: rgb(220, 228, 240); color: rgb(150, 165, 185); }
.nearby-pager-info { font-size: 12px; color: rgb(100, 116, 139); font-weight: 600; }
@media (max-width: 768px) {
  .map-info-panel { right: 10px; bottom: 10px; width: calc(100% - 20px); }
  .screenshot-panel { width: calc(100% - 20px) !important; max-width: none; right: 10px !important; left: 10px !important; }
}

/* =========================================================
 * 周边搜索展开按钮（移动端收缩态显示）
 * ========================================================= */
.nearby-expand-btn { display: none; }
@media (max-width: 768px) {
  .nearby-expand-btn { display: none; }
  .nearby-expand-btn.visible { display: flex; font-size: 18px; font-weight: 700; animation: nearbyExpandIn 0.3s ease 0.15s both; }
  .panel-expand-hint { display: none; }
}
@media (min-width: 769px) {
  .panel-expand-hint { display: none; }
}

/* 周边浮层收缩/展开过渡动画 */
@keyframes nearbyExpandIn {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}

/* =========================================================
 * 导航与信息区域 - 全新美化设计
 * ========================================================= */

/* === 卫星地图导航 === */
.province-links-section {
  background: #ecf5ff;
  border-top: 1px solid rgba(52, 152, 219, 0.18);
  padding: 40px 32px 36px;
  position: relative;
}

/* 导航栏内部两栏卡片化 */
.province-links-cols {
  display: flex;
  gap: 28px;
  align-items: stretch;
}
.province-links-cols .province-links-col {
  flex: 1;
  min-width: 0;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(52, 152, 219, 0.2);
  box-shadow: 0 2px 16px rgba(52, 152, 219, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.province-links-cols .province-links-col + .province-links-col {
  border-left: none;
}
/* 导航栏标题 → 统一header风格 */
.province-links-title {
  padding: 16px 20px 14px;
  background: #d6e8f7;
  border-bottom: 1px solid rgba(52, 152, 219, 0.12);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #1a5276;
  letter-spacing: 0.3px;
}
.province-links-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: #5dade2;
  border-radius: 2px;
  flex-shrink: 0;
}
/* 导航栏grid放在卡片body内 */
.province-links-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  padding: 20px;
  flex: 1;
}
.province-link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(52, 152, 219, 0.15);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 4px rgba(52, 152, 219, 0.05);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.province-link-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #5dade2;
  opacity: 0;
  transition: opacity 0.3s;
}
.province-link-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(52, 152, 219, 0.12);
  border-color: rgba(52, 152, 219, 0.25);
  background: #f5faff;
}
.province-link-item:hover::after {
  opacity: 1;
}
.province-link-name {
  font-size: 13px;
  font-weight: 600;
  color: #1a5276;
  line-height: 1.3;
  transition: color 0.2s;
}
.province-link-item:hover .province-link-name {
  color: #5dade2;
}
.province-link-suffix {
  font-size: 11px;
  color: #5dade2;
  margin-top: 3px;
  line-height: 1.2;
  font-weight: 400;
}
/* 当前页高亮 - 海洋蓝 */
.province-link-item.current {
  background: #d6e8f7;
  border-color: rgba(52, 152, 219, 0.35);
  box-shadow: 0 3px 12px rgba(52, 152, 219, 0.1);
}
.province-link-item.current::after {
  opacity: 1;
}
.province-link-item.current .province-link-name {
  color: #2980b9;
  font-weight: 700;
}
.province-link-item.current .province-link-suffix {
  color: #5dade2;
  font-weight: 600;
}
/* === 简介与地形图区域 === */
.info-section {
  background: #ecf5ff;
  border-top: 1px solid rgba(52, 152, 219, 0.18);
  padding: 40px 32px 36px;
  position: relative;
}

.info-cols {
  display: flex;
  gap: 28px;
  align-items: stretch;
}
.info-col {
  flex: 1;
  min-width: 0;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(52, 152, 219, 0.2);
  box-shadow: 0 2px 16px rgba(52, 152, 219, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.info-col + .info-col {
  border-left: none;
}
.info-col-header {
  padding: 16px 20px 14px;
  background: #d6e8f7;
  border-bottom: 1px solid rgba(52, 152, 219, 0.12);
  display: flex;
  align-items: center;
  gap: 10px;
}
.info-col-header .info-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.info-col-header .info-icon.intro-icon {
  background: #c5d9e8;
}
.info-col-header .info-icon.map-icon {
  background: #c5d9e8;
}
.info-col-header h1,
.info-col-header h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1a5276;
  letter-spacing: 0.3px;
}
.info-col-body {
  padding: 24px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}
.info-placeholder {
  text-align: center;
  color: #5dade2;
}
.info-placeholder .placeholder-icon {
  font-size: 48px;
  margin-bottom: 12px;
  opacity: 0.5;
}
.info-placeholder .placeholder-text {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #1a5276;
}
.info-placeholder .placeholder-hint {
  font-size: 12px;
  opacity: 0.7;
}
/* 简介内容区域：左对齐显示，覆盖父级 center */
.info-col-body .intro-body {
  text-align: left;
  align-self: flex-start;
  width: 100%;
  font-size: 13px;
  line-height: 1.7;
  color: #444;
}
.info-col-body .intro-body strong {
  color: #2980b9;
  font-weight: 600;
}
.info-col-body .intro-body a {
  color: #3498db;
  text-decoration: underline;
  transition: color 0.2s;
}
.info-col-body .intro-body a:hover {
  color: #2980b9;
}
.info-col-body .intro-body br {
  display: block;
  content: "";
  margin-top: 4px;
}
.info-col-body .intro-empty {
  color: #999;
  font-style: italic;
  font-size: 13px;
}
/* === 响应式 === */
@media (max-width: 1024px) {
  .province-links-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
}
@media (max-width: 768px) {
  .province-links-section { padding: 28px 16px 24px; }
  .province-links-cols { flex-direction: column; gap: 20px; }
  .province-links-cols .province-links-col + .province-links-col {
    border-left: none;
    border-top: none;
    padding-left: 0;
    padding-top: 20px;
  }
  .province-links-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 16px; }
  .province-link-item { padding: 10px 6px; }
  .province-link-name { font-size: 12px; }
  .province-link-suffix { font-size: 10px; }
  .province-links-title { padding: 12px 16px; font-size: 14px; }
  .info-section { padding: 28px 16px 24px; }
  .info-cols { flex-direction: column; gap: 20px; }
  .info-col + .info-col { border-left: none; }
  .info-col-body { min-height: 160px; }
  .info-col-header { padding: 12px 16px; }
}
@media (max-width: 480px) {
  .province-links-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .info-placeholder .placeholder-icon { font-size: 36px; }
  .info-placeholder .placeholder-text { font-size: 13px; }
}
}

/* ===== 面包屑导航 ===== */
.breadcrumb-nav {
  background: #ecf5ff;
  border-top: 1px solid #c5d9e8;
  border-bottom: 1px solid #c5d9e8;
  padding: 14px 28px;
  font-size: 15px;
  color: #1a5276;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.breadcrumb-label {
  font-weight: 700;
  color: #1a5276;
  margin-right: 4px;
}

.breadcrumb-item {
  color: #3498db;
  text-decoration: none;
  transition: all 0.2s;
  padding: 3px 6px;
  border-radius: 6px;
  font-weight: 500;
}

.breadcrumb-item:hover {
  color: #2980b9;
  background: rgba(52, 152, 219, 0.08);
}

.breadcrumb-item.current {
  color: #1a5276;
  font-weight: 700;
  cursor: default;
}

.breadcrumb-item.current:hover {
  background: none;
}

.breadcrumb-separator {
  color: #5dade2;
  margin: 0 4px;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .breadcrumb-nav { padding: 12px 16px; font-size: 14px; }
}

/* ===== 站点页脚 ===== */
.site-footer { background: #fafafa; border-top: 1px solid #e0e0e0; padding: 24px 16px 28px; text-align: center; font-size: 13px; color: #888; }
.footer-links { margin-bottom: 10px; }
.footer-links a { color: #3498db; text-decoration: none; margin: 0 10px; transition: color 0.2s; }
.footer-links a:hover { color: #2980b9; text-decoration: underline; }
.footer-sep { color: #ddd; }
.footer-copyright { margin-bottom: 6px; }
.footer-icp a { color: #888; text-decoration: none; }
.footer-icp a:hover { color: #3498db; }
@media (max-width: 768px) { .site-footer { padding: 18px 12px 20px; font-size: 12px; } .footer-links a { margin: 0 6px; } }
