/* Destinations map (ported from map_imagegen FIX6 stage_site/map-adapt.css). Scoped under #dest-map-stage. */
#dest-map-stage{--paper:#f3e5c4;--paper-deep:#d8bb7b;--ink:#3f2c1e;--gold:#c28a2c;--rust:#8d3f2d;--green:#405d45}
#dest-map-stage *{box-sizing:border-box}
#dest-map-stage .dm-page{width:min(1500px,100%);margin:auto;padding:24px clamp(12px,3vw,48px) 40px}
#dest-map-stage .atlas-shell{position:relative;padding:clamp(12px,2vw,30px);background:#d7b678;clip-path:polygon(1% 2%,5% .5%,11% 1.4%,18% .2%,27% 1.2%,35% .4%,44% 1.5%,53% .3%,62% 1.2%,72% .4%,81% 1.5%,91% .4%,99% 2%,98.6% 12%,99.5% 24%,98.7% 36%,99.4% 48%,98.6% 61%,99.4% 74%,98.5% 87%,99% 98%,90% 99.3%,81% 98.5%,72% 99.5%,63% 98.7%,54% 99.5%,45% 98.6%,36% 99.4%,27% 98.4%,18% 99.5%,9% 98.7%,1% 98%,1.4% 87%,.5% 74%,1.3% 61%,.6% 48%,1.4% 35%,.5% 22%);box-shadow:0 15px 35px #3c271b50}
#dest-map-stage .atlas-shell:after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.22;background:repeating-radial-gradient(ellipse at 30% 10%,#fff 0 1px,transparent 2px 7px);mix-blend-mode:overlay}
#dest-map-stage .atlas-wrap{position:relative}
#dest-map-stage .stage{position:absolute;inset:0}
#dest-map-stage .atlas{position:relative;overflow:hidden;aspect-ratio:16/9;background:#cdb27c;border:2px solid #735026;box-shadow:inset 0 0 35px #5e3d2466}
#dest-map-stage .terrain{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;filter:saturate(.98)}
#dest-map-stage .route-layer{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
#dest-map-stage .route-layer path{fill:none;stroke-linecap:round}
#dest-map-stage .river{stroke:#3184a2;stroke-width:2;opacity:.72}
#dest-map-stage .road{stroke:#79522e;stroke-width:1.4;stroke-dasharray:8 6}
#dest-map-stage .sea-route{stroke:#285d79;stroke-width:1.6;stroke-dasharray:2 6}
#dest-map-stage .city{position:absolute;transform:translate(-50%,-50%);z-index:4;border:0;background:none;color:var(--ink);padding:0;cursor:pointer}
#dest-map-stage .city .pin{display:block;border-radius:50%;background:#9b402d;border:2px solid #fff3ce;box-shadow:0 1px 4px #3a241d88;margin:auto}
#dest-map-stage .city .name{display:block;margin-top:2px;padding:1px 4px;background:#f9edcbd9;border-radius:4px;font:bold clamp(7px,.72vw,11px)/1.2 system-ui;white-space:nowrap}
#dest-map-stage .city.lv1 .pin{width:18px;height:18px;background:#d48b25;box-shadow:0 0 0 5px #f5ba4e45,0 0 15px #f0a529}
#dest-map-stage .city.lv2 .pin{width:13px;height:13px}
#dest-map-stage .city.lv3 .pin{width:9px;height:9px}
#dest-map-stage .city.lv3 .name{display:none}
#dest-map-stage .city.lv3:hover .name,#dest-map-stage .city.lv3:focus .name{display:block}
#dest-map-stage .terrain-label{position:absolute;transform:translate(-50%,-50%);z-index:2;color:#314936;text-shadow:0 1px #fff8da;font:italic 700 clamp(7px,.75vw,12px)/1 system-ui;white-space:nowrap}
#dest-map-stage .terrain-label.shifted:before{content:"";position:absolute;width:12px;border-top:1px solid #594025;right:100%;top:50%}
#dest-map-stage .landmark{position:absolute;transform:translate(-50%,-50%);z-index:3;color:#6c3c21;text-align:center}
#dest-map-stage .landmark svg{display:block;width:clamp(12px,1.4vw,22px);height:auto;filter:drop-shadow(0 1px #fff3cc)}
#dest-map-stage .landmark span{font:bold clamp(6px,.64vw,10px)/1 system-ui;background:#f7e9c3cf;white-space:nowrap}
#dest-map-stage .inset{position:absolute;right:2.2%;bottom:3%;width:22%;height:31%;z-index:6;background:#f4e5c7ed;border:2px solid #76532d;box-shadow:0 4px 12px #3f291f55;overflow:hidden}
#dest-map-stage .legend{position:absolute;left:2%;bottom:3%;z-index:7;width:37%;padding:7px 10px;background:#f8edcfeb;border:1px solid #806039;color:#38291e;font:clamp(7px,.7vw,11px)/1.45 system-ui}
#dest-map-stage .legend-row{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
#dest-map-stage .dot{border-radius:50%;display:inline-block;background:#9b402d;border:1px solid #fff}
#dest-map-stage .dot.l1{width:14px;height:14px;background:#d48b25;box-shadow:0 0 7px #d48b25}
#dest-map-stage .dot.l2{width:10px;height:10px}
#dest-map-stage .dot.l3{width:7px;height:7px}
#dest-map-stage .line{width:24px;border-top:2px solid}
#dest-map-stage .road-sample{border-top-style:dashed}
#dest-map-stage .sea-sample{border-top:2px dotted #285d79}
#dest-map-stage .river-sample{border-color:#3184a2}
#dest-map-stage .landmark-sample{color:#6c3c21}
#dest-map-stage .curl{position:absolute;width:7%;height:9%;z-index:8;background:linear-gradient(135deg,#9f7741,#f5e6bf 50%,#b78b4d);box-shadow:2px 3px 8px #3e2a2060}
#dest-map-stage .tl{top:1%;left:1%;clip-path:polygon(0 0,100% 0,0 100%)}
#dest-map-stage .tr{top:1%;right:1%;clip-path:polygon(0 0,100% 0,100% 100%)}
#dest-map-stage .bl{bottom:1%;left:1%;clip-path:polygon(0 0,0 100%,100% 100%)}
#dest-map-stage .br{bottom:1%;right:1%;clip-path:polygon(100% 0,0 100%,100% 100%)}
#dest-map-stage .disclaimer{text-align:center;font:12px/1.4 system-ui;color:#594535;margin:14px 0 0}
#dest-map-stage .city.lv3 .pin{width:10px;height:10px}
#dest-map-stage .inset{height:auto;bottom:2.5%;width:clamp(270px,22%,330px);overflow:hidden}
#dest-map-stage .inset-map{display:block;width:100%;height:auto}
#dest-map-stage .inset-sea{fill:#d9ebe5;stroke:#76532d;stroke-width:2}
#dest-map-stage .inset-grid path{fill:none;stroke:#739c99;stroke-width:.7;stroke-dasharray:2 6;opacity:.55}
#dest-map-stage .island-shape{fill:#9cb674;stroke:#4d633d;stroke-width:1.5}
#dest-map-stage .island-group{fill:#8b5a36;stroke:#fff4d5;stroke-width:1}
#dest-map-stage .island-group[data-key="zhongsha"] ellipse{fill:none;stroke:#8b5a36;stroke-dasharray:2 2}
#dest-map-stage .nine-dash path{fill:none;stroke:#9b3f48;stroke-width:3.2;stroke-linecap:round}
#dest-map-stage .inset-labels text{font:700 10px/1.1 system-ui;fill:#33261c;paint-order:stroke;stroke:#fff4d5;stroke-width:3px;stroke-linejoin:round}
#dest-map-stage .inset-scale path{fill:none;stroke:#443025;stroke-width:2}
#dest-map-stage .inset-scale text{font:9px system-ui;fill:#443025}
#dest-map-stage .inset{aspect-ratio:auto}
#dest-map-stage .inset-labels .zh{font:700 12.5px/1 system-ui,"Microsoft YaHei","Noto Sans SC",sans-serif}
#dest-map-stage .inset-labels .en{font:600 10px/1 system-ui;fill:#4a392c}
#dest-map-stage .legend-panel{fill:#f6ecd0;stroke:#76532d;stroke-width:1.2}
#dest-map-stage .inset-legend text.leg{font:10.5px system-ui,"Microsoft YaHei",sans-serif;fill:#33261c;paint-order:normal;stroke:none}
#dest-map-stage .inset-legend .sep{fill:#7a6650}
#dest-map-stage .nine-dash-sample{fill:none;stroke:#9b3f48;stroke-width:3.2;stroke-linecap:round}
#dest-map-stage .inset-legend .island-group .bank-sample{fill:none;stroke:#8b5a36;stroke-dasharray:2 2}
#dest-map-stage .north-arrow path{fill:#33261c}
#dest-map-stage .north-arrow text.n{font:700 11px system-ui,"Microsoft YaHei",sans-serif;fill:#33261c;stroke:none}
#dest-map-stage .inset-scale text{font:10px system-ui;fill:#443025;stroke:none}
#dest-map-stage .inset{z-index:10}
@media(max-width:600px){#dest-map-stage .dm-page{padding:10px 8px 24px}
#dest-map-stage .atlas-shell{display:flex;flex-direction:column;gap:12px;padding:0;background:none;clip-path:none;box-shadow:none}
#dest-map-stage .atlas-shell:after,#dest-map-stage .curl{display:none}
#dest-map-stage .atlas-wrap{position:static;display:flex;flex-direction:column;gap:12px}
#dest-map-stage .atlas{aspect-ratio:auto;width:100%;overflow:hidden;border:0;padding:14px;background:#f3e5c4;box-shadow:0 0 0 2px #735026}
#dest-map-stage .stage{position:relative;inset:auto;width:100%;aspect-ratio:16/9}
#dest-map-stage .stage:after{content:"";position:absolute;inset:0;border:1px solid #735026;pointer-events:none;z-index:9}
#dest-map-stage .terrain{object-fit:contain;object-position:center}
#dest-map-stage .terrain-label,#dest-map-stage .landmark{display:none}
#dest-map-stage .terrain-label.geo.taiwan{margin-left:0;left:64%!important;top:86%!important;transform:translate(-100%,-50%)}
#dest-map-stage .terrain-label.geo{display:block;font:italic 700 12px/1 system-ui,"Microsoft YaHei",sans-serif;color:#1d3a57;text-shadow:0 0 3px #fff8da,0 0 3px #fff8da}
#dest-map-stage .city .pin{border-width:1.5px}
#dest-map-stage .city.lv1 .pin{width:11px;height:11px;box-shadow:0 0 0 3px #f5ba4e45,0 0 8px #f0a529}
#dest-map-stage .city.lv2 .pin{width:9px;height:9px}
#dest-map-stage .city.lv3 .pin{width:6px;height:6px}
#dest-map-stage .atlas .city .name{font:700 12px/1.15 system-ui,"Microsoft YaHei",sans-serif;padding:0 2px;border-radius:2px;background:#f9edcbb8;text-shadow:0 0 2px #fff6d6,0 0 2px #fff6d6}
#dest-map-stage .atlas .city.lv1 .name{font-size:13px}
#dest-map-stage .atlas .city.lv2 .name{font-size:12px}
#dest-map-stage .atlas .city.lv3 .name,#dest-map-stage .atlas .city.lv3:hover .name,#dest-map-stage .atlas .city.lv3:focus .name{display:none}
#dest-map-stage .legend{position:static;width:100%;order:2;font-size:11px;padding:8px 10px}
#dest-map-stage .disclaimer{font-size:11px}}
#dest-map-stage .city .name{position:absolute;left:var(--lx,100%);top:var(--ly,0);margin:0;translate:none;transform:none;z-index:5}
#dest-map-stage .leaders{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:3;overflow:visible}
#dest-map-stage .leaders line{stroke:#5a3b24;stroke-width:.9;opacity:.85}
#dest-map-stage .city.open{z-index:12}
#dest-map-stage .city.open .name{display:block!important}
#dest-map-stage .inset-short{display:none}
#dest-map-stage .inset{position:absolute;top:auto;left:auto;right:10px;bottom:10px;width:max(13%,96px);height:auto;max-width:none;z-index:10;overflow:hidden;background:#d9ebe5;border:2px solid #76532d;border-radius:4px;box-shadow:none;cursor:zoom-in}
#dest-map-stage .inset:hover{box-shadow:0 3px 12px #3f291f99}
#dest-map-stage .inset:focus-visible{outline:3px solid #1f6feb;outline-offset:2px}
#dest-map-stage .inset .inset-map{display:block;width:100%;height:auto}
#dest-map-stage .inset .inset-sea,#dest-map-stage .inset .inset-grid,#dest-map-stage .inset .inset-labels,#dest-map-stage .inset .inset-legend{display:none}
#dest-map-stage .inset .inset-short{display:block}
#dest-map-stage .inset .inset-short text{font:700 17px/1 "Microsoft YaHei","Noto Sans SC",system-ui,sans-serif;fill:#33261c;stroke:#fff4d5;stroke-width:3px;paint-order:stroke;stroke-linejoin:round}
#dest-map-stage .inset .nine-dash path{stroke-width:4.4}
#dest-map-stage .inset .island-group circle{stroke:#8b5a36;stroke-width:2.5}
body.dm-zoom-open{overflow:hidden}
#dest-map-stage .zoom-overlay{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:12px;background:#1c120acc}
#dest-map-stage .zoom-overlay[hidden]{display:none}
#dest-map-stage .zoom-panel{width:min(90vw,720px,calc((100vh - 84px)*.72));background:#f4e5c7;border:2px solid #76532d;border-radius:8px;box-shadow:0 10px 40px #000a;overflow:hidden}
#dest-map-stage .zoom-head{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#d3ad69;color:#38261b;padding:4px 4px 4px 12px}
#dest-map-stage .zoom-head h2{margin:0;font:700 15px/1.25 system-ui,"Microsoft YaHei",sans-serif}
#dest-map-stage .zoom-head .sep{opacity:.6}
#dest-map-stage .zoom-close{flex:none;width:44px;height:44px;border:0;border-radius:6px;background:transparent;color:#38261b;font:400 30px/1 system-ui;cursor:pointer}
#dest-map-stage .zoom-close:hover{background:#0002}
#dest-map-stage .zoom-close:focus-visible{outline:3px solid #1f6feb;outline-offset:-3px}
#dest-map-stage .zoom-body .inset-map{display:block;width:100%;height:auto}
@media(max-width:600px){#dest-map-stage .inset{right:13px;bottom:13px;width:96px}
#dest-map-stage .inset .inset-short text{font-size:20px}}
@media(max-width:480px){#dest-map-stage .inset{right:24px;bottom:24px;width:64px;border-width:1px;border-radius:2px}
#dest-map-stage .inset .inset-short{display:none}
#dest-map-stage .inset .nine-dash path{stroke-width:7}
#dest-map-stage .inset .island-group circle{stroke-width:5}
#dest-map-stage .inset .island-group ellipse{stroke-width:3}
#dest-map-stage .inset .island-shape{stroke-width:3}}
/* Site integration */
#dest-map-stage{position:relative;direction:ltr;--paper:#f3e5c4;--paper-deep:#d8bb7b;--ink:#3f2c1e;--gold:#c28a2c;--rust:#8d3f2d;--green:#405d45;background:#efe1c4;background-image:radial-gradient(#8f6e4030 .7px,transparent .7px);background-size:6px 6px;color:var(--ink);font:16px/normal Georgia,"Noto Serif SC","Noto Serif JP",serif;letter-spacing:normal}
#dest-map-stage *,#dest-map-stage *::before,#dest-map-stage *::after{box-sizing:border-box}
#dest-map-stage .city{display:grid;place-items:center;width:44px;height:44px;font:inherit}
#dest-map-stage .city:focus-visible{outline:3px solid #1f6feb;outline-offset:-3px;border-radius:50%}
#dest-map-stage .dest-map-status{position:absolute;inset-inline-start:20px;bottom:60px;background:#fffaf0;padding:10px;z-index:5;max-width:80%}
#dest-map-stage .dest-map-status[hidden]{display:none}
/* Annotation 1: only labels may move; each star stays on its geographic anchor. */
#dest-map-stage .landmark{width:clamp(12px,1.4vw,22px);height:clamp(12px,1.4vw,22px)}
#dest-map-stage .landmark span{position:absolute;top:100%;left:50%;transform:translateX(-50%);display:block}#dest-map-stage .hidden{display:none!important}  /* Full text at native CSS pixel sizes, independent of map image scaling. */ #dest-map-stage .city,#dest-map-stage .landmark,#dest-map-stage .terrain-label{transform:none!important;filter:none!important} #dest-map-stage .city{width:44px;height:44px} #dest-map-stage .city .name,#dest-map-stage .landmark span,#dest-map-stage .terrain-label{display:block!important;position:absolute;transform:none!important;translate:none!important;filter:none!important;font:600 13px/1.35 system-ui,"Microsoft YaHei",sans-serif!important;color:#211b16!important;background:rgba(255,250,235,.96)!important;padding:2px 4px!important;border-radius:3px;white-space:nowrap!important;width:max-content!important;max-width:none!important;overflow:visible!important;text-overflow:clip!important;text-shadow:none!important;-webkit-text-stroke:0;letter-spacing:normal!important;margin:0!important} #dest-map-stage .landmark svg{filter:none;width:16px;height:16px} #dest-map-stage .landmark{width:16px;height:16px} #dest-map-stage .legend{font-size:13px;font-weight:600;color:#211b16;background:#fffaeb} #dest-map-stage .disclaimer{font-size:13px;font-weight:600;color:#211b16} @media(max-width:600px){ #dest-map-stage .atlas-wrap{display:block;overflow-x:auto;position:relative} #dest-map-stage .atlas{width:1200px;padding:0;aspect-ratio:16/9;overflow:hidden} #dest-map-stage .stage{position:absolute;inset:0;width:100%;aspect-ratio:auto} #dest-map-stage .terrain-label,#dest-map-stage .landmark{display:block!important} #dest-map-stage .city .name,#dest-map-stage .landmark span,#dest-map-stage .terrain-label{font-size:12px!important} #dest-map-stage .terrain-label.geo.taiwan{left:auto!important;top:auto!important} }

/* Mobile contain layout: the image scales, annotation text does not. */ @media(max-width:640px){  #dest-map-stage .dm-page{padding:12px 12px 24px}  #dest-map-stage .atlas-shell{display:block;padding:0;background:none;clip-path:none;box-shadow:none}  #dest-map-stage .atlas-shell:after,#dest-map-stage .curl{display:none}  #dest-map-stage .atlas-wrap{display:block;position:relative;overflow:visible}  #dest-map-stage .atlas{width:100%;padding:0;border:0;aspect-ratio:auto;overflow:hidden;box-shadow:none}  #dest-map-stage .stage{position:relative;inset:auto;width:100%;height:360px;aspect-ratio:auto}  #dest-map-stage .terrain{object-fit:contain;object-position:center}  #dest-map-stage .stage:after{display:none}  #dest-map-stage .mobile-leaders{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2}  #dest-map-stage .mobile-leaders line{stroke:#594025;stroke-width:.7;opacity:.7}  #dest-map-stage .route-layer{height:auto;top:50%;translate:0 -50%;aspect-ratio:16/9}  #dest-map-stage .terrain-label,#dest-map-stage .landmark{display:block!important}  #dest-map-stage .city .name,#dest-map-stage .landmark span,#dest-map-stage .terrain-label{font-size:12px!important;text-shadow:0 0 1px #fff4d5!important;-webkit-text-stroke:.15px #211b16}  #dest-map-stage .city .name.mobile-hidden,#dest-map-stage .terrain-label.mobile-hidden{display:none!important}  #dest-map-stage .city.lv1 .pin{width:11px;height:11px}  #dest-map-stage .city.lv2 .pin{width:9px;height:9px}  #dest-map-stage .city.lv3 .pin{width:6px;height:6px}  #dest-map-stage .landmark,#dest-map-stage .landmark svg{width:12px;height:12px}  #dest-map-stage .inset{right:8px;bottom:8px;width:64px;border-width:1px;border-radius:2px}  #dest-map-stage .inset text{display:none!important}  #dest-map-stage .legend{position:static;width:100%;font-size:12px;padding:8px;margin-top:12px} } 
@media(max-width:640px){
 #dest-map-stage .city .name,#dest-map-stage .landmark span,#dest-map-stage .terrain-label{display:none!important}
 #dest-map-stage .city.lv1 .name{display:block!important;font-size:12px!important;font-weight:600!important;padding:1px 4px!important;background:transparent!important;color:#211b16!important;-webkit-text-stroke:0!important;text-shadow:-1px -1px 1px #fff4d5,1px -1px 1px #fff4d5,-1px 1px 1px #fff4d5,1px 1px 1px #fff4d5!important}
 #dest-map-stage .leaders,#dest-map-stage .mobile-leaders,#dest-map-stage .terrain-label:before{display:none!important}
 #dest-map-stage .landmark{z-index:5;cursor:pointer}
 #dest-map-stage .map-name-bubble{position:absolute;z-index:20;padding:3px 6px;border:1px solid #76532d;border-radius:4px;background:#fff4d5;color:#211b16;font:600 12px/1.35 system-ui;white-space:nowrap;pointer-events:none}
}

@media(max-width:640px){#dest-map-stage .city.lv1 .pin{width:7px;height:7px;border-width:1px;box-shadow:0 0 0 1px #f5ba4e45}#dest-map-stage .city.lv2 .pin{width:5px;height:5px;border-width:1px}#dest-map-stage .city.lv3 .pin{width:3px;height:3px;border-width:.5px}#dest-map-stage .landmark,#dest-map-stage .landmark svg{width:7px;height:7px}}

@media(max-width:640px){#dest-map-stage .city.lv1 .name{padding:0!important;line-height:1!important}}

@media(max-width:640px){#dest-map-stage .city.lv1 .name.mobile-hidden{display:none!important}}
