/* 危区探遗地图 · 接入主页用的最小改动
   配色保持地图原版；只加回主页的入口（左上角云朵、右上角"← 云间线"）和标题字体。
   由 tools/integrate_map.py 注入；用 --plain 接入则完全是原版。 */

:root { --sc-cn: "LXGW WenKai Screen", "LXGW WenKai", "Kaiti SC", "STKaiti", "KaiTi", serif; }

.brand-mark { text-decoration: none; transition: transform .25s cubic-bezier(.3,1.6,.5,1); }
.brand-mark:hover { transform: rotate(-8deg) scale(1.08); }
.brand-mark svg { width: 30px !important; height: 17px !important; }
.brand h1, .side-top-title strong, .map-heading h2, .detail h3, dialog h2 { font-family: var(--sc-cn); font-weight: 700; }

.sc-back { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; margin-right: 10px; border-radius: 999px; background: #dcd8e4; color: #574767; font-size: 13px; text-decoration: none; white-space: nowrap; transition: background-color .16s; }
.sc-back:hover { background: #d0cada; }

@media (max-width: 700px), (max-width: 1000px) and (max-height: 500px) {
  .brand-mark svg { width: 22px !important; height: 12px !important; }
  .sc-back { display: none; }
}
