        /* ─────────────────────────────────────────────
           简物小集 · 步道导览
           World: park wayfinding signs — cream paper ground,
           terracotta trail, enamel signposts, drawn markers.
           ───────────────────────────────────────────── */
                * { margin: 0; padding: 0; box-sizing: border-box; }

        html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

        body {
            font-family: var(--font-body);
            background: var(--ground);
            color: var(--body);
            font-size: 15px;
            line-height: 1.75;
            min-height: 100vh;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            transition: background 0.4s var(--ease), color 0.4s var(--ease);
        }

        ::selection { background: var(--trail); color: #fffdf8; }

        a { color: inherit; text-decoration: none; }

        button { font: inherit; color: inherit; }

        :focus-visible {
            outline: 2px solid var(--trail);
            outline-offset: 3px;
            border-radius: 4px;
        }

        /* ── 地图底纹：等高线 ───────────────────────── */
        .bg-map {
            position: fixed;
            inset: 0;
            z-index: 0;
            pointer-events: none;
            opacity: var(--contour-opacity);
        }

        .bg-map svg { width: 100%; height: 100%; display: block; }

        .bg-map .lines {
            stroke: var(--contour);
            stroke-width: 1.2;
            fill: none;
        }

        .bg-map .trail {
            stroke: var(--contour-strong);
            stroke-width: 2;
            stroke-dasharray: 2 13;
            stroke-linecap: round;
            fill: none;
        }

        .bg-map .nodes circle {
            fill: var(--contour-strong);
        }

        .bg-map .nodes circle.hollow {
            fill: none;
            stroke: var(--contour-strong);
            stroke-width: 1.6;
        }

        .bg-map .rose {
            stroke: var(--contour-strong);
            stroke-width: 1.4;
            fill: none;
        }

        /* 图版角标 */
        .reg {
            position: fixed;
            width: 13px;
            height: 13px;
            border: 0 solid var(--contour-strong);
            opacity: 0.9;
        }

        .reg-tl { top: 14px; left: 14px; border-top-width: 1px; border-left-width: 1px; }
        .reg-tr { top: 14px; right: 14px; border-top-width: 1px; border-right-width: 1px; }
        .reg-bl { bottom: 14px; left: 14px; border-bottom-width: 1px; border-left-width: 1px; }
        .reg-br { bottom: 14px; right: 14px; border-bottom-width: 1px; border-right-width: 1px; }

        @media (max-width: 1100px) {
            .bg-map .rose { display: none; }
        }

        @media (max-width: 760px) {
            .reg { display: none; }
            .bg-map .trail { stroke-width: 1.6; }
        }

        /* ── 页面骨架 ──────────────────────────────── */
        .sheet {
            position: relative;
            z-index: 1;
            max-width: 1240px;
            margin: 0 auto;
            padding: 0 40px;
        }

        /* ── 页眉：地图图版 ────────────────────────── */
        .plate {
            position: relative;
            padding: 46px 0 26px;
        }

        .plate-top {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 24px;
        }

        .plate-title {
            font-family: var(--font-display);
            font-weight: 900;
            font-size: clamp(34px, 5vw, 54px);
            line-height: 1.06;
            letter-spacing: -0.015em;
            color: var(--ink);
            text-wrap: balance;
        }

        .plate-title .leaf {
            display: inline-block;
            width: 0.62em;
            height: 0.62em;
            margin-right: 0.18em;
            vertical-align: 0.06em;
            color: var(--trail);
        }

        .plate-lede {
            margin-top: 14px;
            max-width: 38em;
            font-size: 16px;
            color: var(--body);
        }

        .plate-lede em {
            font-style: normal;
            color: var(--ink);
            box-shadow: inset 0 -0.42em 0 var(--trail-soft);
        }

        /* 图例：替换掉「大数字 + 小标签」那套 */
        .legend {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 6px 22px;
            margin-top: 26px;
            padding-top: 16px;
            border-top: 1px solid var(--line);
            font-size: 13px;
            color: var(--muted);
        }

        .legend-label {
            font-family: var(--font-display);
            font-weight: 600;
            color: var(--ink);
            letter-spacing: 0.08em;
        }

        .legend-item {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            color: var(--body);
        }

        .legend-item svg { width: 13px; height: 13px; flex-shrink: 0; }

        .legend-item b {
            font-weight: 700;
            color: var(--ink);
            font-variant-numeric: tabular-nums;
        }

        /* 主题开关：一块小铭牌 */
        .lamp {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            flex-shrink: 0;
            padding: 7px 13px;
            border: 1px solid var(--line-strong);
            border-radius: 999px;
            background: var(--surface);
            font-size: 12.5px;
            font-weight: 500;
            color: var(--body);
            cursor: pointer;
            transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
        }

        .lamp:hover { border-color: var(--trail); color: var(--trail-ink); }
        .lamp:active { transform: translateY(1px); }
        .lamp svg { width: 15px; height: 15px; }
        .lamp .moon { display: none; }
        body.night .lamp .sun { display: none; }
        body.night .lamp .moon { display: block; }

        /* ── 路线栏（吸顶） ────────────────────────── */
        .routebar {
            position: sticky;
            top: 0;
            z-index: 40;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 18px;
            flex-wrap: wrap;
            margin: 0 -40px;
            padding: 12px 40px;
            /* 液态玻璃：半透明底 + 背景模糊，内容从下方经过时会隐约透出来 */
            background: var(--glass-bar);
            -webkit-backdrop-filter: blur(20px) saturate(1.7);
            backdrop-filter: blur(20px) saturate(1.7);
            border-bottom: 1px solid var(--glass-line);
            box-shadow: inset 0 1px 0 var(--glass-highlight);
            transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
        }

        .routebar.stuck {
            box-shadow: inset 0 1px 0 var(--glass-highlight),
                        0 12px 28px -24px rgba(20, 34, 29, 0.9);
        }

        /* 不支持 backdrop-filter 的浏览器退回实底，避免文字糊在内容上 */
        @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
            .routebar { background: var(--ground); }
            .routebar.stuck { box-shadow: 0 10px 24px -22px rgba(34, 48, 42, 0.9); }
        }

        .finder {
            position: relative;
            flex: 1 1 240px;
            max-width: 400px;
        }

        .finder svg {
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 16px;
            height: 16px;
            color: var(--muted);
            pointer-events: none;
            transition: color 0.2s var(--ease);
        }

        .finder input {
            width: 100%;
            padding: 8px 10px 8px 26px;
            border: none;
            border-bottom: 1px solid var(--line-strong);
            background: transparent;
            color: var(--ink);
            font-family: var(--font-body);
            font-size: 14px;
            outline: none;
            transition: border-color 0.25s var(--ease);
        }

        .finder input::placeholder { color: var(--muted); }
        .finder input:focus { border-color: var(--trail); }
        .finder:focus-within svg { color: var(--trail); }

        .routes {
            display: flex;
            align-items: center;
            gap: 4px;
            overflow-x: auto;
            scrollbar-width: none;
        }

        .routes::-webkit-scrollbar { display: none; }

        .route {
            position: relative;
            border: none;
            background: transparent;
            padding: 7px 14px 9px;
            font-family: var(--font-display);
            font-size: 14px;
            font-weight: 600;
            letter-spacing: 0.02em;
            color: var(--muted);
            cursor: pointer;
            white-space: nowrap;
            border-radius: 6px 6px 0 0;
            transition: color 0.22s var(--ease), background 0.22s var(--ease);
        }

        .route::after {
            content: '';
            position: absolute;
            left: 12px;
            right: 12px;
            bottom: 2px;
            height: 2px;
            border-radius: 2px;
            background: var(--trail);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.28s var(--ease);
        }

        .route:hover { color: var(--ink); background: var(--ground-2); }

        .route[aria-selected="true"] { color: var(--ink); }
        .route[aria-selected="true"]::after { transform: scaleX(1); }

        /* ── 主区双栏 ──────────────────────────────── */
        .layout {
            display: grid;
            grid-template-columns: var(--rail-w) minmax(0, 1fr);
            gap: 48px;
            align-items: start;
            padding: 34px 0 10px;
        }

        /* 左栏：步道与站点 */
        .rail {
            position: sticky;
            top: 78px;
            padding-bottom: 30px;
        }

        .rail-cap {
            font-family: var(--font-display);
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 0.16em;
            color: var(--muted);
            margin-bottom: 16px;
        }

        .trail {
            position: relative;
            padding-left: 18px;
            list-style: none;
        }

        .trail::before {
            content: '';
            position: absolute;
            left: 4px;
            top: 4px;
            bottom: 4px;
            width: 0;
            border-left: 2px dashed var(--line-strong);
            transform-origin: top;
            animation: drawTrail 1.1s var(--ease) both;
        }

        @keyframes drawTrail {
            from { transform: scaleY(0); opacity: 0; }
            to { transform: scaleY(1); opacity: 1; }
        }

        .trail-group + .trail-group { margin-top: 20px; }

        .trail-group-name {
            display: block;
            font-size: 11.5px;
            font-weight: 700;
            letter-spacing: 0.1em;
            color: var(--muted);
            margin-bottom: 6px;
        }

        .station {
            position: relative;
            display: flex;
            align-items: baseline;
            gap: 8px;
            padding: 5px 0;
            font-size: 14px;
            color: var(--body);
            transition: color 0.2s var(--ease);
        }

        .station::before {
            content: '';
            position: absolute;
            left: -18px;
            top: 13px;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            border: 2px solid var(--line-strong);
            background: var(--ground);
            transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
        }

        .station:hover { color: var(--trail-ink); }
        .station:hover::before { border-color: var(--trail); }

        .station.on { color: var(--ink); font-weight: 500; }

        .station.on::before {
            background: var(--trail);
            border-color: var(--trail);
            transform: scale(1.15);
        }

        .station small {
            color: var(--muted);
            font-size: 11.5px;
            font-variant-numeric: tabular-nums;
        }

        .rail-note {
            margin-top: 26px;
            padding-top: 14px;
            border-top: 1px solid var(--line);
            font-size: 12px;
            line-height: 1.9;
            color: var(--muted);
        }

        /* ── 内容区 ─────────────────────────────────── */
        .content { min-width: 0; }

        .panel { display: none; }
        .panel.on { display: block; }

        .course {
            margin-bottom: 40px;
            scroll-margin-top: 86px;
        }

        .signpost {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 2px;
            animation: signIn 0.55s var(--ease) both;
        }

        @keyframes signIn {
            from { opacity: 0; transform: translateY(-6px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .sign {
            position: relative;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 7px 15px 8px;
            border-radius: 5px;
            background: var(--sign-bg);
            color: var(--sign-ink);
            font-family: var(--font-display);
            font-size: 18px;
            font-weight: 700;
            letter-spacing: 0.02em;
            white-space: nowrap;
        }

        .sign::after {
            content: '';
            position: absolute;
            left: 15px;
            top: 100%;
            width: 3px;
            height: 11px;
            background: var(--sign-bg);
            border-radius: 0 0 2px 2px;
        }

        .sign-mark { display: inline-flex; opacity: 0.72; }
        .sign-mark svg { width: 15px; height: 15px; }

        .signpost-rule {
            flex: 1;
            min-width: 20px;
            height: 0;
            margin-top: 1px;
            border-top: 2px dashed var(--line-strong);
        }

        .signpost-count {
            font-size: 12px;
            color: var(--muted);
            font-variant-numeric: tabular-nums;
            white-space: nowrap;
        }

        /* ── 条目行 ────────────────────────────────── */
        .plaques {
            padding-top: 14px;
            border-top: 1px solid var(--line);
        }

        .plaque {
            position: relative;
            cursor: pointer;
            display: grid;
            grid-template-columns: 40px minmax(0, 1fr) 120px;
            align-items: start;
            gap: 16px;
            padding: 15px 6px;
            border-bottom: 1px solid var(--line);
            transition: background 0.22s var(--ease);
        }

        .plaque:hover { background: var(--surface); }

        .mark {
            width: 38px;
            height: 38px;
            display: grid;
            place-items: center;
            border: 1px solid var(--line-strong);
            border-radius: 9px;
            background: var(--ground);
            color: var(--trail-ink);
            font-family: var(--font-display);
            font-size: 15px;
            font-weight: 700;
            line-height: 1;
            overflow: hidden;
            transition: border-color 0.22s var(--ease), color 0.22s var(--ease);
        }

        .plaque:hover .mark { border-color: var(--trail); }

        .mark img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .plaque-body { min-width: 0; }

        /* 条目名即详情页入口：常驻淡下划线表示可点，悬停变强调色并露出箭头 */
        .plaque-name a {
            color: inherit;
            text-decoration: underline;
            text-decoration-color: var(--line-strong);
            text-decoration-thickness: 1px;
            text-underline-offset: 4px;
            transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
        }

        .plaque-name a::after {
            content: '›';
            display: inline-block;
            margin-left: 5px;
            color: var(--trail);
            opacity: 0;
            transform: translateX(-3px);
            transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
        }

        .plaque:hover .plaque-name a {
            color: var(--trail-ink);
            text-decoration-color: currentColor;
        }

        /* 拉伸链接：整行都是详情页热区，右侧外链按钮层级更高，仍然可点 */
        .plaque-name a::before {
            content: '';
            position: absolute;
            inset: 0;
            z-index: 1;
        }

        .plaque-go {
            position: relative;
            z-index: 2;
        }

        .plaque:hover .plaque-name a::after {
            opacity: 0.9;
            transform: translateX(0);
        }

        .plaque-name {
            font-family: var(--font-display);
            font-size: 16.5px;
            font-weight: 700;
            line-height: 1.4;
            color: var(--ink);
            overflow-wrap: anywhere;
        }

        .plaque-name mark {
            background: var(--trail-soft);
            color: var(--trail-ink);
            padding: 0 2px;
            border-radius: 3px;
        }

        .plaque-desc {
            margin-top: 3px;
            font-size: 13.5px;
            line-height: 1.7;
            color: var(--body);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .plaque-desc mark {
            background: var(--trail-soft);
            color: var(--trail-ink);
            border-radius: 3px;
        }

        .plaque-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
            margin-top: 7px;
        }

        .chip {
            font-size: 11px;
            line-height: 1.7;
            letter-spacing: 0.04em;
            color: var(--muted);
            padding: 1px 7px;
            border: 1px solid var(--line);
            border-radius: 4px;
        }

        .plaque-go {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 5px;
            padding-top: 2px;
        }

        .go {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            font-size: 12.5px;
            color: var(--trail-ink);
            text-decoration: underline;
            text-decoration-color: var(--line-strong);
            text-decoration-thickness: 1px;
            text-underline-offset: 3px;
            transition: text-decoration-color 0.2s var(--ease), gap 0.2s var(--ease);
        }

        .go:hover { text-decoration-color: currentColor; gap: 7px; }
        .go svg { width: 12px; height: 12px; flex-shrink: 0; }

        .go-none {
            font-size: 12px;
            color: var(--muted);
        }

        /* ── 载入 / 空 / 错 ────────────────────────── */
        .skeleton-rows { padding-top: 14px; border-top: 1px solid var(--line); }

        .skeleton-row {
            display: grid;
            grid-template-columns: 40px minmax(0, 1fr) 100px;
            gap: 16px;
            padding: 16px 6px;
            border-bottom: 1px solid var(--line);
        }

        .sk {
            background: var(--ground-2);
            border-radius: 4px;
            animation: skPulse 1.7s ease-in-out infinite;
        }

        .sk-mark { width: 38px; height: 38px; border-radius: 9px; }
        .sk-line { height: 12px; margin-bottom: 8px; }
        .sk-line.w1 { width: 34%; }
        .sk-line.w2 { width: 78%; }
        .sk-line.w3 { width: 55%; height: 10px; }
        .sk-go { height: 12px; width: 60px; justify-self: end; }

        @keyframes skPulse {
            0%, 100% { opacity: 0.5; }
            50% { opacity: 1; }
        }

        .void {
            margin: 18px 0 8px;
            padding: 46px 24px;
            text-align: center;
            border: 1px dashed var(--line-strong);
            border-radius: var(--radius);
            background: var(--surface);
        }

        .void-mark {
            display: grid;
            place-items: center;
            width: 46px;
            height: 46px;
            margin: 0 auto 12px;
            color: var(--muted);
        }

        .void-mark svg { width: 34px; height: 34px; }

        .void-title {
            font-family: var(--font-display);
            font-size: 16px;
            font-weight: 700;
            color: var(--ink);
            margin-bottom: 3px;
        }

        .void-desc { font-size: 13.5px; color: var(--muted); }

        /* ── 页脚：步道尽头 ────────────────────────── */
        .bottom {
            position: relative;
            z-index: 1;
            margin-top: 46px;
            padding: 30px 0 46px;
            border-top: 1px solid var(--line);
        }

        .bottom-plate {
            display: flex;
            align-items: flex-start;
            gap: 20px;
            flex-wrap: wrap;
            justify-content: space-between;
        }

        .bottom-sign {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 13px;
            border-radius: 4px;
            background: var(--sign-bg);
            color: var(--sign-ink);
            font-family: var(--font-display);
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 0.04em;
        }

        .bottom-sign svg { width: 14px; height: 14px; }

        .disclaimer {
            flex: 1 1 420px;
            font-size: 12.5px;
            line-height: 1.9;
            color: var(--muted);
            max-width: 46em;
        }

        .bottom-meta {
            display: flex;
            align-items: center;
            gap: 14px;
            flex-wrap: wrap;
            font-size: 12.5px;
            color: var(--muted);
            margin-top: 20px;
        }

        .bottom-meta a {
            color: var(--body);
            border-bottom: 1px solid var(--line-strong);
            padding-bottom: 1px;
            transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
        }

        .bottom-meta a:hover { color: var(--trail-ink); border-color: var(--trail); }

        .decode {
            margin-top: 34px;
            text-align: center;
            overflow: hidden;
            font-family: var(--font-display);
            font-size: clamp(19px, 2.6vw, 27px);
            font-weight: 700;
            letter-spacing: 0.14em;
            line-height: 1.7;
            color: var(--trail-ink);
            user-select: none;
        }

        .decode .ch {
            display: inline-block;
            transition: color 0.1s linear, opacity 0.1s linear;
        }

        .decode .ch.raw { color: var(--muted); opacity: 0.42; }

        /* ── 提示条 ────────────────────────────────── */
        .toast {
            position: fixed;
            left: 50%;
            bottom: 30px;
            z-index: 90;
            padding: 11px 22px;
            border-radius: 8px;
            background: var(--ink);
            color: var(--ground);
            font-size: 13px;
            font-weight: 500;
            opacity: 0;
            transform: translate(-50%, 12px);
            pointer-events: none;
            transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
        }

        .toast.show { opacity: 1; transform: translate(-50%, 0); }

        /* ── 滚动条 / 光标 ─────────────────────────── */
        ::-webkit-scrollbar { width: 10px; height: 10px; }
        ::-webkit-scrollbar-track { background: var(--ground); }
        ::-webkit-scrollbar-thumb {
            background: var(--line-strong);
            border: 3px solid var(--ground);
            border-radius: 999px;
        }
        ::-webkit-scrollbar-thumb:hover { background: var(--trail); }

        input, textarea { caret-color: var(--trail); }

        /* ── 响应式 ────────────────────────────────── */
        .layout.solo { grid-template-columns: minmax(0, 1fr); }
        .layout.solo .rail { display: none; }

        @media (max-width: 1040px) {
            .layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
            .rail { display: none; }
        }

        @media (max-width: 760px) {
            .sheet { padding: 0 20px; }
            .plate { padding: 28px 0 18px; }
            .plate-top { flex-direction: column-reverse; gap: 14px; }
            .plate-lede { font-size: 15px; }
            .legend { gap: 4px 16px; margin-top: 20px; padding-top: 13px; }
            .routebar { margin: 0 -20px; padding: 10px 20px; gap: 8px; }
            .finder { max-width: 100%; flex-basis: 100%; }
            .plaques { padding-top: 12px; }
            .plaque {
                grid-template-columns: 36px minmax(0, 1fr);
                gap: 12px;
                padding: 14px 2px;
            }
            .mark { width: 34px; height: 34px; border-radius: 8px; font-size: 14px; }
            .plaque-go {
                grid-column: 2;
                flex-direction: row;
                align-items: center;
                flex-wrap: wrap;
                gap: 12px;
                margin-top: 8px;
            }
            .sign { font-size: 16px; padding: 6px 12px 7px; }
            .notice { padding: 16px; }
            .notice input { max-width: 100%; }
            .bottom-plate { gap: 14px; }
            .decode { letter-spacing: 0.1em; }
        }

        @media (max-width: 420px) {
            .plaque-desc { -webkit-line-clamp: 3; line-clamp: 3; }
        }

        @media (prefers-reduced-motion: reduce) {
            html { scroll-behavior: auto; }
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }
    
