:root{--paper:#f5f0e5;--cream:#fffcf4;--ink:#253038;--muted:#596168;--red:#b74432;--sage:#466654;--line:#253038;color-scheme:light;font-synthesis:weight}*{box-sizing:border-box}body{margin:0;background:var(--paper);background-image:radial-gradient(#25303813 .6px,transparent .6px);background-size:7px 7px;color:var(--ink);font:14px TableRound,"Yuanti SC","PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}button,a,input,select,textarea{font:inherit;color:inherit}button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button{cursor:pointer;min-height:44px;border:2px solid var(--ink);border-radius:8px;background:var(--cream);font-weight:700}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible{outline:3px solid var(--red);outline-offset:5px}button:hover:not(:disabled){transform:translateY(-2px)}button:active:not(:disabled){transform:translateY(1px)}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.skip-link{position:absolute;left:20px;top:-100px;z-index:2000;background:var(--ink);color:var(--cream);padding:14px}.skip-link:focus{top:12px}.masthead{max-width:1320px;margin:auto;padding:24px 0;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:2px solid var(--ink)}.brand{display:flex;align-items:center;gap:12px;font-size:24px;font-weight:700;letter-spacing:2px}.brand-mark{display:grid;place-items:center;width:46px;height:48px;border:2px solid var(--ink);border-radius:9px;background:var(--red);color:var(--cream);font-size:30px;transform:rotate(-5deg);box-shadow:2px 2px 0 var(--ink)}.brand small{display:block;font-size:8px;letter-spacing:2px;margin-top:5px}.header-note{font-size:12px;letter-spacing:1px;color:var(--muted)}.tiny-star{font-size:23px;color:var(--red);margin-right:9px;vertical-align:middle}.quiet-button{padding:9px 14px;font-size:12px}.quiet-button span{margin-left:12px}main{max-width:1320px;margin:auto;padding-bottom:20px;outline:none}.intro{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:45px 0 32px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2px;color:var(--red);margin:0 0 16px}h1{font-size:clamp(30px,3.3vw,45px);line-height:1.4;letter-spacing:1px;margin:0 0 16px;font-weight:800}.red-word{color:var(--red)}.subtitle{font-size:13px;color:var(--muted);line-height:1.8;margin:0}.mobile-break{display:none}.radius-note{width:156px;height:156px;flex-shrink:0;border:2px solid var(--red);border-radius:50%;color:var(--red);display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(7deg);position:relative;background:var(--cream)}.radius-note:before{content:"周 末 出 走 签";font-size:9px;letter-spacing:2px}.radius-note:after{content:"";position:absolute;inset:6px;border:1px dashed var(--red);border-radius:50%;pointer-events:none}.radius-note strong{font-size:48px;line-height:1.3;letter-spacing:-2px}.radius-note strong span{font-size:14px;letter-spacing:0;margin-left:4px}.radius-note>span{font-size:9px;letter-spacing:1px}.origin-picker{display:flex;align-items:center;gap:20px;margin:0 0 28px;padding:15px 20px;border:2px solid var(--ink);border-radius:10px;background:#ebe6d8;box-shadow:3px 3px 0 var(--ink)}.origin-picker-label{font-size:12px;font-weight:700;white-space:nowrap}.origin-picker-label:before{content:"01";font-size:10px;color:var(--red);margin-right:10px}.origin-options{display:flex;gap:10px}.origin-options button{min-width:183px;text-align:left;padding:10px 15px;display:flex;align-items:center;gap:12px;border-color:transparent;background:transparent}.origin-options strong{font-size:15px}.origin-options span{font-size:11px;color:var(--muted)}.origin-options button[aria-pressed="true"]{border-color:var(--ink);background:var(--sage);color:var(--cream);box-shadow:2px 2px 0 var(--ink)}.origin-options button[aria-pressed="true"] span{color:var(--cream)}.origin-picker>p{font-size:11px;color:var(--muted);margin:0 0 0 auto;line-height:1.7}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:24px;align-items:stretch}.map-shell{position:relative;min-width:0;min-height:605px;border:2px solid var(--ink);border-radius:12px;overflow:hidden;background:#dce5df;box-shadow:5px 5px 0 var(--ink)}#map{position:absolute;inset:0;width:100%;height:100%;background:#dce5df;font-family:inherit}.map-heading{position:absolute;top:18px;left:18px;z-index:600;pointer-events:none;border:2px solid var(--ink);border-radius:6px;background:var(--cream);padding:11px 14px;font-size:12px;font-weight:700;box-shadow:2px 2px 0 var(--ink)}.live-dot{display:inline-block;width:7px;height:7px;background:var(--red);border-radius:50%;margin-right:6px}.map-tools{position:absolute;right:18px;top:18px;z-index:600;display:flex;gap:8px}.map-tools button{font-size:11px;padding:8px 12px;box-shadow:2px 2px 0 var(--ink)}.map-tools button[aria-pressed="true"]{background:var(--sage);color:var(--cream)}.map-legend{position:absolute;bottom:29px;right:16px;z-index:600;display:flex;gap:13px;padding:9px 11px;border:1px solid var(--ink);border-radius:5px;background:var(--cream);font-size:10px;pointer-events:none}.map-legend span{display:flex;align-items:center;gap:5px}.legend-land{width:10px;height:10px;background:#b9cba5;border:1px solid var(--sage)}.legend-circle{width:15px;border-top:2px dashed var(--red)}.north{position:absolute;bottom:91px;right:25px;z-index:600;display:flex;flex-direction:column;align-items:center;color:var(--sage);font-size:11px;pointer-events:none}.north span{font-size:26px}.map-notice{position:absolute;left:69px;right:18px;bottom:69px;z-index:601;background:var(--cream);border:2px solid var(--ink);border-radius:7px;padding:10px 13px;font-size:11px;line-height:1.7}.draw-panel{background:var(--cream);border:2px solid var(--ink);border-radius:12px;box-shadow:5px 5px 0 var(--ink);padding:23px;display:flex;flex-direction:column;min-width:0;position:relative}.panel-top{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1.5px dashed #a9a79b;padding-bottom:17px}.panel-top .eyebrow{font-size:11px;letter-spacing:1px;margin:0}.ticket-no{font-size:9px;color:var(--muted)}.empty-state{min-height:274px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.wander-icon{width:112px;height:112px;position:relative;margin:5px 0 12px}.orbit{position:absolute;inset:5px;border:2px dashed var(--sage);border-radius:50%;transform:rotate(20deg)}.small-orbit{position:absolute;inset:22px;border:2px solid var(--ink);background:#e8eddf;border-radius:50%}.wander-star{position:absolute;left:29px;top:26px;color:var(--sage);font-size:52px;line-height:1;transform:rotate(-12deg)}.pin-dot{position:absolute;top:18px;right:10px;width:17px;height:17px;background:var(--red);border:2px solid var(--ink);border-radius:50%;box-shadow:2px 2px 0 var(--cream)}.empty-state h2{font-size:21px;margin:0 0 11px}.empty-state p{font-size:12px;line-height:1.9;color:var(--muted);margin:0}.roll-button{width:100%;min-height:57px;background:var(--red);color:var(--cream);box-shadow:3px 3px 0 var(--ink);display:flex;align-items:center;justify-content:center;gap:11px;padding:12px 15px;font-size:15px;letter-spacing:.5px}.roll-button svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.5;flex-shrink:0}.roll-button svg circle{stroke:none;fill:currentColor}.button-arrow{margin-left:auto;font-size:25px}.roll-button span:nth-child(2){margin-right:auto}.roll-status{font-size:10px;color:var(--muted);text-align:center;margin:13px 0 20px;line-height:1.7;min-height:17px}.starting-point{border-top:1.5px dashed #a9a79b;padding-top:18px;display:flex;gap:12px}.origin-icon{font-size:27px;color:var(--sage);margin-top:5px}.starting-point div{display:flex;flex-direction:column}.starting-point small{font-size:10px;color:var(--muted);margin-bottom:5px}.starting-point strong{font-size:14px}.starting-point div>span{font-size:11px;color:var(--muted);margin-top:6px}.travel-note{display:flex;gap:8px;font-size:10px;line-height:1.9;color:var(--muted);margin:17px 0 0}.travel-note>span{font-size:15px}.result-state{padding:23px 0 17px;min-height:274px}.result-kicker{font-size:13px;margin:0 0 4px}.result-kicker span{color:var(--red);margin:0 4px}.result-state h2{font-size:52px;letter-spacing:-2px;line-height:1.15;margin:0;color:var(--red)}.result-state h2 small{font-size:17px;margin-left:8px;letter-spacing:0;color:var(--ink)}.distance-caption{font-size:10px;color:var(--muted);margin:7px 0 18px}.coordinate-card{background:#e8eddf;border:1.5px solid var(--ink);border-radius:7px;padding:12px}.coordinate-card>span{display:block;font-size:10px;color:var(--sage)}.coordinate-system{float:right;font-size:8px;letter-spacing:1px}.coordinate-card strong{display:block;font-size:12px;line-height:1.8;margin-top:6px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.coordinate-card button{display:block;width:100%;min-height:36px;border:0;border-top:1px solid #b8c0ac;border-radius:0;background:none;padding:8px 0 0;margin-top:6px;text-align:left;font-size:10px;color:var(--sage)}.coordinate-card button span{float:right;font-size:15px}.result-links{display:flex;gap:8px;margin-top:12px}.result-links a,.result-links button{display:flex;align-items:center;justify-content:space-between;gap:6px;flex:1;font-size:11px;padding:10px;border:2px solid var(--ink);border-radius:7px;min-height:44px;background:var(--cream)}.result-links .amap-action{flex:1.4;background:var(--sage);color:var(--cream)}.amap-action svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;flex-shrink:0}.amap-action>span{margin-left:auto}.amap-fallback{margin-top:10px}.amap-fallback p{margin:0;font-size:10px;line-height:1.8;color:var(--muted)}.amap-fallback a{display:inline-flex;align-items:center;gap:6px;min-height:38px;font-size:11px;color:var(--red);text-decoration:underline;text-underline-offset:4px}.history-section{margin-top:40px}.section-title{display:flex;align-items:center;gap:16px;margin-bottom:18px}.section-title h2{font-size:20px;margin:0}.section-title h2:before{content:"足 迹";display:inline-block;font-size:11px;color:var(--red);border:1.5px solid var(--red);border-radius:4px;padding:6px 7px;transform:rotate(-5deg);margin-right:12px}.section-title>span{font-size:11px;color:var(--muted)}.section-title button{margin-left:auto;font-size:11px;padding:8px 12px}.history-list{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:13px;min-height:96px}.history-empty{grid-column:1/-1;display:flex;align-items:center;justify-content:center;margin:0;padding:20px;border:1.5px dashed #8b9187;border-radius:9px;background:#ebe6d8;color:var(--muted);font-size:12px;text-align:center}.history-item{padding:16px 12px;text-align:left;border-radius:8px;box-shadow:2px 2px 0 var(--ink)}.history-item.active{background:#e1e8d6;border-color:var(--sage);box-shadow:3px 3px 0 var(--sage)}.history-number{display:block;font-size:8px;letter-spacing:1px;color:var(--muted)}.history-item strong{display:block;font-size:15px;margin:10px 0 6px;white-space:nowrap}.history-item strong span{font-size:10px;font-weight:400;margin-right:5px;color:var(--sage)}.history-item small{font-size:10px;color:var(--muted)}footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:35px;padding:23px 0;border-top:2px solid var(--ink);font-size:11px;color:var(--muted)}footer p{margin:0;line-height:1.8}footer p span{font-size:19px;color:var(--red);margin-left:10px}footer button{font-size:11px;padding:8px 12px;border:0;background:transparent;text-decoration:underline;text-underline-offset:4px}dialog{width:min(600px,calc(100% - 32px));max-height:85vh;border:2px solid var(--ink);border-radius:12px;background:var(--cream);color:var(--ink);padding:28px;box-shadow:6px 6px 0 var(--ink)}dialog::backdrop{background:#25303899;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center}.dialog-head p{margin:0}.dialog-head button{width:44px;font-size:25px}dialog h2{font-size:28px;margin:20px 0 25px}.explanation h3{font-size:14px;margin:24px 0 9px;color:var(--sage)}.explanation p{font-size:12px;line-height:1.9;color:var(--muted);margin:0}.source-links{padding-left:18px;font-size:11px;line-height:2.2;overflow-wrap:anywhere}.source-links a{text-decoration:underline;text-underline-offset:3px}.toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);z-index:2000;padding:13px 20px;border:2px solid var(--ink);border-radius:7px;background:var(--ink);color:var(--cream);font-size:12px;max-width:calc(100% - 30px);text-align:center}.leaflet-container,.leaflet-popup-content,.leaflet-tooltip,.leaflet-control-attribution,.leaflet-control-zoom a{font-family:TableRound,"Yuanti SC","PingFang SC",sans-serif!important}.leaflet-control-attribution{font-size:9px!important;background:#fffcf4e8!important;max-width:85%;line-height:1.5!important}.leaflet-control-attribution a{color:var(--sage)}.leaflet-control-zoom{border:2px solid var(--ink)!important;border-radius:7px!important;overflow:hidden;box-shadow:2px 2px 0 var(--ink)!important;margin:16px!important}.leaflet-control-zoom a{width:36px!important;height:36px!important;line-height:36px!important;background:var(--cream)!important;color:var(--ink)!important;border-color:var(--ink)!important;font-size:22px!important}.leaflet-bottom.leaflet-left{bottom:42px}.leaflet-tile-pane{filter:saturate(.6)}.center-pin{width:14px;height:14px;background:var(--sage);border:3px solid var(--cream);border-radius:50%;box-shadow:0 0 0 2px var(--ink)}.point-pin{width:22px;height:22px;border:5px solid var(--cream);border-radius:50%;background:var(--red);box-shadow:0 0 0 2px var(--red),0 0 0 9px #b7443233}.city-label{font-size:11px;letter-spacing:1px;color:var(--sage);white-space:nowrap;text-shadow:0 1px 2px var(--cream),1px 0 2px var(--cream)}.leaflet-tooltip.center-label{background:var(--cream);border:1.5px solid var(--ink);border-radius:5px;color:var(--ink);padding:5px 9px;box-shadow:2px 2px 0 var(--ink);font-size:10px}.leaflet-tooltip.center-label:before{display:none}.leaflet-popup-content-wrapper{background:var(--cream);color:var(--ink);border:2px solid var(--ink);border-radius:8px;box-shadow:3px 3px 0 var(--ink)}.leaflet-popup-content{font-size:12px;line-height:1.8}.leaflet-popup-tip{background:var(--cream)}.rolling svg{animation:tumble .7s ease-in-out infinite}@keyframes tumble{to{transform:rotate(180deg)}}.noscript{padding:20px;background:var(--cream);text-align:center}
@media(max-width:1400px){.masthead,main{margin-left:38px;margin-right:38px}}@media(max-width:1100px){.workspace{grid-template-columns:minmax(0,1fr) 320px;gap:20px}.draw-panel{padding:20px}.map-tools{top:77px;left:18px;right:auto}.history-list{grid-template-columns:repeat(3,minmax(0,1fr))}.origin-picker>p{display:none}.intro{gap:18px}.radius-note{width:133px;height:133px}.radius-note strong{font-size:42px}h1{font-size:33px}}
@media(max-width:720px){body{padding-bottom:88px}.masthead,main{margin-left:18px;margin-right:18px}.masthead{padding:19px 0;gap:10px}.brand{font-size:21px;gap:10px}.brand small{font-size:7px;letter-spacing:1.5px}.brand-mark{width:40px;height:44px;font-size:27px}.header-note{display:none}.quiet-button{padding:8px 10px;font-size:10px}.quiet-button span{margin-left:5px}.intro{padding:31px 0 25px;align-items:start;gap:8px;position:relative}.intro>div:first-child{min-width:0}.intro .eyebrow{font-size:10px;letter-spacing:1px;max-width:220px}.intro h1{font-size:31px;line-height:1.5;letter-spacing:0;padding-right:45px;margin-bottom:15px}.intro h1 .red-word{display:block;white-space:nowrap}.mobile-break{display:block}.subtitle{font-size:12px;max-width:290px}.radius-note{position:absolute;right:1px;top:40px;width:78px;height:78px}.radius-note:before{font-size:6px;letter-spacing:0}.radius-note:after{inset:4px}.radius-note strong{font-size:26px;letter-spacing:-1px}.radius-note strong span{font-size:9px;margin-left:2px}.radius-note>span{font-size:6px;letter-spacing:0}.origin-picker{padding:14px;gap:11px;flex-wrap:wrap;margin-bottom:24px}.origin-picker-label{font-size:11px;width:100%}.origin-options{width:100%;gap:8px}.origin-options button{min-width:0;flex:1;gap:6px;flex-direction:column;align-items:start;padding:10px 12px}.origin-options strong{font-size:15px}.origin-options span{font-size:10px}.workspace{display:flex;flex-direction:column;gap:22px}.map-shell{min-height:0;height:380px}.map-heading{left:12px;top:12px;font-size:11px;padding:11px 12px}.map-tools{left:auto;right:12px;top:12px;gap:6px}.map-tools button{font-size:10px;padding:8px 9px}.map-tools button span{display:none}.map-legend{right:12px;bottom:28px;font-size:9px;gap:9px}.map-notice{left:65px;right:12px;bottom:73px;font-size:10px}.north{right:22px;bottom:82px}.draw-panel{padding:20px;min-height:0}.empty-state{min-height:176px;display:grid;grid-template-columns:96px 1fr;grid-template-rows:auto auto;text-align:left;column-gap:17px;align-content:center}.wander-icon{grid-column:1;grid-row:1/3;width:96px;height:96px;margin:0}.wander-star{left:25px;top:25px;font-size:43px}.pin-dot{right:8px}.empty-state h2{grid-column:2;grid-row:1;font-size:20px;margin:0 0 9px;align-self:end}.empty-state p{grid-column:2;grid-row:2;font-size:11px;align-self:start}.roll-button{position:fixed;bottom:calc(16px + env(safe-area-inset-bottom,0px));left:18px;width:calc(100% - 36px);z-index:900;box-shadow:4px 4px 0 var(--ink);min-height:57px}.roll-status{margin:0 0 17px}.result-state{min-height:0;padding:22px 0 15px}.result-state h2{font-size:49px}.coordinate-card strong{font-size:13px}.result-links a,.result-links button{font-size:12px}.amap-fallback p{font-size:11px}.amap-fallback a{min-height:44px}.starting-point div>span{font-size:11px}.travel-note{font-size:11px}.history-section{margin-top:33px}.section-title{flex-wrap:wrap;gap:10px;margin-bottom:16px}.section-title h2{font-size:18px}.section-title h2:before{font-size:10px;margin-right:8px}.section-title>span{font-size:10px;order:3;width:100%}.section-title button{font-size:10px;padding:7px 9px}.history-list{gap:10px}.history-item{padding:13px 10px}.history-item strong{font-size:13px;white-space:normal;line-height:1.6}.history-item strong span{display:block;font-size:10px}.history-number{font-size:7px;letter-spacing:0}.history-item small{font-size:9px}.history-empty{font-size:11px}footer{align-items:start;font-size:10px;padding:20px 0;margin-top:29px;gap:12px}footer p{max-width:155px}footer button{font-size:10px;padding:0;min-height:44px}dialog{padding:20px}dialog h2{font-size:25px}.toast{bottom:96px}.leaflet-control-attribution{font-size:8px!important}}
@media(max-width:370px){.intro h1{font-size:27px}.radius-note{width:68px;height:68px;top:44px}.radius-note strong{font-size:23px}.radius-note>span{font-size:5px}.radius-note:before{font-size:5px}.empty-state{grid-template-columns:75px 1fr;column-gap:10px}.wander-icon{transform:scale(.78);transform-origin:left center;width:92px}.empty-state h2{font-size:17px}.empty-state p{font-size:10px}.map-heading{font-size:10px;padding:12px 8px}.map-tools button{font-size:9px;padding:8px}.history-list{grid-template-columns:repeat(2,minmax(0,1fr))}.brand{font-size:18px}.quiet-button{font-size:9px}.map-shell{height:340px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.brand small{font-size:11px;letter-spacing:1px}@media(max-width:720px){.brand small{font-size:10px;letter-spacing:.5px}.leaflet-top.leaflet-right{top:58px}.leaflet-top.leaflet-right .leaflet-control-zoom{margin:0 12px 0 0!important}}
