:root { --ink:#172422; --paper:#f8faf9; --muted:#72807c; --green:#168264; --mint:#dff5ec; --line:rgba(23,36,34,.11); }
* { box-sizing:border-box; }
html,body { width:100%; height:100%; margin:0; overflow:hidden; color:var(--ink); background:#e7eeea; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif; }
button,input { font:inherit; } button { border:0; cursor:pointer; }
.app-shell { position:relative; width:100%; height:100%; overflow:hidden; background:#e7eeea; }
.map { position:absolute; inset:0; background:#e8efeb; touch-action:none; }
.map-placeholder { position:absolute; inset:0; display:grid; place-content:center; gap:10px; text-align:center; color:#7c8c87; background-image:linear-gradient(32deg,transparent 49%,rgba(255,255,255,.65) 50%,transparent 51%),linear-gradient(-38deg,transparent 49%,rgba(255,255,255,.55) 50%,transparent 51%); background-size:110px 100px,150px 130px; }
.placeholder-mark { margin:auto; padding:8px 14px; border-radius:6px; color:white; background:var(--ink); font-weight:800; }.map-placeholder p { margin:0; font-size:12px; }
.topbar { position:absolute; z-index:10; top:0; left:0; right:0; padding:calc(14px + env(safe-area-inset-top)) 16px 0; display:flex; align-items:center; justify-content:space-between; pointer-events:none; }
.brand,.gps-status { pointer-events:auto; display:flex; align-items:center; background:rgba(255,255,255,.94); border:1px solid rgba(255,255,255,.8); box-shadow:0 8px 24px rgba(24,53,44,.12); backdrop-filter:blur(12px); }
.brand { height:40px; gap:8px; padding:0 13px; border-radius:12px; font-size:17px; }.brand-signal,.gps-dot { width:8px; height:8px; border-radius:50%; background:var(--green); box-shadow:0 0 0 4px rgba(22,130,100,.13); }
.gps-status { min-width:120px; height:40px; gap:8px; justify-content:center; padding:0 11px; border-radius:12px; color:var(--ink); }.gps-status span { font-size:11px; font-weight:700; }.gps-status small { color:var(--muted); font-size:10px; }.gps-status.error .gps-dot { background:#d55c4a; box-shadow:0 0 0 4px rgba(213,92,74,.13); }
.search-panel { position:absolute; z-index:10; top:calc(66px + env(safe-area-inset-top)); left:14px; right:14px; height:52px; display:flex; align-items:center; gap:10px; padding:0 8px 0 14px; border-radius:14px; background:rgba(255,255,255,.96); box-shadow:0 10px 28px rgba(24,53,44,.14); }.search-symbol { font-size:27px; line-height:1; color:#567068; transform:rotate(-15deg); }.search-panel input { flex:1; min-width:0; border:0; outline:0; background:transparent; color:var(--ink); font-size:14px; }.search-action { height:36px; padding:0 15px; border-radius:10px; color:white; background:var(--ink); font-size:12px; font-weight:700; }
.map-tools { position:absolute; z-index:9; right:14px; top:calc(132px + env(safe-area-inset-top)); display:grid; gap:8px; }.tool-button { width:42px; height:42px; border-radius:12px; color:#36564d; background:rgba(255,255,255,.95); box-shadow:0 7px 20px rgba(24,53,44,.12); font-size:22px; font-weight:600; }.tool-button:active { transform:scale(.95); }
.route-card { position:absolute; z-index:10; left:12px; right:12px; bottom:calc(78px + env(safe-area-inset-bottom)); padding:17px; border-radius:16px; background:rgba(255,255,255,.97); box-shadow:0 14px 34px rgba(24,53,44,.17); transition:.25s ease; }.route-card.hidden { transform:translateY(20px); opacity:0; pointer-events:none; }.route-head { display:flex; justify-content:space-between; gap:14px; }.eyebrow { margin:0 0 5px; color:var(--green); font-size:10px; font-weight:800; letter-spacing:0; }.route-card h1,.modal-card h2 { margin:0; font-size:18px; }.icon-close { width:28px; height:28px; border-radius:50%; color:#77857f; background:#f0f4f2; font-size:20px; }.route-meta { margin:7px 0 13px; color:var(--muted); font-size:11px; }.primary-button { min-height:40px; padding:0 16px; border-radius:10px; color:white; background:var(--green); font-size:12px; font-weight:800; }.primary-button:disabled { color:#9ca7a3; background:#eef2f0; cursor:not-allowed; }
.bottom-nav { position:absolute; z-index:11; bottom:0; left:0; right:0; min-height:66px; padding:7px 10px max(7px,env(safe-area-inset-bottom)); display:flex; justify-content:space-around; background:rgba(255,255,255,.96); border-top:1px solid var(--line); }.nav-item { width:70px; min-height:50px; display:grid; place-content:center; gap:2px; border-radius:10px; color:#95a19d; background:transparent; }.nav-item span { font-size:18px; }.nav-item b { font-size:10px; }.nav-item.active { color:var(--green); background:#ecf8f3; }
.modal { position:fixed; z-index:100; inset:0; display:grid; place-items:center; padding:20px; background:rgba(12,22,19,.54); backdrop-filter:blur(7px); }.modal[hidden] { display:none; }.modal-card { width:min(100%,430px); padding:22px; border-radius:16px; background:white; box-shadow:0 24px 60px rgba(0,0,0,.25); }.modal-card > p:not(.eyebrow):not(.domain-hint) { margin:10px 0 18px; color:var(--muted); font-size:12px; line-height:1.7; }.modal-card label { display:block; margin-bottom:7px; font-size:11px; font-weight:800; }.modal-card input { width:100%; height:44px; padding:0 12px; border:1px solid #ccd8d3; border-radius:10px; outline:0; }.modal-card input:focus { border-color:var(--green); box-shadow:0 0 0 3px rgba(22,130,100,.12); }.domain-hint { margin:9px 0 18px; color:#7d8985; font-size:10px; }.modal-actions { display:flex; align-items:center; justify-content:space-between; gap:12px; }.modal-actions a { color:var(--green); font-size:12px; font-weight:700; text-decoration:none; }
.toast { position:fixed; z-index:120; left:50%; bottom:90px; transform:translate(-50%,15px); max-width:calc(100% - 30px); padding:10px 14px; border-radius:9px; opacity:0; pointer-events:none; color:white; background:var(--ink); font-size:11px; text-align:center; transition:.22s; }.toast.show { opacity:1; transform:translate(-50%,0); }
.BMap_cpyCtrl,.anchorBL { display:none!important; }
@media (min-width:700px) { .app-shell { width:min(520px,100%); height:min(920px,calc(100vh - 32px)); margin:16px auto; border-radius:24px; box-shadow:0 24px 70px rgba(24,53,44,.2); }.map,.bottom-nav { border-radius:inherit; } }
