/* 自研考点图册：现代中文编辑制图，不依赖第三方地图 DOM。 */
.jx-atlas-host{
  --atlas-paper:#eef0eb;
  --atlas-ink:#263a35;
  --atlas-muted:#697a74;
  --atlas-red:#b8533f;
  --atlas-jade:#47786d;
  position:relative;isolation:isolate;overflow:hidden;background:var(--atlas-paper);contain:strict
}
.jx-atlas-host::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;box-shadow:inset 0 0 0 1px rgba(43,66,58,.08),inset 0 -28px 54px rgba(50,74,66,.07)}
.jx-atlas-stage{position:absolute;inset:0;z-index:1;width:100%;height:100%;display:block;touch-action:none;cursor:grab;outline:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;transition:opacity .32s ease,filter .32s ease}
.jx-atlas-stage:active{cursor:grabbing}
.jx-atlas-controls{position:absolute;inset:0;z-index:3;pointer-events:none;color:var(--atlas-ink);font-family:"PingFang SC","Hiragino Sans GB",sans-serif}
.jx-atlas-sign{position:absolute;left:20px;top:20px;display:grid;grid-template-columns:34px auto;grid-template-rows:auto auto auto;column-gap:11px;padding:13px 16px 12px 13px;border:1px solid rgba(63,82,74,.14);border-radius:3px;background:rgba(249,247,239,.94);box-shadow:0 15px 42px rgba(55,67,61,.12),0 2px 6px rgba(55,67,61,.06)}
.jx-atlas-sign>i{grid-column:1;grid-row:1/4;align-self:center;width:32px;height:32px;display:grid;place-items:center;border:1px solid rgba(142,56,43,.55);color:#9e4638;font:700 17px/1 "FZKai-Z03","KaiTi SC",STKaiti,serif;font-style:normal;box-shadow:inset 0 0 0 2px rgba(184,83,63,.07);transform:rotate(-2deg)}
.jx-atlas-sign>span{grid-column:2;font:650 8px/1.25 inherit;letter-spacing:.18em;color:#7c8781}
.jx-atlas-sign>b{grid-column:2;font:750 19px/1.24 "Songti SC","STSong",serif;letter-spacing:.1em;color:#243832}
.jx-atlas-sign>em{grid-column:2;font:450 9px/1.35 inherit;font-style:normal;letter-spacing:.03em;color:#78837e}
.jx-atlas-zoom{position:absolute;right:16px;bottom:24px;display:grid;grid-template-columns:46px;gap:7px;pointer-events:auto}
.jx-atlas-zoom button,.jx-atlas-zoom>span{width:46px;height:46px;display:grid;place-items:center;border:1px solid rgba(55,76,68,.15);border-radius:50%;background:rgba(250,248,240,.95);color:var(--atlas-ink);box-shadow:0 9px 26px rgba(49,67,60,.14),0 1px 3px rgba(49,67,60,.08)}
.jx-atlas-zoom button{padding:0;cursor:pointer;transition:transform .16s cubic-bezier(.2,.8,.2,1),background-color .16s,color .16s,border-color .16s}
.jx-atlas-zoom button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.jx-atlas-zoom button:active{transform:scale(.91);background:var(--atlas-red);border-color:var(--atlas-red);color:#fff9ec}
.jx-atlas-zoom>span{height:25px;border-radius:99px;font:700 9px/1 inherit;letter-spacing:.11em;color:#6a7771;box-shadow:0 5px 18px rgba(49,67,60,.1)}
.jx-atlas-scale{position:absolute;left:20px;bottom:26px;display:flex;align-items:center;gap:9px;padding:8px 11px 8px 9px;border:1px solid rgba(60,78,71,.11);border-radius:99px;background:rgba(248,246,237,.91);font:500 9px/1.2 inherit;letter-spacing:.02em;color:#687771;box-shadow:0 7px 22px rgba(51,68,61,.09);transition:opacity .22s,transform .22s}
.jx-atlas-scale>i{width:24px;height:13px;position:relative;border:solid #a84c3d;border-width:0 0 1px;font-style:normal}
.jx-atlas-scale>i::before,.jx-atlas-scale>i::after{content:"";position:absolute;bottom:-1px;width:1px;height:5px;background:#a84c3d}
.jx-atlas-scale>i::before{left:0}.jx-atlas-scale>i::after{right:0}
.is-exploring .jx-atlas-scale{opacity:0;transform:translateY(5px)}
.jx-atlas-legend{position:absolute;left:20px;top:116px;display:flex;gap:10px;font:600 8px/1 inherit;letter-spacing:.04em;color:#66746f}
.jx-atlas-legend span{display:flex;align-items:center;gap:4px}
.jx-atlas-legend i{width:7px;height:7px;border-radius:50%;background:var(--atlas-jade);box-shadow:0 0 0 2px rgba(255,255,255,.7)}
.jx-atlas-legend span+span i{background:var(--atlas-red)}
.jx-terrain-stage{position:absolute;inset:0;z-index:0;width:100%;height:100%;display:block;touch-action:none;cursor:grab;outline:none;opacity:0;transform:scale(1.012);transition:opacity .36s ease,transform .55s cubic-bezier(.2,.8,.2,1);-webkit-tap-highlight-color:transparent}
.jx-terrain-stage:active{cursor:grabbing}
.terrain-active .jx-atlas-stage{opacity:0;pointer-events:none;filter:saturate(.8)}
.terrain-active .jx-terrain-stage{z-index:1;opacity:1;transform:scale(1)}
.jx-atlas-mode{position:absolute;right:16px;top:20px;display:grid;grid-template-columns:1fr 1fr;padding:3px;border:1px solid rgba(48,70,62,.14);border-radius:99px;background:rgba(249,247,239,.94);box-shadow:0 10px 30px rgba(46,67,59,.12);pointer-events:auto;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.jx-atlas-mode button{height:36px;min-width:62px;padding:0 13px;border:0;border-radius:99px;background:transparent;color:#66736e;font:650 11px/1 inherit;letter-spacing:.04em;display:flex;align-items:center;justify-content:center;gap:5px;cursor:pointer;transition:background .2s,color .2s,box-shadow .2s,transform .15s}
.jx-atlas-mode button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.jx-atlas-mode button.is-active{background:#314c44;color:#fffaf0;box-shadow:0 4px 13px rgba(45,69,61,.24)}
.jx-atlas-mode button:active{transform:scale(.94)}
.jx-atlas-relief{position:absolute;left:50%;bottom:24px;display:none;align-items:center;gap:2px;padding:4px;border:1px solid rgba(63,78,69,.14);border-radius:99px;background:rgba(249,247,239,.92);box-shadow:0 11px 30px rgba(45,63,56,.13);pointer-events:auto;transform:translateX(-50%);white-space:nowrap;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.terrain-active .jx-atlas-relief{display:flex;animation:atlas-rise .32s both}
.jx-atlas-relief>span{display:block;flex:none;padding:0 7px 0 9px;color:#7a827e;font:650 9px/1 inherit;letter-spacing:.12em;white-space:nowrap}
.jx-atlas-relief button{height:30px;flex:none;padding:0 10px;border:0;border-radius:99px;background:transparent;color:#66736e;font:650 10px/1 inherit;white-space:nowrap;cursor:pointer}
.jx-atlas-relief button.is-active{background:#b8533f;color:#fff9ec;box-shadow:0 3px 10px rgba(143,60,46,.22)}
.jx-terrain-credit{position:absolute;right:18px;bottom:18px;display:none;color:rgba(44,65,58,.68);font:600 8px/1.2 inherit;letter-spacing:.06em;text-shadow:0 1px 0 rgba(255,255,255,.75)}
.terrain-active .jx-terrain-credit{display:block}
.jx-terrain-status,.jx-terrain-hint,.jx-terrain-fallback{position:absolute;left:50%;top:50%;display:none;align-items:center;gap:10px;padding:12px 16px;border:1px solid rgba(52,72,64,.14);border-radius:99px;background:rgba(249,247,239,.95);color:#344c45;box-shadow:0 18px 44px rgba(40,57,51,.18);font:650 11px/1 inherit;letter-spacing:.04em;transform:translate(-50%,-50%);white-space:nowrap;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.terrain-loading .jx-terrain-status,.terrain-region-loading.terrain-active .jx-terrain-status{display:flex}
.jx-terrain-status i{width:13px;height:13px;border:2px solid rgba(71,120,109,.25);border-top-color:#47786d;border-radius:50%;animation:atlas-spin .72s linear infinite}
.terrain-hinting.terrain-active .jx-terrain-hint{display:flex;top:auto;bottom:82px;animation:terrain-hint 3.2s both}
.terrain-fallback .jx-terrain-fallback{display:flex;animation:terrain-hint 2.5s both}
.jx-terrain-labels{position:absolute;inset:0;z-index:2;overflow:hidden;pointer-events:none;opacity:0;transition:opacity .25s}
.terrain-active .jx-terrain-labels{opacity:1}
.jx-terrain-label{position:absolute;left:0;top:0;pointer-events:auto;border:0;border-radius:4px;padding:3px 6px;background:rgba(250,247,235,.88);color:#324940;box-shadow:0 2px 8px rgba(43,58,52,.13),inset 0 0 0 1px rgba(52,72,64,.1);font:650 9px/1.2 "PingFang SC","Hiragino Sans GB",sans-serif;white-space:nowrap;will-change:transform}
.jx-terrain-label.is-spot{border-radius:99px;background:#b8533f;color:#fff9ec;box-shadow:0 4px 12px rgba(119,48,36,.22);font-size:9px}
.jx-terrain-label[hidden]{display:none}
.terrain-active .jx-atlas-scale,.terrain-active .jx-atlas-legend{opacity:0;pointer-events:none}
.terrain-active .jx-atlas-zoom [data-atlas-in],.terrain-active .jx-atlas-zoom [data-atlas-out],.terrain-active .jx-atlas-zoom>span{display:none}
@keyframes atlas-spin{to{transform:rotate(360deg)}}
@keyframes atlas-rise{from{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%,0)}}
@keyframes terrain-hint{0%{opacity:0;transform:translate(-50%,8px)}12%,78%{opacity:1;transform:translate(-50%,0)}100%{opacity:0;transform:translate(-50%,-4px)}}
.atlas-active .map-layer-switcher,.atlas-active .map-loading,.atlas-active .home-toolbar,.atlas-active .home-legend{display:none!important}
.map-province-active .jx-atlas-sign,.map-province-active .jx-atlas-legend{opacity:0;visibility:hidden;transform:translateY(-5px)}
.atlas-active .layer-nav-fab{border:1px solid rgba(55,76,68,.15)!important;border-radius:99px!important;background:rgba(250,248,240,.96)!important;color:#334b44!important;box-shadow:0 9px 26px rgba(49,67,60,.14)!important;font-weight:650!important;letter-spacing:.03em!important}

/* 桌面地图位于 64px 工作栏和 28px 课程提示之后，不能再按完整视窗高度向下溢出。 */
@media(min-width:769px){
  body[data-view="map-home"] .home-fullscreen,body[data-view="map"] .home-fullscreen{height:calc(100dvh - 92px);min-height:0}
  .home-fullscreen.atlas-active .jx-atlas-route-card,
  .home-fullscreen.atlas-active .jx-atlas-province-card,
  .home-fullscreen.atlas-active .jx-atlas-province-menu{left:238px}
}

@media(max-width:768px){
  body[data-view="map-home"],body[data-view="map"]{overflow:clip!important}
  body[data-view="map-home"] main,body[data-view="map"] main{position:fixed!important;inset:0!important;margin:0!important;padding:0!important;overflow:clip!important}
  body[data-view="map-home"] .home-fullscreen,body[data-view="map"] .home-fullscreen,
  body[data-view="map-home"] #homemap,body[data-view="map"] #homemap{width:100vw!important;height:100dvh!important;min-height:0!important;overflow:clip!important}
  body[data-view="map-home"] .mobile-menu-btn,body[data-view="map"] .mobile-menu-btn{background:rgba(250,248,240,.96)!important;color:#334b44!important;border:1px solid rgba(55,76,68,.15)!important;box-shadow:0 9px 26px rgba(49,67,60,.14)!important}
  .jx-atlas-sign{left:12px;top:calc(66px + env(safe-area-inset-top));grid-template-columns:30px auto;column-gap:9px;padding:10px 12px 9px 10px;border-radius:2px}
  .jx-atlas-sign>i{width:28px;height:28px;font-size:15px}
  .jx-atlas-sign>b{font-size:17px}
  .jx-atlas-sign>em{font-size:8px}
  .jx-atlas-legend{left:14px;top:calc(146px + env(safe-area-inset-top))}
  .jx-atlas-zoom{right:12px;bottom:calc(84px + env(safe-area-inset-bottom));grid-template-columns:46px}
  .jx-atlas-zoom button,.jx-atlas-zoom>span{width:46px;height:46px}
  .jx-atlas-zoom>span{height:25px}
  .jx-atlas-scale{left:12px;bottom:calc(90px + env(safe-area-inset-bottom));max-width:248px}
  .jx-atlas-mode{right:12px;top:calc(68px + env(safe-area-inset-top));z-index:7}
  .jx-atlas-mode button{min-width:58px;height:40px;padding:0 11px;font-size:11px}
  .jx-atlas-relief{bottom:calc(84px + env(safe-area-inset-bottom));z-index:6}
  .jx-atlas-relief>span{padding:0 4px 0 7px;font-size:8px;letter-spacing:.08em}
  .jx-atlas-relief button{height:32px;padding:0 8px;font-size:10px}
  .jx-terrain-label{padding:3px 5px;font-size:8px}
  .jx-terrain-credit{right:14px;bottom:calc(148px + env(safe-area-inset-bottom));font-size:7px}
  .terrain-hinting.terrain-active .jx-terrain-hint{bottom:calc(142px + env(safe-area-inset-bottom))}
  .terrain-active .jx-atlas-sign{opacity:.86;transform:scale(.9);transform-origin:left top}
  .terrain-active .jx-atlas-zoom{bottom:calc(84px + env(safe-area-inset-bottom))}
  .home-toolbar{z-index:5}
  .atlas-active .layer-nav-fab{left:auto!important;right:12px!important;top:calc(118px + env(safe-area-inset-top))!important;bottom:auto!important;min-width:64px!important;height:46px!important;z-index:6!important}
}

@media(prefers-reduced-motion:reduce){.jx-atlas-zoom button,.jx-atlas-scale,.jx-atlas-stage,.jx-terrain-stage{transition:none}.terrain-hinting.terrain-active .jx-terrain-hint{animation:none;display:none}}

/* Multiple nearby points are presented as a neutral, count-bearing choice.
   The category colours only appear as small hints around the cluster. */
.jx-atlas-candidate-sheet{position:absolute;z-index:12;left:50%;bottom:18px;width:min(390px,calc(100% - 24px));max-height:min(58vh,430px);display:grid;gap:8px;padding:14px 12px 12px;border:1px solid rgba(64,87,77,.16);border-radius:18px;background:rgba(255,250,237,.98);box-shadow:0 18px 54px rgba(34,53,45,.24),0 2px 8px rgba(34,53,45,.1);color:#293d36;transform:translateX(-50%);pointer-events:auto;overflow:hidden}
.jx-atlas-candidate-sheet header{display:flex;align-items:center;justify-content:space-between;gap:8px}
.jx-atlas-candidate-sheet header b{font:750 16px/1.2 "PingFang SC","Hiragino Sans GB",sans-serif;letter-spacing:.02em}
.jx-atlas-candidate-sheet p{margin:0;color:#728078;font:500 10px/1.4 inherit}
.jx-atlas-candidate-close{width:44px;height:44px;border:0;border-radius:50%;background:#edf0e7;color:#4a655a;font-size:23px;line-height:1;cursor:pointer}
.jx-atlas-candidate-list{display:grid;gap:5px;overflow:auto;overscroll-behavior:contain;padding:1px 1px 3px}
.jx-atlas-candidate-item{min-height:48px;display:flex;align-items:center;gap:10px;padding:6px 9px;border:1px solid rgba(66,89,78,.12);border-radius:10px;background:#faf6eb;color:#31483f;text-align:left;cursor:pointer}
.jx-atlas-candidate-item:active{background:#e9eee6}
.jx-atlas-candidate-item>i{position:relative;flex:none;width:14px;height:14px;display:block;background:var(--marker-color,#8a6c43);border:2px solid #fff8e9;box-shadow:0 0 0 2px var(--marker-color,#8a6c43)}
.jx-atlas-candidate-item>i.atlas-shape-circle{border-radius:50%}.jx-atlas-candidate-item>i.atlas-shape-square{border-radius:2px}
.jx-atlas-candidate-item>i.atlas-shape-diamond{transform:rotate(45deg);border-radius:1px}.jx-atlas-candidate-item>i.atlas-shape-triangle{clip-path:polygon(50% 0,100% 100%,0 100%)}
.jx-atlas-candidate-item>i.atlas-shape-star{clip-path:polygon(50% 0,61% 36%,98% 36%,68% 58%,79% 100%,50% 74%,21% 100%,32% 58%,2% 36%,39% 36%)}
.jx-atlas-candidate-item>i.atlas-shape-hexagon{clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%)}
.jx-atlas-candidate-item>i.atlas-shape-octagon{clip-path:polygon(30% 0,70% 0,100% 30%,100% 70%,70% 100%,30% 100%,0 70%,0 30%)}
.jx-atlas-candidate-item>i.atlas-shape-wave{border-radius:50% 50% 35% 35%}
.jx-atlas-candidate-item span{min-width:0;display:grid;gap:2px}.jx-atlas-candidate-item b{overflow:hidden;font:650 12px/1.3 inherit;white-space:nowrap;text-overflow:ellipsis}.jx-atlas-candidate-item small{color:#718079;font:500 9px/1.2 inherit}
@media(max-width:768px){.jx-atlas-candidate-sheet{bottom:calc(68px + env(safe-area-inset-bottom));max-height:min(54dvh,440px)}.jx-atlas-candidate-item{min-height:50px}}

/* Full-screen map owns its viewport; page FAQ/ICP chrome must not leak into it. */
body[data-view="map-home"] .geo-faq,body[data-view="map"] .geo-faq,
body[data-view="map-home"] .sb-icp,body[data-view="map"] .sb-icp{display:none!important;visibility:hidden!important}

/* 藏品沙盘：把地形当作博物馆展柜中的实体，而不是一层地图背景。 */
.jx-atlas-host.terrain-active{--atlas-ink:#f3ead4;--atlas-muted:#b7ae99;background:#172521}
.jx-atlas-host.terrain-active::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:radial-gradient(ellipse at 50% 48%,rgba(90,128,111,.16) 0,rgba(23,37,33,0) 48%),linear-gradient(155deg,rgba(246,221,177,.045),transparent 34%,rgba(0,0,0,.14));mix-blend-mode:screen}
.jx-atlas-host.terrain-active::after{z-index:2;box-shadow:inset 0 0 0 1px rgba(233,211,171,.1),inset 0 -70px 90px rgba(4,11,9,.33),inset 0 80px 100px rgba(3,12,9,.22)}
.terrain-active .jx-atlas-sign{opacity:0!important;visibility:hidden;transform:translateY(-8px)!important;pointer-events:none}
.jx-terrain-caption{position:absolute;left:22px;top:22px;display:none;max-width:240px;color:#f4ead2;text-shadow:0 2px 18px rgba(0,0,0,.45)}
.terrain-active .jx-terrain-caption{display:grid;gap:4px;animation:terrain-caption-in .72s cubic-bezier(.2,.8,.2,1) both}
.jx-terrain-caption>span{color:#b9a77d;font:650 8px/1.2 var(--font-ui);letter-spacing:.18em}
.jx-terrain-caption>b{font:700 25px/1.12 "Songti SC","STSong",serif;letter-spacing:.13em}
.jx-terrain-caption>em{color:#b9c3b9;font:500 9px/1.4 "PingFang SC","Hiragino Sans GB",sans-serif;font-style:normal;letter-spacing:.07em}
.jx-terrain-key{position:absolute;left:22px;bottom:28px;display:none;gap:13px;color:#b9c3b9;font:600 8px/1 "PingFang SC","Hiragino Sans GB",sans-serif;letter-spacing:.08em}
.terrain-active .jx-terrain-key{display:flex}
.jx-terrain-key span{display:flex;align-items:center;gap:5px}
.jx-terrain-key i{position:relative;width:14px;height:5px;display:block;border-top:1.5px solid #d1a56b}
.jx-terrain-key i.is-river{border-color:#71c6c7}
.jx-terrain-key i.is-flag{width:9px;height:10px;border:0;border-left:1px solid #ead6b4}
.jx-terrain-key i.is-flag::after{content:"";position:absolute;left:1px;top:0;border-style:solid;border-width:3px 0 3px 6px;border-color:transparent transparent transparent #c5533f}
.terrain-active .jx-atlas-mode{border-color:rgba(223,199,157,.18);background:rgba(12,25,21,.72);box-shadow:0 14px 38px rgba(0,0,0,.24);color:#c5bda9}
.terrain-active .jx-atlas-mode button{color:#bfc9bf}
.terrain-active .jx-atlas-mode button.is-active{background:#e7d3a9;color:#1b3029;box-shadow:0 4px 18px rgba(0,0,0,.3)}
.terrain-active .jx-atlas-relief{border-color:rgba(226,205,166,.17);background:rgba(12,25,21,.76);box-shadow:0 15px 40px rgba(0,0,0,.3);color:#e8dec7}
.terrain-active .jx-atlas-relief>span{color:#a99d85}
.terrain-active .jx-atlas-relief button{color:#c9c1ae}
.terrain-active .jx-atlas-relief button.is-active{background:#c5533f;color:#fff4dc;box-shadow:0 4px 14px rgba(0,0,0,.3)}
.terrain-active .jx-terrain-credit{color:rgba(204,194,170,.64);text-shadow:0 1px 8px rgba(0,0,0,.5)}
.terrain-active .jx-atlas-zoom button{border-color:rgba(226,205,166,.18);background:rgba(12,25,21,.74);color:#efe1c4;box-shadow:0 12px 34px rgba(0,0,0,.28)}
.terrain-active .jx-terrain-status,.terrain-active .jx-terrain-hint{border-color:rgba(226,205,166,.17);background:rgba(12,25,21,.84);color:#eadfc7;box-shadow:0 18px 44px rgba(0,0,0,.35)}
.jx-terrain-label{min-width:0!important;min-height:0!important;border:0;padding:0;background:transparent;box-shadow:none;color:#f0e5c8;text-align:center;text-shadow:0 1px 2px rgba(5,13,10,.98),0 0 7px rgba(5,13,10,.88);font-family:"Songti SC","STSong",serif;pointer-events:none}
.jx-terrain-label.is-landform{font-size:10px;font-weight:700;letter-spacing:.16em;color:#f4e4c1}
.jx-terrain-label.is-mountain{font-size:9px;font-weight:650;letter-spacing:.14em;color:#efc58d}
.jx-terrain-label.is-river{font-size:9px;font-weight:650;font-style:italic;letter-spacing:.18em;color:#91dfdc}
.jx-terrain-label.is-mark{pointer-events:auto;border:1px solid rgba(255,239,205,.3);border-radius:99px;padding:4px 7px;background:rgba(157,57,42,.86);color:#fff1d4;box-shadow:0 5px 15px rgba(0,0,0,.3);font-family:"PingFang SC","Hiragino Sans GB",sans-serif;font-size:8px;letter-spacing:.03em}
.home-fullscreen.terrain-active .layer-nav-fab{border-color:rgba(226,205,166,.18)!important;background:rgba(12,25,21,.74)!important;color:#eadfc7!important;box-shadow:0 12px 34px rgba(0,0,0,.28)!important}
@keyframes terrain-caption-in{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}

@media(max-width:768px){
  .jx-terrain-caption{left:68px;top:calc(72px + env(safe-area-inset-top));max-width:170px;gap:2px}
  .jx-terrain-caption>span{font-size:6px;letter-spacing:.12em}
  .jx-terrain-caption>b{font-size:20px;letter-spacing:.1em}
  .jx-terrain-caption>em{font-size:7px;letter-spacing:.04em}
  .jx-terrain-key{left:15px;bottom:calc(146px + env(safe-area-inset-bottom));gap:9px;font-size:7px}
  .terrain-active .jx-atlas-mode{top:calc(68px + env(safe-area-inset-top))}
  .terrain-active .jx-atlas-mode button{min-width:52px;height:38px;padding:0 9px}
  .terrain-active .jx-atlas-relief{bottom:calc(86px + env(safe-area-inset-bottom));padding:3px}
  .terrain-active .jx-atlas-relief button{height:34px;padding:0 9px}
  .terrain-active .jx-atlas-zoom{right:13px;bottom:calc(84px + env(safe-area-inset-bottom))}
  .terrain-active .jx-atlas-zoom button{width:44px;height:44px}
  .terrain-active .jx-terrain-credit{right:14px;bottom:calc(145px + env(safe-area-inset-bottom));font-size:6px}
  .terrain-active .jx-terrain-label.is-landform{font-size:8px}
  .terrain-active .jx-terrain-label.is-mountain,.terrain-active .jx-terrain-label.is-river{font-size:7px}
  .home-fullscreen.terrain-active .layer-nav-fab{top:calc(116px + env(safe-area-inset-top))!important;min-width:58px!important;height:42px!important;font-size:11px!important}
}

/* 手机短横屏：宽度会越过常规 mobile breakpoint，但交互空间仍应按手机处理。 */
@media (orientation:landscape) and (max-height:520px) and (max-width:950px){
  body[data-view="map-home"] .sidebar,
  body[data-view="map-home"] .workspace-bar,
  body[data-view="map-home"] .china-legend{display:none!important}
  body[data-view="map-home"] main{margin:0!important;padding:0!important}
  body[data-view="map-home"] .home-fullscreen{height:100dvh!important;min-height:0!important}
  body[data-view="map-home"] #homemap{height:100dvh!important;min-height:0!important}
  body[data-view="map-home"] .mobile-menu-btn{
    display:grid!important;top:10px!important;left:10px!important;z-index:210!important;
    width:44px!important;height:44px!important;background:rgba(12,25,21,.78)!important;
    color:#eadfc7!important;border:1px solid rgba(226,205,166,.18)!important
  }
  body[data-view="map-home"] .mobile-menu-btn span{display:block;width:18px;height:2px;border-radius:2px;background:currentColor}
  body[data-view="map-home"] .layer-nav{
    display:block;position:fixed;left:8px;right:8px;top:auto;bottom:0;width:auto;
    max-height:82dvh;border-radius:16px 16px 0 0;transform:translateY(110%);
    transition:transform .28s cubic-bezier(.2,.8,.2,1);z-index:220;
    padding-bottom:env(safe-area-inset-bottom)
  }
  body[data-view="map-home"] .layer-nav.mobile-show{transform:translateY(0)}
  body[data-view="map-home"] .layer-nav-fab,
  body[data-view="map-home"] .home-fullscreen.terrain-active .layer-nav-fab{
    display:flex!important;position:fixed!important;left:auto!important;right:12px!important;
    top:60px!important;bottom:auto!important;z-index:211!important;min-width:58px!important;height:38px!important;
    padding:0 13px!important;font-size:10px!important
  }
  body[data-view="map-home"] #jxTabbar{display:none!important}
  .jx-terrain-caption{left:68px;top:12px;max-width:190px;gap:2px}
  .jx-terrain-caption>span{font-size:6px}.jx-terrain-caption>b{font-size:20px}.jx-terrain-caption>em{font-size:7px}
  .terrain-active .jx-atlas-mode{top:10px;right:12px}
  .terrain-active .jx-atlas-mode button{height:36px;min-width:52px;padding:0 9px}
  .terrain-active .jx-atlas-relief{bottom:10px;padding:3px}
  .terrain-active .jx-atlas-relief button{height:32px;padding:0 9px}
  .terrain-active .jx-atlas-zoom{right:12px;bottom:8px}
  .terrain-active .jx-atlas-zoom button{width:40px;height:40px}
  .jx-terrain-key{left:15px;bottom:15px;gap:9px;font-size:7px}
  .terrain-active .jx-terrain-credit{right:62px;bottom:17px;font-size:6px}
  .terrain-hinting.terrain-active .jx-terrain-hint{display:none}
}

/* ============================================================
   2D 考试图册：省份是章节，考点是书签，学习动作贴着地图发生。
   只覆盖平面模式；显式 terrain 内测仍沿用原藏品沙盘皮肤。
   ============================================================ */
.jx-atlas-host:not(.terrain-active){
  --atlas-paper:#f2efe5;
  --atlas-ink:#243b34;
  --atlas-muted:#64776f;
  --atlas-red:#b6503f;
  --atlas-jade:#3f7568;
  background:#f2efe5;
}
.jx-atlas-flat-head{
  position:absolute;left:24px;top:22px;display:grid;gap:3px;max-width:300px;
  color:var(--atlas-ink);text-shadow:0 1px 0 rgba(255,255,255,.7)
}
.jx-atlas-flat-head>span{font:750 9px/1 inherit;letter-spacing:.18em;color:var(--atlas-red)}
.jx-atlas-flat-head>b{font:750 26px/1.15 "Songti SC","STSong",serif;letter-spacing:.08em}
.jx-atlas-flat-head>em{font:500 10px/1.45 inherit;font-style:normal;letter-spacing:.035em;color:var(--atlas-muted)}
.jx-atlas-topic-strip{
  position:absolute;right:24px;top:22px;display:flex;gap:5px;padding:5px;
  border:1px solid rgba(56,79,70,.13);border-radius:13px;background:rgba(255,252,242,.9);
  box-shadow:0 10px 30px rgba(50,68,61,.11);pointer-events:auto;
  backdrop-filter:blur(13px);-webkit-backdrop-filter:blur(13px)
}
.jx-atlas-topic-strip button{
  min-width:58px;height:46px;display:flex;align-items:center;justify-content:center;gap:7px;
  padding:0 10px;border:0;border-radius:9px;background:transparent;color:#62736c;
  font:650 11px/1 inherit;cursor:pointer;transition:background .18s,color .18s,transform .14s
}
.jx-atlas-topic-strip button:active{transform:scale(.94)}
.jx-atlas-topic-strip button i{
  width:24px;height:24px;display:grid;place-items:center;border:1px solid currentColor;border-radius:50%;
  font:700 10px/1 "Songti SC","STSong",serif;font-style:normal
}
.jx-atlas-topic-strip button.is-active{background:#294b42;color:#fff9ea;box-shadow:0 5px 14px rgba(39,72,63,.2)}
.terrain-capable .jx-atlas-topic-strip{display:none}
.jx-atlas-route-card{
  position:absolute;left:24px;bottom:24px;width:min(460px,calc(100% - 150px));min-height:118px;
  display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:15px;
  padding:14px 15px 14px 13px;border:1px solid rgba(71,80,67,.15);border-radius:8px;
  background:rgba(255,250,237,.96);box-shadow:0 18px 48px rgba(46,61,54,.14),0 2px 7px rgba(46,61,54,.08);
  color:var(--atlas-ink);pointer-events:auto;overflow:hidden
}
.jx-atlas-route-card::after{content:"";position:absolute;right:-20px;bottom:-30px;width:150px;height:72px;border:solid rgba(64,94,81,.09);border-width:1px 0 0;border-radius:50%;transform:rotate(-12deg);pointer-events:none}
.jx-atlas-route-mark{align-self:stretch;display:grid;place-items:center;align-content:center;gap:6px;border-right:1px solid rgba(72,88,78,.14)}
.jx-atlas-route-mark i{width:31px;height:35px;display:grid;place-items:center;background:var(--atlas-red);color:#fff8e8;clip-path:polygon(0 0,100% 0,100% 82%,50% 100%,0 82%);font:750 14px/1 "Songti SC","STSong",serif;font-style:normal}
.jx-atlas-route-mark span{font:650 8px/1 inherit;letter-spacing:.08em;color:#7d7166;writing-mode:vertical-rl}
.jx-atlas-route-copy{min-width:0;display:grid;gap:3px}
.jx-atlas-route-copy small{font:700 9px/1.2 inherit;letter-spacing:.12em;color:var(--atlas-red)}
.jx-atlas-route-copy>b{font:750 19px/1.25 "Songti SC","STSong",serif;letter-spacing:.035em}
.jx-atlas-route-copy>span{overflow:hidden;color:#69766f;font:500 10px/1.4 inherit;white-space:nowrap;text-overflow:ellipsis}
.jx-atlas-route-copy>em{font:600 9px/1 inherit;font-style:normal;color:#6c776f}
.jx-atlas-progress{width:min(190px,100%);height:4px;margin-top:5px;border-radius:99px;background:rgba(63,117,104,.14);overflow:hidden}
.jx-atlas-progress i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--atlas-jade),#75a99a);transition:width .4s ease}
.jx-atlas-route-card>button{
  position:relative;z-index:1;min-width:108px;height:46px;display:flex;align-items:center;justify-content:center;gap:5px;
  padding:0 14px;border:0;border-radius:7px;background:var(--atlas-red);color:#fff9eb;
  box-shadow:0 7px 18px rgba(139,57,43,.22);font:700 12px/1 inherit;cursor:pointer
}
.jx-atlas-route-card>button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.jx-atlas-route-card>button:active{transform:translateY(1px)}
.atlas-province-view .jx-atlas-route-card{opacity:0;visibility:hidden;transform:translateY(8px);pointer-events:none}
.jx-atlas-province-card{
  position:absolute;left:24px;bottom:24px;width:min(460px,calc(100% - 150px));min-height:104px;
  display:grid;grid-template-columns:48px minmax(0,1fr) 116px;align-items:center;gap:13px;
  padding:13px;border:1px solid rgba(71,80,67,.15);border-radius:8px;background:rgba(255,250,237,.96);
  box-shadow:0 18px 48px rgba(46,61,54,.14),0 2px 7px rgba(46,61,54,.08);color:var(--atlas-ink);
  opacity:0;visibility:hidden;transform:translateY(8px);pointer-events:none;transition:opacity .22s,transform .22s;overflow:hidden
}
.atlas-province-view .jx-atlas-province-card{opacity:1;visibility:visible;transform:none;pointer-events:auto}
.jx-atlas-province-card>button:first-child{align-self:stretch;min-height:48px;border:0;border-radius:8px;background:#e4e6db;color:#31594f;display:grid;place-items:center}
.jx-atlas-province-card>button:first-child svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.jx-atlas-province-card>div{min-width:0;display:grid;gap:3px}
.jx-atlas-province-card small{font:750 9px/1 inherit;letter-spacing:.14em;color:var(--atlas-red)}
.jx-atlas-province-card b{font:750 20px/1.2 "Songti SC","STSong",serif;letter-spacing:.035em}
.jx-atlas-province-card span{font:500 9px/1.35 inherit;color:#6c7a73;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jx-atlas-province-actions{display:grid;gap:6px}
.jx-atlas-province-actions button{height:38px;border:0;border-radius:8px;background:var(--atlas-red);color:#fff9eb;box-shadow:0 6px 15px rgba(139,57,43,.18);font:700 11px/1 inherit;cursor:pointer}
.jx-atlas-province-actions button+button{border:1px solid rgba(63,117,104,.22);background:#e4ebe2;color:#31594f;box-shadow:none}
.jx-atlas-province-actions i{margin-left:3px;font-style:normal}
.jx-atlas-province-menu{position:absolute;left:24px;bottom:24px;min-width:270px;height:64px;display:none;grid-template-columns:1fr auto;grid-template-rows:auto auto;align-items:center;gap:3px 18px;padding:10px 14px;border:1px solid rgba(71,80,67,.15);border-radius:10px;background:rgba(255,250,237,.97);color:#243b34;box-shadow:0 15px 40px rgba(46,61,54,.14);pointer-events:auto;text-align:left;cursor:pointer}
.jx-atlas-province-menu b{font:750 15px/1.2 "Songti SC","STSong",serif}.jx-atlas-province-menu span{grid-column:1;color:#6c7a73;font-size:9px}.jx-atlas-province-menu em{grid-column:2;grid-row:1/3;color:#a84839;font-size:10px;font-style:normal;font-weight:750}
.atlas-spot-choice .jx-atlas-province-card{opacity:0;visibility:hidden;transform:translateY(8px);pointer-events:none}
.atlas-spot-choice .jx-atlas-province-menu{display:grid}
.exam-map-directory{padding:18px 10px 32px;color:#19342d}.exam-map-directory>header{padding:6px 4px 18px}.exam-map-directory>header small{color:#3a8f73;font-size:10px;letter-spacing:.14em;font-weight:800}.exam-map-directory>header h2{margin:7px 0 5px;font:800 28px/1.15 "Songti SC","STSong",serif}.exam-map-directory>header p{margin:0;color:#71827b;font-size:12px}.exam-map-directory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.exam-map-directory-card{min-width:0;display:grid;grid-template-columns:76px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px;border:1px solid rgba(44,104,84,.15);border-radius:14px;background:#f8f8f2;color:inherit;text-align:left;cursor:pointer}.exam-map-directory-card img,.exam-map-directory-placeholder{width:76px;height:62px;border-radius:10px;object-fit:cover;background:#dfe9df;display:grid;place-items:center;color:#38755f;font-weight:800}.exam-map-directory-card>span{display:grid;gap:4px;min-width:0}.exam-map-directory-card small{color:#4e937b;font-size:9px}.exam-map-directory-card b{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.exam-map-directory-card i{font-size:10px;color:#7a8983;font-style:normal}.exam-map-directory-card em{margin-left:5px;padding:2px 5px;border-radius:8px;background:#efe4c7;color:#866522;font-size:8px;font-style:normal}.exam-map-directory-card strong{color:#9c493b;font-size:10px;white-space:nowrap}
.terrain-active .jx-atlas-flat-head,.terrain-active .jx-atlas-topic-strip,.terrain-active .jx-atlas-route-card,.terrain-active .jx-atlas-province-card{display:none}

@media(max-width:768px){
  .exam-map-directory{padding:6px 2px 24px}.exam-map-directory-grid{grid-template-columns:1fr}.exam-map-directory-card{grid-template-columns:68px minmax(0,1fr) auto}.exam-map-directory-card img,.exam-map-directory-placeholder{width:68px;height:58px}.exam-map-directory>header h2{font-family:inherit;font-size:24px}
  body[data-view="map-home"] #jxTabbar,body[data-view="map"] #jxTabbar{
    background:rgba(255,252,242,.97);border-color:rgba(64,91,80,.14);box-shadow:0 -12px 32px rgba(47,66,58,.1)
  }
  body[data-view="map-home"] .jx-tab,body[data-view="map"] .jx-tab{color:#687a73}
  body[data-view="map-home"] .jx-tab[data-tab="map-home"],body[data-view="map"] .jx-tab[data-tab="map-home"]{color:#a84839}
  body[data-view="map-home"] .mobile-menu-btn,body[data-view="map"] .mobile-menu-btn{
    top:calc(10px + env(safe-area-inset-top))!important;left:10px!important;width:44px!important;height:44px!important;
    border-radius:13px!important;background:rgba(255,252,242,.94)!important;color:#294b42!important;
    border:1px solid rgba(56,79,70,.13)!important;box-shadow:0 8px 24px rgba(48,67,59,.1)!important
  }
  .jx-atlas-flat-head{left:66px;right:82px;top:calc(10px + env(safe-area-inset-top));max-width:none;gap:1px;text-shadow:none}
  .jx-atlas-flat-head>span{font-size:7px;letter-spacing:.14em}
  .jx-atlas-flat-head>b{font-family:inherit;font-size:19px;line-height:1.16;letter-spacing:.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .jx-atlas-flat-head>em{font-size:8px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .jx-atlas-topic-strip{
    left:12px;right:12px;top:calc(68px + env(safe-area-inset-top));display:grid;grid-template-columns:repeat(5,1fr);
    gap:2px;padding:4px;border-radius:15px
  }
  .jx-atlas-topic-strip button{min-width:0;height:46px;gap:5px;padding:0 4px;border-radius:11px;font-size:10px}
  .jx-atlas-topic-strip button i{width:23px;height:23px;font-size:9px}
  .atlas-active .layer-nav-fab{display:none!important}
  .jx-atlas-legend{left:16px;top:calc(128px + env(safe-area-inset-top));gap:9px;font-size:7px}
  .jx-atlas-route-card{
    left:12px;right:12px;bottom:calc(66px + env(safe-area-inset-bottom));width:auto;min-height:112px;
    grid-template-columns:38px minmax(0,1fr) 98px;gap:9px;padding:12px 11px 12px 9px;border-radius:16px
  }
  .jx-atlas-route-card>button{grid-column:3;grid-row:1;width:98px;min-width:0;height:46px;margin:0;padding:0 8px;border-radius:10px;font-size:11px}
  .jx-atlas-route-mark{grid-row:1}
  .jx-atlas-route-mark i{width:27px;height:32px;font-size:13px}
  .jx-atlas-route-mark span{font-size:7px}
  .jx-atlas-route-copy>b{font-family:inherit;font-size:15px;letter-spacing:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .jx-atlas-route-copy>span{font-size:9px}
  .jx-atlas-progress{display:block;width:100%;margin:4px 0 1px}
  .jx-atlas-route-copy>em{display:block;font-size:8px}
  .jx-atlas-zoom{right:12px;bottom:calc(190px + env(safe-area-inset-bottom));gap:6px}
  .jx-atlas-zoom button,.jx-atlas-zoom>span{width:44px;height:44px;background:rgba(255,252,242,.94)}
  .jx-atlas-zoom>span{display:none}
  .jx-atlas-scale{display:none}
  .map-province-active .jx-atlas-topic-strip{opacity:0;visibility:hidden;transform:translateY(-5px);pointer-events:none}
  .map-province-active .jx-atlas-legend{opacity:0}
  .map-province-active .jx-atlas-zoom{bottom:calc(206px + env(safe-area-inset-bottom))}

  .jx-atlas-province-card{
    left:12px;right:12px;bottom:calc(66px + env(safe-area-inset-bottom));width:auto;min-height:126px;
    grid-template-columns:44px minmax(0,1fr);grid-template-rows:auto 44px;gap:8px 10px;padding:13px 12px;border-radius:16px
  }
  .jx-atlas-province-card>button:first-child{grid-row:1/3;align-self:stretch;height:auto;border-radius:12px}
  .jx-atlas-province-card b{font-family:inherit;font-size:18px;letter-spacing:0}
  .jx-atlas-province-card small{font-size:8px}.jx-atlas-province-card span{font-size:9px}
  .jx-atlas-province-actions{grid-column:2;grid-row:2;grid-template-columns:1fr 1fr;gap:7px}
  .jx-atlas-province-actions button{width:100%;height:42px;border-radius:10px;font-size:12px}
  .jx-atlas-province-menu{left:12px;right:12px;bottom:calc(66px + env(safe-area-inset-bottom));min-width:0;height:66px;border-radius:14px}
  .jx-atlas-province-menu b{font-family:inherit;font-size:14px}
  .atlas-province-view .jx-atlas-topic-strip{opacity:0;visibility:hidden;transform:translateY(-5px);pointer-events:none}
  .atlas-province-view .jx-atlas-legend{opacity:0}
  .atlas-province-view .jx-atlas-zoom{bottom:calc(202px + env(safe-area-inset-bottom))}

  .home-fullscreen.atlas-active .layer-nav{
    left:8px;right:8px;bottom:calc(54px + env(safe-area-inset-bottom));max-height:62dvh;padding:0 0 12px!important;
    border:1px solid rgba(61,82,73,.14);border-radius:20px 20px 0 0;background:rgba(255,250,237,.98);color:#263d36;
    box-shadow:0 -18px 54px rgba(42,60,53,.18);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);z-index:1430
  }
  .home-fullscreen.atlas-active .ln-tabs{position:sticky;top:0;z-index:3;gap:3px;padding:8px 8px 0;background:rgba(255,250,237,.98)}
  .home-fullscreen.atlas-active .ln-tab{min-height:44px;border:0;border-radius:12px 12px 4px 4px;color:#6a7972;background:transparent;font-size:11px}
  .home-fullscreen.atlas-active .ln-tab.on{color:#fff9eb;background:#31594f;box-shadow:0 5px 14px rgba(49,89,79,.18)}
  .home-fullscreen.atlas-active .ln-content{padding:9px 10px 12px}
  .home-fullscreen.atlas-active .ln-index-note{border-color:rgba(63,117,104,.14);background:#e9eee6}
  .home-fullscreen.atlas-active .ln-index-note b{color:#315f54}
  .home-fullscreen.atlas-active .ln-index-note span{color:#687870}
  .home-fullscreen.atlas-active .ln-provs{gap:6px}
  .home-fullscreen.atlas-active .ln-prov-item{grid-template-columns:minmax(0,1fr) 38px;gap:5px}
  .home-fullscreen.atlas-active .ln-prov{
    min-height:54px;border-color:rgba(65,89,79,.12);border-radius:10px;background:#f8f4e8;color:#354a43;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.52)
  }
  .home-fullscreen.atlas-active .ln-prov:hover{background:#edf0e7;color:#294b42;border-color:#8da99e;transform:none}
  .home-fullscreen.atlas-active .ln-prov .ln-qcount{color:#65766e}
  .home-fullscreen.atlas-active .ln-prov .ln-qcount small{color:#8a958f}
  .home-fullscreen.atlas-active .ln-prov-quiz{border-color:rgba(182,80,63,.2);border-radius:10px;background:#f3e5d9;color:#a84839;font-size:10px;writing-mode:horizontal-tb}
  .home-fullscreen.atlas-active .ln-prov.on{color:#fff9eb;background:#b6503f;border-color:#a84536;box-shadow:inset 3px 0 #f4d7b0}
  .home-fullscreen.atlas-active .ln-prov.on::after{color:#fff1d5}
  .home-fullscreen.atlas-active .ln-prov.completed{color:#f6fff9;background:#3f7568;border-color:#6fa092}
  .home-fullscreen.atlas-active .ln-prov.completed span::before{color:#31594f;background:#e9f4eb}
  .home-fullscreen.atlas-active .ln-cat{border-color:rgba(65,89,79,.13);background:#f8f4e8;color:#354a43}
  .home-fullscreen.atlas-active .ln-cat small{color:#75837c}
  .home-fullscreen.atlas-active .ln-cat.on{color:#a84536;border-color:#b6503f;background:#f6e8dc}
  .home-fullscreen.atlas-active .ln-qcount{color:#a84536;background:rgba(182,80,63,.08)}
  .home-fullscreen.atlas-active .ln-ch-group{background:rgba(255,250,237,.98);color:#a84536}

  .jx-map-chip{
    top:auto!important;left:12px!important;right:12px!important;bottom:calc(66px + env(safe-area-inset-bottom))!important;
    min-height:122px;display:grid!important;grid-template-columns:42px minmax(0,1fr);grid-template-rows:auto 42px;
    align-items:center;gap:7px 10px;padding:13px 12px!important;border:1px solid rgba(71,80,67,.15)!important;
    border-radius:16px!important;background:rgba(255,250,237,.97)!important;color:#243b34!important;
    box-shadow:0 18px 48px rgba(46,61,54,.16),0 2px 7px rgba(46,61,54,.08)!important;
    backdrop-filter:blur(16px)!important;-webkit-backdrop-filter:blur(16px)!important
  }
  .jx-map-chip-x{
    grid-row:1/3;align-self:stretch;width:42px!important;height:auto!important;min-height:44px;border-radius:12px!important;
    background:#e7e7db!important;color:#31594f!important
  }
  .jx-map-chip-x svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
  .jx-map-chip-copy{min-width:0;display:grid;gap:2px;align-self:end}
  .jx-map-chip-copy small{font-size:8px;font-weight:750;letter-spacing:.14em;color:#b6503f}
  .jx-map-chip-copy b{font-size:18px!important;line-height:1.2;color:#243b34}
  .jx-map-chip-meta{display:block;color:#6c7a73!important;font-size:9px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .jx-map-chip-quiz{
    grid-column:2;width:100%;height:42px!important;border-radius:10px!important;background:#b6503f!important;
    color:#fff9eb!important;font-size:13px!important;box-shadow:0 7px 18px rgba(139,57,43,.2)
  }
  .jx-map-chip-quiz span{margin-left:5px}
}

@media (orientation:landscape) and (max-height:520px) and (max-width:950px){
  .jx-atlas-flat-head{left:66px;top:10px;right:auto;max-width:230px}
  .jx-atlas-topic-strip{left:auto;right:12px;top:10px;width:330px;grid-template-columns:repeat(5,1fr)}
  .jx-atlas-route-card{left:12px;right:auto;bottom:10px;width:330px;min-height:92px;grid-template-columns:38px 1fr 94px;padding:10px}
  .jx-atlas-route-card>button{grid-column:3;grid-row:1;width:94px;height:42px}
  .jx-atlas-route-mark{grid-row:1}.jx-atlas-route-mark span{display:none}
  .jx-atlas-route-copy>b{font-size:14px}.jx-atlas-route-copy>span{font-size:8px}
  .jx-atlas-zoom{right:12px;bottom:10px;grid-template-columns:40px 40px 40px}
  .jx-atlas-zoom button{width:40px;height:40px}.jx-atlas-scale,.jx-atlas-legend{display:none}
  .jx-map-chip{left:12px!important;right:auto!important;bottom:10px!important;width:360px;min-height:92px}
}

/* ============================================================
   手机考点档案：照片负责辨认，首屏把名称、进度和下一步交给用户。
   只作用在地图打开的景点弹层，不改变知识图海报和其他业务弹层。
   ============================================================ */
@media(max-width:768px){
  body[data-view="map-home"] .jx-m-sheet-backdrop,
  body[data-view="map"] .jx-m-sheet-backdrop{
    background:linear-gradient(180deg,rgba(36,55,48,.02) 20%,rgba(36,55,48,.18));
  }
  body[data-view="map-home"] .jx-m-spot-sheet,
  body[data-view="map"] .jx-m-spot-sheet{
    color:#293d36;background:#f8f3e7;
    border:1px solid rgba(64,87,77,.15);border-bottom:0;border-radius:24px 24px 0 0;
    box-shadow:0 -24px 70px rgba(39,56,49,.22),0 -3px 12px rgba(39,56,49,.08)
  }
  body[data-view="map-home"] .jx-m-spot-sheet .jx-m-sheet-grip,
  body[data-view="map"] .jx-m-spot-sheet .jx-m-sheet-grip{
    height:28px;background:#f8f3e7
  }
  body[data-view="map-home"] .jx-m-spot-sheet .jx-m-sheet-bar,
  body[data-view="map"] .jx-m-spot-sheet .jx-m-sheet-bar{
    width:38px;height:4px;background:#92a198
  }
  body[data-view="map-home"] .jx-m-spot-sheet .jx-m-sheet-scroll,
  body[data-view="map"] .jx-m-spot-sheet .jx-m-sheet-scroll{
    background:#f8f3e7;scrollbar-color:rgba(63,117,104,.25) transparent
  }
  body[data-view="map-home"] .jx-m-spot-sheet .sd-card,
  body[data-view="map"] .jx-m-spot-sheet .sd-card{
    display:block;border:0;border-radius:0;background:transparent;box-shadow:none;color:#293d36
  }
  body[data-view="map-home"] .jx-m-spot-sheet .sd-hero,
  body[data-view="map"] .jx-m-spot-sheet .sd-hero{
    width:100%;height:148px;min-height:148px;border-radius:0;background-color:#d9ded4;overflow:hidden
  }
  body[data-view="map-home"] .jx-m-spot-sheet .sd-hero::after,
  body[data-view="map"] .jx-m-spot-sheet .sd-hero::after{
    z-index:1;border-radius:0;background:linear-gradient(180deg,rgba(20,35,29,.02) 34%,rgba(20,35,29,.66) 100%)
  }
  body[data-view="map-home"] .jx-m-spot-sheet .sd-hero img,
  body[data-view="map"] .jx-m-spot-sheet .sd-hero img{
    display:block;width:100%;height:100%!important;object-fit:cover
  }
  .jx-m-spot-sheet .sd-atlas-locator{
    position:absolute;left:13px;bottom:11px;z-index:2;display:flex;align-items:center;gap:5px;
    color:#fff9eb;text-shadow:0 1px 8px rgba(10,24,19,.45);font:650 10px/1 inherit
  }
  .jx-m-spot-sheet .sd-atlas-locator span{padding:4px 7px;border:1px solid rgba(255,255,255,.36);border-radius:5px;background:rgba(35,61,52,.42);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
  .jx-m-spot-sheet .sd-atlas-locator i{opacity:.7;font-style:normal}.jx-m-spot-sheet .sd-atlas-locator b{font-weight:650}
  body[data-view="map-home"] .jx-m-spot-sheet .sd-body,
  body[data-view="map"] .jx-m-spot-sheet .sd-body{
    padding:13px 14px calc(82px + env(safe-area-inset-bottom,0px));background:#f8f3e7
  }
  .jx-m-spot-sheet .sd-atlas-summary{display:grid;gap:7px;padding-bottom:3px}
  .jx-m-spot-sheet .sd-atlas-kicker{display:flex;align-items:center;justify-content:space-between;gap:10px}
  body[data-view="map-home"] .jx-m-spot-sheet .sd-record-type,
  body[data-view="map"] .jx-m-spot-sheet .sd-record-type{
    color:#a84839;font-size:9px;font-weight:800;letter-spacing:.13em;opacity:1
  }
  .jx-m-spot-sheet .sd-atlas-kicker em{color:#718079;font-size:9px;font-style:normal;white-space:nowrap}
  body[data-view="map-home"] .jx-m-spot-sheet .sd-title,
  body[data-view="map"] .jx-m-spot-sheet .sd-title{
    margin:0;padding:0;color:#263b34;font:760 23px/1.2 "Songti SC","STSong",serif;letter-spacing:.025em
  }
  body[data-view="map-home"] .jx-m-spot-sheet .spot-progress-status,
  body[data-view="map"] .jx-m-spot-sheet .spot-progress-status{
    min-height:38px;margin:1px 0 0;padding:7px 10px;border:1px solid rgba(63,117,104,.16);
    border-radius:8px;background:#e8ede4;color:#65756d;font-size:10px
  }
  .jx-m-spot-sheet .spot-progress-status b{color:#3f7568;font-size:11px}.jx-m-spot-sheet .spot-progress-status.reviewing b{color:#9b663f}
  .jx-m-spot-sheet .spot-progress-status.completed{border-color:rgba(63,117,104,.26);background:#e0ebe1}.jx-m-spot-sheet .spot-progress-status.completed b{color:#356d5f}
  body[data-view="map-home"] .jx-m-spot-sheet .sd-tags,
  body[data-view="map"] .jx-m-spot-sheet .sd-tags{gap:5px;margin:0}
  body[data-view="map-home"] .jx-m-spot-sheet .sd-tags .tag,
  body[data-view="map"] .jx-m-spot-sheet .sd-tags .tag{
    padding:3px 7px;border-color:rgba(66,88,78,.15);border-radius:5px;background:#f1ecdf;color:#66756e;font-size:9px
  }
  body[data-view="map-home"] .jx-m-spot-sheet .sd-tagline,
  body[data-view="map"] .jx-m-spot-sheet .sd-tagline{margin:1px 0 0;color:#52665e;font-size:12px;font-style:normal;line-height:1.55}
  body[data-view="map-home"] .jx-m-spot-sheet .sd-addr,
  body[data-view="map"] .jx-m-spot-sheet .sd-addr{
    margin:0;padding:7px 9px;border:0;border-left:2px solid #b6503f;border-radius:0;background:#f0eadc;color:#6c766f;font-size:10px
  }
  body[data-view="map-home"] .jx-m-spot-sheet .sd-section,
  body[data-view="map"] .jx-m-spot-sheet .sd-section{margin-top:14px;padding-top:14px;border-top:1px solid rgba(67,89,79,.13)}
  body[data-view="map-home"] .jx-m-spot-sheet .sd-section-h,
  body[data-view="map"] .jx-m-spot-sheet .sd-section-h{margin-bottom:9px;color:#3f7568;font-size:12px;letter-spacing:.04em}
  body[data-view="map-home"] .jx-m-spot-sheet .sd-overview,
  body[data-view="map"] .jx-m-spot-sheet .sd-overview,
  body[data-view="map-home"] .jx-m-spot-sheet .sd-must,
  body[data-view="map"] .jx-m-spot-sheet .sd-must{color:#354a43;font-size:13px;line-height:1.8}
  body[data-view="map-home"] .jx-m-spot-sheet .sd-must-section,
  body[data-view="map"] .jx-m-spot-sheet .sd-must-section{
    margin-left:0;margin-right:0;padding:12px;border:1px solid rgba(182,80,63,.14);border-radius:10px;background:#f1e8dc
  }
  .jx-m-spot-sheet .spot-profile{border-color:rgba(63,117,104,.16);background:#e9eee6;color:#31483f}
  .jx-m-spot-sheet .spot-profile-head{border-bottom-color:rgba(63,117,104,.14)}
  .jx-m-spot-sheet .spot-profile-head span{color:#a84839}.jx-m-spot-sheet .spot-profile-head h3{color:#263b34}.jx-m-spot-sheet .spot-profile-head strong{color:#b6503f}
  .jx-m-spot-sheet .spot-profile-summary,.jx-m-spot-sheet .spot-profile-groups ul{color:#5e7068}
  .jx-m-spot-sheet .spot-profile-groups article{border-color:rgba(63,117,104,.13);background:#faf6eb}
  .jx-m-spot-sheet .spot-profile-groups header span{color:#356d5f;background:#e2ebe2}.jx-m-spot-sheet .spot-profile-groups header b{color:#31483f}.jx-m-spot-sheet .spot-profile-groups header em{color:#a84839}
  body[data-view="map-home"] .jx-m-spot-cta,
  body[data-view="map"] .jx-m-spot-cta{
    left:14px;right:14px;bottom:calc(12px + env(safe-area-inset-bottom,0px));min-height:48px;
    border-radius:10px;background:#b6503f;color:#fff9eb;box-shadow:0 9px 22px rgba(139,57,43,.25);
    font-size:14px;font-weight:750;letter-spacing:.02em
  }
  body[data-view="map-home"] .jx-m-spot-cta:active,
  body[data-view="map"] .jx-m-spot-cta:active{transform:translateY(1px);background:#a84839}

  /* 更新/安装提示不再盖住详情页的主要操作。 */
  body[data-view="map-home"]:has(.jx-m-spot-sheet) #jx-update-toast,
  body[data-view="map"]:has(.jx-m-spot-sheet) #jx-update-toast{
    display:none!important
  }
  body[data-view="map-home"]:has(.jx-m-spot-sheet) #jx-install-btn,
  body[data-view="map-home"]:has(.jx-m-spot-sheet) #jx-install-close,
  body[data-view="map"]:has(.jx-m-spot-sheet) #jx-install-btn,
  body[data-view="map"]:has(.jx-m-spot-sheet) #jx-install-close{display:none!important}
}

@media (orientation:landscape) and (max-height:520px) and (max-width:950px){
  body[data-view="map-home"] .jx-m-spot-sheet .sd-hero,
  body[data-view="map"] .jx-m-spot-sheet .sd-hero{height:112px;min-height:112px}
  body[data-view="map-home"] .jx-m-spot-sheet .sd-body,
  body[data-view="map"] .jx-m-spot-sheet .sd-body{padding-top:10px}
}
