
.guide-map-page{overflow:hidden}
.guide-map-controlbar{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 12px;background:#fff;border-bottom:1px solid var(--map-line);position:relative;z-index:700}
.guide-flow-tabs,.guide-transport-tabs,.guide-duration-tabs{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none}.guide-flow-tabs::-webkit-scrollbar,.guide-transport-tabs::-webkit-scrollbar,.guide-duration-tabs::-webkit-scrollbar{display:none}
.guide-flow-tabs button,.guide-transport-tabs button,.guide-duration-tabs button,.guide-locate,.guide-build-route{border:1px solid var(--map-line);background:#fff;border-radius:999px;padding:9px 12px;font:850 11px system-ui;color:#504a5c;white-space:nowrap;cursor:pointer}
.guide-flow-tabs button.active,.guide-transport-tabs button.active,.guide-duration-tabs button.active{background:var(--map-soft);border-color:#cdbdf7;color:var(--map-accent)}
.guide-locate{background:#eef8ff;border-color:#c8e5f5;color:#267090}.guide-build-route{background:linear-gradient(135deg,#6f47db,#8f6cf0);color:#fff;border-color:transparent}
.guide-route-builder{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(300px,1.3fr) auto;gap:12px;align-items:center;padding:9px 12px;background:#fff;border-bottom:1px solid var(--map-line);position:relative;z-index:690}
.guide-route-builder>div:first-child{display:flex;flex-direction:column;gap:2px}.guide-route-builder strong{font-size:12px}.guide-route-builder span{font-size:10px;color:var(--map-muted)}
#guideDestinationForm{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;position:relative}
#guideDestinationInput{width:100%;min-width:0;border:1px solid var(--map-line);background:#faf9fd;border-radius:12px;padding:10px 11px;font-size:12px;outline:0}
#guideDestinationForm>button{border:0;border-radius:12px;background:#ede6ff;color:var(--map-accent);font-weight:900;padding:0 14px;cursor:pointer}
.guide-destination-results{position:absolute;left:0;right:0;top:calc(100% + 5px);z-index:1000;background:#fff;border:1px solid var(--map-line);border-radius:13px;padding:5px;box-shadow:0 14px 40px rgba(30,23,48,.16)}
.guide-destination-results button{display:block;width:100%;text-align:left;border:0;background:#fff;border-radius:9px;padding:9px 10px;font-size:11px;cursor:pointer}.guide-destination-results button:hover{background:#f4f0ff}
.guide-map-layout{display:grid;grid-template-columns:minmax(0,1fr) 390px;height:calc(100vh - 176px);min-height:520px}
.guide-map-stage{position:relative;min-width:0}.guide-map{height:100%!important;min-height:100%!important}
.guide-map-status{position:absolute;left:50%;top:12px;transform:translateX(-50%);z-index:650;background:rgba(255,255,255,.94);border:1px solid rgba(60,50,85,.12);box-shadow:0 8px 26px rgba(30,25,45,.12);border-radius:999px;padding:8px 12px;font-size:11px;font-weight:850;max-width:calc(100% - 100px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.guide-map-legend{position:absolute;z-index:640;left:12px;bottom:12px;display:flex;gap:7px;flex-wrap:wrap;background:rgba(255,255,255,.92);border:1px solid rgba(60,50,85,.12);border-radius:12px;padding:7px 9px;font-size:9px;color:#5b5664}.guide-map-legend span{display:flex;align-items:center;gap:4px}.guide-map-legend i{width:8px;height:8px;border-radius:50%;display:inline-block}.guide-map-legend i.me{background:#267090}.guide-map-legend i.poi{background:#6f47db}.guide-map-legend i.route{background:#f06f44}
.guide-map-sheet{height:100%;overflow:auto;background:#fff;border-left:1px solid var(--map-line);padding:13px 12px 92px}.guide-sheet-grabber{display:none;width:42px;height:4px;background:#d8d4df;border-radius:99px;margin:0 auto 9px}
.guide-sheet-head{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:6px 2px 12px}.guide-sheet-head>div{min-width:0;display:flex;flex-direction:column}.guide-sheet-head strong{font-size:15px}.guide-sheet-head span{margin-top:3px;font-size:10px;color:var(--map-muted);line-height:1.3}
.guide-voice-toggle{border:1px solid #d9cdfa;background:#f7f3ff;color:var(--map-accent);border-radius:11px;padding:9px 10px;font:900 10px system-ui;white-space:nowrap;cursor:pointer}.guide-voice-toggle.on{background:#171923;color:#fff;border-color:#171923}
.guide-current-card{border:1px solid var(--map-line);border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 8px 28px rgba(35,29,52,.07);margin-bottom:11px}.guide-current-card>img{width:100%;height:156px;object-fit:cover;background:#f2eff8}.guide-current-copy{padding:13px}.guide-current-kicker{font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;color:var(--map-accent)}.guide-current-copy h2{font-size:21px;line-height:1.08;margin:6px 0 8px;letter-spacing:-.3px}.guide-current-copy p{font-size:12px;line-height:1.48;color:#5f5968;margin:0}
.guide-current-actions{display:flex;gap:7px;margin-top:12px}.guide-current-actions button,.guide-current-actions a{border:0;border-radius:10px;padding:9px 11px;font:850 10px system-ui;text-decoration:none;cursor:pointer}.guide-current-actions button{background:linear-gradient(135deg,#6f47db,#8f6cf0);color:#fff}.guide-current-actions a{background:#f3f1f7;color:#5a5363}
.guide-plan-sheet,.guide-nearby-sheet{border:1px solid var(--map-line);border-radius:16px;padding:11px;margin-top:10px}.guide-plan-head,.guide-nearby-head{display:flex;justify-content:space-between;align-items:flex-end;gap:8px;margin-bottom:8px}.guide-plan-head strong,.guide-nearby-head strong{font-size:13px}.guide-plan-head span,.guide-nearby-head span{font-size:9px;color:var(--map-muted)}
.guide-plan-stops{display:grid;gap:6px}.guide-plan-stop{display:grid;grid-template-columns:24px minmax(0,1fr);gap:8px;align-items:center;padding:7px 8px;border-radius:10px;background:#faf9fd;cursor:pointer}.guide-plan-stop.current{background:#f0eaff}.guide-plan-stop.done{opacity:.5}.guide-plan-stop-num{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#ede6ff;color:var(--map-accent);font-size:9px;font-weight:950}.guide-plan-stop strong{display:block;font-size:11px}.guide-plan-stop small{display:block;margin-top:2px;color:var(--map-muted);font-size:9px}
.guide-clear-route{margin-top:9px;border:0;background:transparent;color:#8a3340;font:850 10px system-ui;cursor:pointer}
.guide-nearby-cards{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none}.guide-nearby-cards::-webkit-scrollbar{display:none}.guide-nearby-card{flex:0 0 190px;border:1px solid var(--map-line);border-radius:12px;overflow:hidden;text-decoration:none;color:inherit;background:#fff}.guide-nearby-card img{width:100%;height:84px;object-fit:cover;background:#f1eff6}.guide-nearby-card div{padding:8px}.guide-nearby-card strong{font-size:10px;line-height:1.25;display:block}.guide-nearby-card span{display:block;margin-top:3px;font-size:9px;color:var(--map-muted)}
.guide-map-live{position:fixed;z-index:1200;left:50%;bottom:max(10px,env(safe-area-inset-bottom));transform:translateX(-50%);width:min(720px,calc(100% - 24px));display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 10px 10px 14px;background:rgba(23,25,35,.96);color:#fff;border-radius:17px;box-shadow:0 16px 45px rgba(0,0,0,.28);backdrop-filter:blur(16px)}.guide-map-live>div{display:flex;flex-direction:column;min-width:0}.guide-map-live strong{font-size:12px}.guide-map-live span{font-size:10px;color:#cfd4df;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.guide-map-live-actions{display:flex;align-items:center;gap:7px;flex:0 0 auto}.guide-map-live button{border:0;border-radius:11px;background:#6f47db;color:#fff;padding:10px 12px;font:900 11px system-ui;white-space:nowrap;cursor:pointer}.guide-map-live button.stop{background:#ff5f63}.guide-map-live .guide-pause-btn{background:#303440;color:#fff}.guide-map-live .guide-pause-btn.paused{background:#f2c94c;color:#2a2414}.guide-map-live .guide-pause-btn:disabled{opacity:.42;cursor:default}
.guide-poi-dot{background:#6f47db;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 8px rgba(61,35,120,.34)}.guide-zone-dot{background:#f06f44;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 8px rgba(130,65,30,.28)}
.guide-user-dot{width:18px;height:18px;border:4px solid #fff;border-radius:50%;background:#267090;box-shadow:0 0 0 4px rgba(38,112,144,.18),0 4px 12px rgba(20,65,85,.3)}
@media(max-width:950px){.guide-map-controlbar{grid-template-columns:1fr}.guide-locate{justify-self:start}.guide-route-builder{grid-template-columns:1fr}.guide-map-layout{height:calc(100vh - 245px);grid-template-columns:minmax(0,1fr) 340px}}
@media(max-width:820px){.guide-map-page{overflow:auto}.guide-global-switch{display:flex;overflow-x:auto}.guide-global-switch a{flex:0 0 auto;min-width:126px}.guide-map-layout{display:block;height:auto}.guide-map-stage{height:58vh;min-height:380px}.guide-map-sheet{height:auto;min-height:38vh;border-left:0;border-top:1px solid var(--map-line);padding-bottom:100px}.guide-sheet-grabber{display:block}.guide-map-controlbar{padding:8px 10px}.guide-route-builder{padding:8px 10px}}
@media(max-width:620px){.guide-map-stage{height:54vh;min-height:360px}.guide-map-status{top:8px;max-width:calc(100% - 24px)}.guide-map-legend{bottom:8px;left:8px}.guide-map-sheet{padding:10px 9px 104px}.guide-route-builder span{font-size:9px}#guideDestinationInput{font-size:16px}.guide-map-live{border-radius:15px}.guide-current-card>img{height:142px}}

.guide-route-builder#guideSuggested{grid-template-columns:minmax(210px,.65fr) auto auto minmax(420px,1.35fr)}
.guide-preset-block{min-width:0;border-left:1px solid var(--map-line);padding-left:12px}
.guide-preset-caption{display:flex;justify-content:space-between;gap:8px;align-items:end;margin-bottom:6px}.guide-preset-caption strong{font-size:11px}.guide-preset-caption span{font-size:9px!important}
.guide-preset-routes{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}.guide-preset-routes::-webkit-scrollbar{display:none}
.guide-preset-card{flex:0 0 235px;display:grid;grid-template-columns:32px minmax(0,1fr) 18px;gap:7px;align-items:center;text-align:left;border:1px solid var(--map-line);border-radius:13px;background:#fff;padding:9px;cursor:pointer;color:var(--map-text)}
.guide-preset-card:hover{border-color:#cdbdf7;background:#faf8ff}.guide-preset-emoji{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:var(--map-soft);font-size:17px}
.guide-preset-body{min-width:0}.guide-preset-body strong{display:block;font-size:10px;line-height:1.2}.guide-preset-body small{display:block;margin-top:2px;color:var(--map-accent);font-size:8px;font-weight:850}.guide-preset-body em{display:block;margin-top:3px;color:var(--map-muted);font-size:8px;line-height:1.25;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.guide-preset-arrow{color:var(--map-accent);font-weight:950}.guide-preset-loading{font-size:10px;color:var(--map-muted)}
@media(max-width:1100px){.guide-route-builder#guideSuggested{grid-template-columns:1fr auto auto}.guide-preset-block{grid-column:1/-1;border-left:0;border-top:1px solid var(--map-line);padding:8px 0 0}}
@media(max-width:620px){.guide-route-builder#guideSuggested{grid-template-columns:1fr}.guide-preset-card{flex-basis:220px}}

.guide-active-callout-icon{background:transparent!important;border:0!important}
.guide-map-callout{width:228px;min-height:66px;display:grid;grid-template-columns:54px minmax(0,1fr) 18px;align-items:center;gap:8px;padding:6px;border:1px solid rgba(50,42,68,.13);border-radius:15px;background:rgba(255,255,255,.97);box-shadow:0 12px 32px rgba(31,25,48,.2);backdrop-filter:blur(10px);cursor:pointer}
.guide-map-callout img,.guide-callout-placeholder{width:54px;height:54px;border-radius:11px;object-fit:cover;background:#f1ecff}.guide-callout-placeholder{display:grid;place-items:center;font-size:22px}
.guide-callout-copy{min-width:0;display:flex;flex-direction:column}.guide-callout-copy small{font-size:8px;color:#6f47db;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.guide-callout-copy strong{font-size:11px;line-height:1.2;margin-top:3px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.guide-callout-arrow{font-size:22px;color:#6f47db;font-weight:800}
@media(max-width:620px){.guide-map-callout{width:205px;grid-template-columns:48px minmax(0,1fr) 16px}.guide-map-callout img,.guide-callout-placeholder{width:48px;height:48px}.guide-callout-copy strong{font-size:10px}}

.guide-nav-banner{position:absolute;z-index:660;left:50%;top:54px;transform:translateX(-50%);width:min(520px,calc(100% - 32px));display:grid;grid-template-columns:44px minmax(0,1fr);gap:10px;align-items:center;padding:9px 12px;border-radius:15px;background:rgba(23,25,35,.96);color:#fff;box-shadow:0 12px 32px rgba(0,0,0,.24);backdrop-filter:blur(14px)}
.guide-nav-banner[hidden]{display:none}.guide-nav-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#6f47db;font-size:25px;font-weight:900}.guide-nav-copy{min-width:0;display:flex;flex-direction:column}.guide-nav-copy strong{font-size:12px;line-height:1.2}.guide-nav-copy small{margin-top:3px;font-size:10px;color:#cfd4df;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:620px){.guide-nav-banner{top:48px;width:calc(100% - 18px);grid-template-columns:38px minmax(0,1fr);padding:8px 9px}.guide-nav-icon{width:38px;height:38px;font-size:22px}}

.guide-route-here{background:#eef8ff!important;color:#267090!important}
.guide-point-route{margin-top:12px;padding:11px;border:1px solid #e2d9fa;border-radius:13px;background:#faf8ff}
.guide-point-route>strong{display:block;font-size:10px;margin:2px 0 7px;color:#4f485c}
.guide-point-route-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:10px}
.guide-point-route-row button{border:1px solid #ded9e7;background:#fff;color:#514b59;border-radius:9px;padding:8px 6px;font:800 9px system-ui;cursor:pointer}
.guide-point-route-row button.active{background:#ede6ff;border-color:#c9b6fb;color:#6341bc}
.guide-point-style{grid-template-columns:1fr 1fr}
.guide-point-build{width:100%;border:0;border-radius:11px;padding:10px;background:linear-gradient(135deg,#6f47db,#8f6cf0);color:#fff;font:900 11px system-ui;cursor:pointer}
.guide-point-build:disabled{opacity:.55}
.guide-point-route small{display:block;margin-top:7px;color:#777283;font-size:9px;line-height:1.35}
@media(max-width:620px){.guide-point-route-row button{font-size:10px;padding:9px 5px}}


/* Point-first routing popup */
.guide-leaflet-popup .leaflet-popup-content-wrapper{padding:0;border-radius:17px;overflow:hidden;box-shadow:0 14px 38px rgba(26,22,38,.2)}
.guide-leaflet-popup .leaflet-popup-content{margin:0;width:auto!important}
.guide-leaflet-popup .leaflet-popup-tip{box-shadow:2px 2px 4px rgba(0,0,0,.08)}
.guide-point-popup{width:286px;background:#fff;color:#282535}
.guide-popup-image{display:block;width:100%;height:118px;object-fit:cover;background:#f1ecff}
.guide-popup-placeholder{display:grid;place-items:center;font-size:38px}
.guide-popup-copy{padding:11px}
.guide-popup-copy>strong{display:block;font-size:15px;line-height:1.16}
.guide-popup-copy>p{margin:5px 0 0;color:#6f6978;font-size:10px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.guide-popup-actions{display:grid;grid-template-columns:auto auto 1fr;gap:5px;margin-top:9px}
.guide-popup-actions button,.guide-popup-modes button{border:1px solid #ddd7e8;background:#fff;border-radius:9px;padding:8px 7px;font:850 9px system-ui;color:#50495a;cursor:pointer}
.guide-popup-actions button.primary{border-color:transparent;background:linear-gradient(135deg,#6f47db,#8f6cf0);color:#fff}
.guide-popup-modes{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-top:7px;padding-top:7px;border-top:1px solid #eeeaf3}
.guide-popup-modes[hidden]{display:none}.guide-popup-modes button{background:#faf8ff;color:#6341bc}
.guide-popup-modes button:active{transform:scale(.98)}

/* Public transport details */
.guide-transit-details{margin:0 0 9px;padding:10px;border:1px solid #dce8f0;border-radius:12px;background:#f7fbfe}
.guide-transit-details[hidden]{display:none}
.guide-transit-title{display:flex;justify-content:space-between;gap:8px;align-items:center}.guide-transit-title strong{font-size:11px}.guide-transit-title span{font-size:9px;color:#62717d;text-align:right}
.guide-transit-lines{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.guide-transit-lines span{display:inline-flex;gap:4px;align-items:center;padding:5px 7px;border-radius:999px;background:#fff;border:1px solid #d4e3ed;font-size:9px;color:#3f5968}.guide-transit-lines b{font-weight:900;color:#267090}
.guide-transit-empty{margin-top:8px;color:#7c8790;font-size:9px}
.guide-transit-steps{display:grid;gap:5px;margin-top:9px}.guide-transit-steps>div{display:grid;grid-template-columns:20px minmax(0,1fr);gap:6px;align-items:start}.guide-transit-steps>div>span{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#e7f3f8;color:#267090;font-size:8px;font-weight:900}.guide-transit-steps p{margin:2px 0 0;font-size:9px;line-height:1.35;color:#53616a}
.guide-transit-alts{margin-top:9px;padding-top:8px;border-top:1px solid #dce8f0}.guide-transit-alts>strong{font-size:9px;color:#687782}.guide-transit-alts>div{display:flex;justify-content:space-between;gap:8px;padding-top:5px}.guide-transit-alts span{font-size:8px;color:#75828b}.guide-transit-alts b{font-size:8px;text-align:right}

@media(max-width:620px){
  .guide-point-popup{width:264px}.guide-popup-image{height:104px}
  .guide-popup-actions{grid-template-columns:1fr 1fr}.guide-popup-actions button.primary{grid-column:1/-1}
  .guide-popup-modes{grid-template-columns:1fr 1fr 1fr}
}


/* Duration-aware day planner */
.guide-duration-wrap{min-width:0;display:grid;gap:6px}
.guide-duration-tabs{max-width:min(620px,48vw)}
.guide-custom-duration{display:flex;align-items:center;gap:7px;padding:6px 9px;border:1px solid #ded7ef;border-radius:12px;background:#faf8ff}
.guide-custom-duration[hidden]{display:none}
.guide-custom-duration label{font:850 9px system-ui;color:#5b5268}
.guide-custom-duration input{width:82px;border:1px solid #d5cbe8;background:#fff;border-radius:9px;padding:7px 8px;font:850 11px system-ui;color:#433a51;outline:0}
.guide-custom-duration span{font-size:9px!important;color:#7a7185!important}
.guide-commercial-marker{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#fff;border:3px solid #3d9b68;box-shadow:0 4px 12px rgba(35,92,61,.28);font-size:14px}
.guide-plan-offer{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:8px;align-items:center;padding:7px 8px;border:1px solid #dbeade;border-radius:11px;background:#f7fcf8;text-decoration:none;color:inherit}
.guide-plan-offer img{width:46px;height:46px;border-radius:9px;object-fit:cover;background:#eef5ef}
.guide-plan-offer span{min-width:0}.guide-plan-offer em{display:block;color:#2f8a51;font-size:8px;font-weight:900;font-style:normal;text-transform:uppercase;letter-spacing:.03em}
.guide-plan-offer strong{display:block;margin-top:2px;font-size:10px;line-height:1.2}.guide-plan-offer small{display:block;margin-top:3px;color:#6c766f;font-size:8px;line-height:1.25}
.guide-plan-offer b{font-size:8px;color:#2f8a51;white-space:nowrap}
@media(max-width:1100px){.guide-duration-tabs{max-width:55vw}}
@media(max-width:620px){
  .guide-duration-tabs{max-width:100%;padding-bottom:2px}.guide-custom-duration{flex-wrap:wrap}
  .guide-plan-offer{grid-template-columns:42px minmax(0,1fr)}.guide-plan-offer img{width:42px;height:42px}.guide-plan-offer b{grid-column:2}
}


/* Curated ready routes */
.guide-preset-theme{display:inline-flex!important;margin-top:5px;padding:3px 6px;border-radius:999px;background:#f3effc;color:#6848b8!important;font-size:7px!important;font-weight:900}
.guide-preset-description{margin:0 0 10px;padding:12px;border:1px solid #ded6f2;border-radius:14px;background:linear-gradient(180deg,#fbf9ff,#fff)}
.guide-preset-description[hidden]{display:none}
.guide-preset-description-head{display:flex;justify-content:space-between;gap:8px;align-items:center}
.guide-preset-description-head span{font-size:9px;font-weight:900;color:#6f47db;text-transform:uppercase;letter-spacing:.04em}
.guide-preset-description-head b{font-size:9px;color:#554c61}
.guide-preset-description h3{margin:7px 0 5px;font-size:16px;line-height:1.15}
.guide-preset-description p{margin:0;color:#5f5968;font-size:11px;line-height:1.48}
.guide-preset-description-theme{margin-top:7px;font-size:9px;font-weight:850;color:#7a6d86}
.guide-preset-highlights{display:flex;gap:5px;overflow-x:auto;scrollbar-width:none;margin-top:9px;padding-bottom:2px}
.guide-preset-highlights::-webkit-scrollbar{display:none}
.guide-preset-highlights span{flex:0 0 auto;display:flex;align-items:center;gap:5px;padding:6px 8px;border-radius:999px;background:#f4f0ff;color:#54475f;font-size:8px;font-weight:800}
.guide-preset-highlights b{display:grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#6f47db;color:#fff;font-size:7px}
.guide-preset-description>small{display:block;margin-top:9px;color:#7e7487;font-size:8px;line-height:1.4}


/* Interactive point routing */
.guide-point-hit{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;cursor:pointer}
.guide-point-hit .guide-poi-dot{display:block;width:12px;height:12px}
.guide-point-hit .guide-zone-dot{display:block;width:15px;height:15px}
.guide-current-actions{flex-wrap:wrap}
.guide-card-close{background:#f3f1f7!important;color:#5a5363!important}
.guide-point-choice{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:7px 0 9px}
.guide-point-choice button{display:flex;flex-direction:column;gap:3px;text-align:left;border:1px solid #ded9e7;background:#fff;border-radius:11px;padding:9px;cursor:pointer;color:#514b59}
.guide-point-choice button.active{background:#ede6ff;border-color:#c9b6fb;color:#6341bc}.guide-point-choice button.unavailable,.guide-point-choice button:disabled{opacity:.46;cursor:not-allowed;background:#f7f6f9;color:#8f8994}
.guide-point-choice b{font-size:9px}.guide-point-choice span{font-size:8px!important;line-height:1.3;color:#777283!important}
.guide-route-controls{position:absolute;z-index:675;left:12px;top:12px;display:flex;gap:7px;max-width:calc(100% - 24px)}
.guide-route-controls[hidden]{display:none}
.guide-route-controls button{border:1px solid rgba(61,52,80,.14);background:rgba(255,255,255,.96);box-shadow:0 8px 24px rgba(27,22,40,.13);border-radius:999px;padding:9px 11px;font:900 10px system-ui;color:#4d4657;cursor:pointer;backdrop-filter:blur(12px)}
#guideRouteReset{color:#9a3343}
@media(max-width:620px){
  .guide-point-choice{grid-template-columns:1fr}
  .guide-route-controls{top:auto;bottom:46px;left:8px;right:8px;max-width:none;justify-content:space-between}
  .guide-route-controls button{font-size:9px;padding:8px 10px}
}

@media(max-width:760px){.guide-point-choice{grid-template-columns:1fr}.guide-point-choice button{min-height:58px}}

.guide-bridge-dot{display:block;width:15px;height:15px;background:#2588a8;border:2px solid #fff;border-radius:5px;transform:rotate(45deg);box-shadow:0 2px 9px rgba(25,102,128,.35)}
.guide-crossing-dot{display:block;width:12px;height:12px;background:#e39a28;border:2px solid #fff;border-radius:3px;box-shadow:0 2px 8px rgba(150,91,10,.28)}

/* Accepted-route fullscreen map */
.guide-plan-actions{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;margin-top:10px}
.guide-plan-actions .guide-clear-route{margin-top:0;padding:10px 12px;border:1px solid #f0d9dd;border-radius:11px;background:#fff7f8}
.guide-accept-route{border:0;border-radius:11px;background:linear-gradient(135deg,#6f47db,#8e69ef);color:#fff;padding:11px 14px;font:900 11px system-ui;cursor:pointer;box-shadow:0 8px 20px rgba(111,71,219,.2)}
.guide-route-fullscreen{overflow:hidden}
.guide-route-fullscreen .map-topbar,
.guide-route-fullscreen .guide-global-switch,
.guide-route-fullscreen .guide-map-controlbar,
.guide-route-fullscreen .guide-route-builder,
.guide-route-fullscreen .guide-map-sheet{display:none!important}
.guide-route-fullscreen .guide-map-layout{position:fixed;z-index:1100;inset:0;display:block!important;height:100dvh!important;background:#fff}
.guide-route-fullscreen .guide-map-stage{height:100dvh!important;min-height:100dvh!important}
.guide-route-fullscreen #guideMap{height:100%!important;min-height:100%!important}
.guide-route-fullscreen .guide-route-controls{display:flex!important;position:fixed!important;z-index:1700!important;top:max(10px,env(safe-area-inset-top))!important;bottom:auto!important;left:10px!important;right:10px!important;max-width:none!important;justify-content:space-between!important}
.guide-route-fullscreen .guide-map-status{top:max(58px,calc(env(safe-area-inset-top) + 54px));z-index:1650}
.guide-route-fullscreen .guide-map-legend{bottom:max(84px,calc(env(safe-area-inset-bottom) + 74px))}
.guide-route-fullscreen .guide-map-live{z-index:1800}
.guide-route-fullscreen.guide-route-filters-open .guide-map-controlbar{display:grid!important;position:fixed;z-index:1750;top:max(58px,calc(env(safe-area-inset-top) + 54px));left:10px;right:10px;border:1px solid rgba(60,50,85,.13);border-radius:16px;box-shadow:0 16px 40px rgba(24,20,35,.22);padding:10px;background:rgba(255,255,255,.98)}
.guide-route-fullscreen.guide-route-filters-open .guide-route-builder:not([hidden]){display:grid!important;position:fixed;z-index:1745;top:max(142px,calc(env(safe-area-inset-top) + 138px));left:10px;right:10px;max-height:48dvh;overflow:auto;border:1px solid rgba(60,50,85,.13);border-radius:16px;box-shadow:0 16px 40px rgba(24,20,35,.22);padding:10px;background:#fff}
.guide-route-fullscreen.guide-route-filters-open .guide-map-status{display:none}
@media(max-width:620px){
  .guide-plan-actions{grid-template-columns:1fr 1fr}
  .guide-plan-actions button{width:100%}
  .guide-route-fullscreen .guide-route-controls button{font-size:9px;padding:9px 10px}
  .guide-route-fullscreen .guide-map-live{bottom:max(8px,env(safe-area-inset-bottom));width:calc(100% - 16px)}
  .guide-route-fullscreen.guide-route-filters-open .guide-map-controlbar{grid-template-columns:1fr;max-height:38dvh;overflow:auto}
  .guide-route-fullscreen.guide-route-filters-open .guide-route-builder:not([hidden]){top:max(245px,calc(env(safe-area-inset-top) + 235px));max-height:38dvh}
}


/* Live-guide map-first mode */
.guide-live-menu{display:none;position:absolute;z-index:1680;top:max(10px,env(safe-area-inset-top));right:10px;border:1px solid rgba(61,52,80,.14);background:rgba(255,255,255,.97);box-shadow:0 8px 24px rgba(27,22,40,.16);border-radius:999px;padding:10px 13px;font:900 10px system-ui;color:#4d4657;cursor:pointer;backdrop-filter:blur(12px)}
.guide-live-map{overflow:hidden!important}
.guide-live-map .map-topbar,
.guide-live-map .guide-global-switch,
.guide-live-map .guide-map-controlbar,
.guide-live-map .guide-route-builder{display:none!important}
.guide-live-map .guide-map-layout{position:fixed;z-index:1100;inset:0;display:block!important;height:100dvh!important;min-height:100dvh!important;background:#fff}
.guide-live-map .guide-map-stage{height:100dvh!important;min-height:100dvh!important}
.guide-live-map #guideMap{height:100%!important;min-height:100%!important}
.guide-live-map .guide-live-menu{display:block}
.guide-live-map .guide-map-status{top:max(58px,calc(env(safe-area-inset-top) + 54px));z-index:1650}
.guide-live-map .guide-map-legend{bottom:max(84px,calc(env(safe-area-inset-bottom) + 74px))}
.guide-live-map .guide-map-live{z-index:1800;bottom:max(8px,env(safe-area-inset-bottom));width:min(720px,calc(100% - 16px))}
.guide-live-map .guide-map-sheet{
  display:block!important;
  position:fixed!important;
  z-index:1760!important;
  left:50%!important;
  right:auto!important;
  bottom:0!important;
  top:auto!important;
  width:min(760px,100%)!important;
  height:auto!important;
  max-height:min(72dvh,700px)!important;
  min-height:0!important;
  overflow:auto!important;
  border:1px solid rgba(61,52,80,.14)!important;
  border-bottom:0!important;
  border-radius:22px 22px 0 0!important;
  padding:9px 10px calc(92px + env(safe-area-inset-bottom))!important;
  box-shadow:0 -18px 52px rgba(25,20,40,.22)!important;
  background:rgba(255,255,255,.985)!important;
  backdrop-filter:blur(18px);
  transform:translate(-50%,calc(100% + 30px));
  transition:transform .24s ease;
  pointer-events:none;
}
.guide-live-map.guide-sheet-open .guide-map-sheet{transform:translate(-50%,0);pointer-events:auto}
.guide-live-map .guide-sheet-grabber{display:block;margin-top:1px}
.guide-live-map .guide-sheet-head{padding:3px 3px 8px}
.guide-live-map .guide-current-card{margin-bottom:0;box-shadow:none;border-radius:16px}
.guide-live-map .guide-plan-sheet,
.guide-live-map .guide-nearby-sheet{display:none!important}
.guide-live-map.guide-live-controls-open .guide-map-controlbar{
  display:grid!important;
  position:fixed!important;
  z-index:1745!important;
  top:max(58px,calc(env(safe-area-inset-top) + 54px))!important;
  left:10px!important;
  right:10px!important;
  width:auto!important;
  max-height:38dvh!important;
  overflow:auto!important;
  border:1px solid rgba(60,50,85,.13)!important;
  border-radius:16px!important;
  box-shadow:0 16px 40px rgba(24,20,35,.22)!important;
  padding:10px!important;
  background:rgba(255,255,255,.98)!important;
}
.guide-live-map.guide-live-controls-open .guide-route-builder:not([hidden]){
  display:grid!important;
  position:fixed!important;
  z-index:1740!important;
  top:max(188px,calc(env(safe-area-inset-top) + 184px))!important;
  left:10px!important;
  right:10px!important;
  width:auto!important;
  max-height:42dvh!important;
  overflow:auto!important;
  border:1px solid rgba(60,50,85,.13)!important;
  border-radius:16px!important;
  box-shadow:0 16px 40px rgba(24,20,35,.22)!important;
  padding:10px!important;
  background:#fff!important;
}
.guide-live-map.guide-live-controls-open .guide-map-status{display:none}
.guide-live-map.guide-sheet-open .guide-live-menu{opacity:.72}
.guide-live-map.guide-route-fullscreen .guide-map-sheet{display:none!important}

@media(max-width:620px){
  .guide-live-map .guide-map-status{max-width:calc(100% - 118px);left:10px;right:108px;transform:none;text-align:left}
  .guide-live-map .guide-live-menu{font-size:9px;padding:9px 11px}
  .guide-live-map .guide-map-sheet{width:100%!important;max-height:70dvh!important;border-radius:20px 20px 0 0!important}
  .guide-live-map .guide-current-card>img{height:128px}
  .guide-live-map.guide-live-controls-open .guide-map-controlbar{grid-template-columns:1fr}
  .guide-live-map.guide-live-controls-open .guide-route-builder:not([hidden]){top:max(245px,calc(env(safe-area-inset-top) + 235px));max-height:36dvh!important}
}

/* Narrator personality */
.guide-persona-wrap{display:grid;gap:6px;margin:7px 0 10px}
.guide-persona-wrap>span{font:850 9px system-ui;color:#756d7e}
.guide-persona-tabs{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
.guide-persona-tabs::-webkit-scrollbar{display:none}
.guide-persona-tabs button{flex:0 0 auto;border:1px solid #ddd6e8;background:#fff;border-radius:999px;padding:7px 9px;font:850 9px system-ui;color:#635a6c;cursor:pointer}
.guide-persona-tabs button.active{background:#eee7ff;border-color:#c7b5f6;color:#5e3bb5;box-shadow:0 5px 14px rgba(96,61,181,.12)}
.guide-route-fullscreen .guide-persona-wrap{display:none}

.guide-persona-run{display:flex;align-items:center;gap:9px;margin-top:2px}
.guide-persona-run button{border:0;border-radius:12px;padding:9px 14px;background:#6f47db;color:#fff;font:900 10px system-ui;box-shadow:0 6px 16px rgba(91,57,180,.22);cursor:pointer}
.guide-persona-run button:disabled{opacity:.58;cursor:wait}
.guide-persona-run span{font:750 9px/1.25 system-ui;color:#777080}
@media(max-width:560px){.guide-persona-run{align-items:flex-start}.guide-persona-run span{padding-top:3px}}

@media(max-width:620px){.guide-map-live{align-items:center}.guide-map-live-actions{gap:5px}.guide-map-live button{padding:9px 10px;font-size:10px}.guide-map-live .guide-pause-btn{padding-inline:9px}}

/* Desktop map workspace: Avito-like map on the left, live card rail on the right. */
.guide-desktop-toggle{display:none;position:absolute;z-index:1690;right:12px;top:12px;align-items:center;border:1px solid rgba(255,255,255,.22);background:linear-gradient(135deg,var(--brand,#6f43d6),var(--brand2,#8b5cf6));box-shadow:0 10px 26px rgba(111,67,214,.28);border-radius:999px;padding:10px 15px;font:900 11px system-ui;color:#fff;cursor:pointer;backdrop-filter:blur(12px)}
.guide-desktop-toggle b{font:inherit}
@media(min-width:821px){
  .guide-desktop-toggle{display:flex}
  .guide-map-layout{min-height:460px}
  .guide-desktop-controls-collapsed .guide-map-controlbar,
  .guide-desktop-controls-collapsed .guide-route-builder{display:none!important}
  .guide-desktop-controls-collapsed .guide-desktop-toggle{background:linear-gradient(135deg,var(--brand,#6f43d6),var(--brand2,#8b5cf6));color:#fff;border-color:rgba(255,255,255,.22)}

  /* Live mode stays desktop: top bar + map + fixed right information rail. */
  .guide-live-map .map-topbar{display:flex!important}
  .guide-live-map .guide-map-layout{position:static!important;inset:auto!important;display:grid!important;grid-template-columns:minmax(0,1fr) 390px!important;height:var(--guide-desktop-map-height,calc(100dvh - 56px))!important;min-height:460px!important;background:#fff}
  .guide-live-map .guide-map-stage{height:100%!important;min-height:460px!important}
  .guide-live-map #guideMap{height:100%!important;min-height:100%!important}
  .guide-live-map .guide-map-sheet{
    display:block!important;position:static!important;inset:auto!important;width:auto!important;height:100%!important;
    max-height:none!important;min-height:0!important;overflow:auto!important;border:0!important;border-left:1px solid var(--map-line)!important;
    border-radius:0!important;padding:13px 12px 92px!important;box-shadow:none!important;background:#fff!important;
    backdrop-filter:none!important;transform:none!important;transition:none!important;pointer-events:auto!important
  }
  .guide-live-map .guide-sheet-grabber{display:none!important}
  .guide-live-map .guide-plan-sheet,.guide-live-map .guide-nearby-sheet{display:block!important}
  .guide-live-map .guide-map-status{top:12px;z-index:1650}
  .guide-live-map .guide-map-legend{bottom:82px}
  .guide-live-map .guide-live-menu{display:none!important}
  .guide-live-map .guide-desktop-toggle{display:flex!important}
  .guide-live-map .guide-map-controlbar{display:grid!important;position:relative!important;inset:auto!important;width:auto!important;max-height:none!important;overflow:visible!important;border:0!important;border-bottom:1px solid var(--map-line)!important;border-radius:0!important;box-shadow:none!important;padding:10px 12px!important;background:#fff!important}
  .guide-live-map .guide-route-builder:not([hidden]){display:grid!important;position:relative!important;inset:auto!important;width:auto!important;max-height:none!important;overflow:visible!important;border:0!important;border-bottom:1px solid var(--map-line)!important;border-radius:0!important;box-shadow:none!important;padding:9px 12px!important;background:#fff!important}
  .guide-live-map.guide-desktop-controls-collapsed .guide-map-controlbar,
  .guide-live-map.guide-desktop-controls-collapsed .guide-route-builder{display:none!important}
}

.map-share-cta{border:1px solid rgba(111,67,214,.18);background:linear-gradient(135deg,#6f43d6,#8b5cf6);color:#fff;border-radius:999px;padding:9px 12px;font:900 10px system-ui;cursor:pointer;box-shadow:0 7px 18px rgba(111,67,214,.18)}
.guide-share-open{overflow:hidden!important}.guide-share-modal{position:fixed;z-index:5000;inset:0;display:grid;place-items:center;padding:18px}.guide-share-modal[hidden]{display:none}
.guide-share-backdrop{position:absolute;inset:0;border:0;background:rgba(18,16,26,.62);backdrop-filter:blur(5px);cursor:pointer}
.guide-share-dialog{position:relative;z-index:1;width:min(430px,calc(100vw - 28px));border:1px solid rgba(255,255,255,.26);border-radius:24px;background:#fff;padding:24px;text-align:center;box-shadow:0 30px 80px rgba(0,0,0,.28)}
.guide-share-close{position:absolute;right:12px;top:10px;width:34px;height:34px;border:0;border-radius:50%;background:#f2eff8;color:#514b59;font:800 22px/1 system-ui;cursor:pointer}
.guide-share-logo{font:950 24px/1 system-ui;letter-spacing:-.06em;color:#1d1a26}.guide-share-logo span{color:#7a55dc}.guide-share-dialog h2{margin:10px 0 7px;font-size:24px;letter-spacing:-.035em}.guide-share-dialog p{margin:0 auto 15px;max-width:350px;color:#686272;font-size:12px;line-height:1.45}
.guide-share-qr{width:min(290px,72vw);aspect-ratio:1;margin:0 auto 9px;padding:10px;border:1px solid #e7e1f3;border-radius:18px;background:#fff;box-shadow:0 8px 26px rgba(61,42,101,.08)}.guide-share-qr img{display:block;width:100%;height:100%}
.guide-share-url{display:block;font-size:12px;color:#6f43d6}.guide-share-native{margin-top:13px;width:100%;border:0;border-radius:12px;background:linear-gradient(135deg,#6f43d6,#8b5cf6);color:#fff;padding:11px 14px;font:900 11px system-ui;cursor:pointer}
@media(max-width:620px){.map-share-cta{padding:8px 10px;font-size:9px}.guide-share-dialog{padding:21px 16px 17px;border-radius:20px}.guide-share-dialog h2{font-size:21px}.guide-share-qr{width:min(260px,74vw)}}

/* Mobile guide opens map-first: brand header, map, filter overlay and a peekable nearby card. */
.guide-mobile-family-label{display:none}
@media(max-width:820px){
  body.guide-mobile-map-first{overflow:hidden!important;background:#fff}
  .guide-mobile-map-first .map-topbar{
    display:flex!important;position:fixed!important;z-index:2100!important;top:0;left:0;right:0;
    min-height:var(--guide-mobile-topbar-height,54px);padding:7px 9px!important;gap:8px!important;
    align-items:center!important;flex-wrap:nowrap!important;background:rgba(255,255,255,.98)!important;
    box-shadow:0 3px 16px rgba(30,24,43,.08)
  }
  .guide-mobile-map-first .map-topbar .map-title{display:none!important}
  .guide-mobile-map-first .map-topbar .map-list-cta{display:none!important}
  .guide-mobile-map-first .map-topbar .map-back{flex:0 0 auto;padding:7px 8px!important;font-size:11px!important}
  .guide-mobile-map-first .guide-mobile-family-label{display:block;min-width:0;flex:1;font:850 10px/1.15 system-ui;color:#6f6875;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .guide-mobile-map-first .map-top-actions{width:auto!important;display:flex!important;grid-template-columns:none!important;margin-left:auto!important;gap:6px!important;flex:0 0 auto}
  .guide-mobile-map-first .map-share-cta{padding:8px 10px!important;font-size:9px!important}

  .guide-mobile-map-first .guide-map-controlbar,
  .guide-mobile-map-first .guide-route-builder{display:none!important}
  .guide-mobile-map-first .guide-map-layout{
    display:block!important;position:fixed!important;z-index:1100!important;
    top:var(--guide-mobile-topbar-height,54px)!important;left:0!important;right:0!important;bottom:0!important;
    height:auto!important;min-height:0!important;background:#fff!important
  }
  .guide-mobile-map-first .guide-map-stage{height:100%!important;min-height:0!important}
  .guide-mobile-map-first #guideMap{height:100%!important;min-height:100%!important}
  .guide-mobile-map-first .guide-map-status{
    top:10px!important;left:10px!important;right:112px!important;transform:none!important;
    max-width:none!important;text-align:left!important;z-index:1650!important
  }
  .guide-mobile-map-first .guide-map-legend{bottom:96px!important;left:8px!important}
  .guide-mobile-map-first .guide-live-menu{
    display:block!important;position:absolute!important;z-index:1690!important;top:10px!important;right:10px!important;
    background:linear-gradient(135deg,#6f43d6,#8b5cf6)!important;color:#fff!important;border-color:rgba(255,255,255,.22)!important;
    box-shadow:0 8px 22px rgba(83,54,154,.24)!important;padding:9px 12px!important
  }
  .guide-mobile-map-first .guide-map-sheet{
    display:block!important;position:fixed!important;z-index:1760!important;left:50%!important;right:auto!important;
    bottom:0!important;top:auto!important;width:100%!important;height:auto!important;max-height:72dvh!important;min-height:0!important;
    overflow:auto!important;border:1px solid rgba(61,52,80,.13)!important;border-bottom:0!important;border-radius:20px 20px 0 0!important;
    padding:8px 9px calc(90px + env(safe-area-inset-bottom))!important;background:rgba(255,255,255,.985)!important;
    box-shadow:0 -12px 40px rgba(26,20,39,.18)!important;backdrop-filter:blur(16px);
    transform:translate(-50%,calc(100% - 84px))!important;transition:transform .22s ease!important;pointer-events:auto!important
  }
  .guide-mobile-map-first.guide-sheet-open .guide-map-sheet{transform:translate(-50%,0)!important}
  .guide-mobile-map-first .guide-sheet-grabber{display:block!important;margin:1px auto 7px!important}
  .guide-mobile-map-first:not(.guide-sheet-open) .guide-persona-wrap,
  .guide-mobile-map-first:not(.guide-sheet-open) .guide-current-card,
  .guide-mobile-map-first:not(.guide-sheet-open) .guide-plan-sheet,
  .guide-mobile-map-first:not(.guide-sheet-open) .guide-nearby-sheet{display:none!important}
  .guide-mobile-map-first:not(.guide-sheet-open) .guide-sheet-head{padding:3px 5px 7px!important}
  .guide-mobile-map-first:not(.guide-sheet-open) .guide-sheet-head strong{font-size:12px!important}
  .guide-mobile-map-first:not(.guide-sheet-open) .guide-sheet-head span{font-size:9px!important}

  .guide-mobile-map-first .guide-map-live{
    left:10px!important;right:auto!important;bottom:94px!important;transform:none!important;width:auto!important;max-width:calc(100% - 20px)!important;
    padding:6px!important;border-radius:999px!important
  }
  .guide-mobile-map-first:not(.guide-live-map) .guide-map-live>div:first-child{display:none!important}
  .guide-mobile-map-first:not(.guide-live-map) .guide-map-live .guide-pause-btn{display:none!important}
  .guide-mobile-map-first:not(.guide-live-map) .guide-map-live button{padding:9px 12px!important;font-size:9px!important}

  .guide-mobile-map-first.guide-live-controls-open .guide-map-controlbar{
    display:grid!important;position:fixed!important;z-index:1900!important;
    top:calc(var(--guide-mobile-topbar-height,54px) + 8px)!important;left:8px!important;right:8px!important;width:auto!important;
    max-height:42dvh!important;overflow:auto!important;border:1px solid rgba(60,50,85,.13)!important;border-radius:16px!important;
    box-shadow:0 16px 40px rgba(24,20,35,.22)!important;padding:9px!important;background:rgba(255,255,255,.985)!important
  }
  .guide-mobile-map-first.guide-live-controls-open .guide-route-builder:not([hidden]){
    display:grid!important;position:fixed!important;z-index:1895!important;
    top:calc(var(--guide-mobile-topbar-height,54px) + 208px)!important;left:8px!important;right:8px!important;
    max-height:40dvh!important;overflow:auto!important;border:1px solid rgba(60,50,85,.13)!important;border-radius:16px!important;
    box-shadow:0 16px 40px rgba(24,20,35,.22)!important;padding:9px!important;background:#fff!important
  }
  .guide-mobile-map-first.guide-live-controls-open .guide-map-status{display:none!important}
  .guide-mobile-map-first.guide-live-controls-open .guide-live-menu{
    position:fixed!important;z-index:1950!important;
    top:calc(var(--guide-mobile-topbar-height,54px) + 14px)!important;right:14px!important;
    white-space:nowrap!important
  }
  .guide-mobile-map-first.guide-live-controls-open .guide-map-controlbar{
    padding-top:52px!important
  }

  /* Starting the live guide keeps the same mobile map-first shell instead of hiding the brand header. */
  .guide-mobile-map-first.guide-live-map .map-topbar{display:flex!important}
  .guide-mobile-map-first.guide-live-map .guide-map-layout{
    inset:var(--guide-mobile-topbar-height,54px) 0 0 0!important;
    top:var(--guide-mobile-topbar-height,54px)!important;
    right:0!important;bottom:0!important;left:0!important;
    height:calc(100dvh - var(--guide-mobile-topbar-height,54px))!important;
    min-height:0!important
  }
  .guide-mobile-map-first.guide-live-map .guide-map-stage{height:100%!important;min-height:0!important}
  .guide-mobile-map-first.guide-live-map .guide-map-sheet{
    display:block!important;transform:translate(-50%,calc(100% - 84px))!important;pointer-events:auto!important
  }
  .guide-mobile-map-first.guide-live-map.guide-sheet-open .guide-map-sheet{transform:translate(-50%,0)!important}
  .guide-mobile-map-first.guide-live-map .guide-live-menu{display:block!important}
  .guide-mobile-map-first.guide-live-map .guide-map-live{bottom:94px!important;width:calc(100% - 20px)!important}
}

@media(max-width:820px){
  .guide-mobile-map-first.guide-live-map .guide-map-stage{
    position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important
  }
  .guide-mobile-map-first.guide-live-map #guideMap{
    position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;display:block!important
  }
  .guide-mobile-map-first.guide-live-map:not(.guide-sheet-open) .guide-nearby-sheet{
    display:block!important;max-height:58px!important;overflow:hidden!important;margin-top:4px!important;padding:7px 8px!important
  }
  .guide-mobile-map-first.guide-live-map:not(.guide-sheet-open) .guide-nearby-head{margin-bottom:4px!important}
  .guide-mobile-map-first.guide-live-map:not(.guide-sheet-open) .guide-nearby-cards{display:flex!important}
  .guide-mobile-map-first.guide-live-map:not(.guide-sheet-open) .guide-nearby-card{
    flex:0 0 150px!important;min-height:36px!important
  }
  .guide-mobile-map-first.guide-live-map:not(.guide-sheet-open) .guide-nearby-card img{display:none!important}
  .guide-mobile-map-first.guide-live-map:not(.guide-sheet-open) .guide-nearby-card div{padding:5px 7px!important}
}


.guide-preset-section-head{display:flex;justify-content:space-between;gap:10px;align-items:end;margin:2px 0 7px;padding:8px 10px;border-radius:12px;background:linear-gradient(135deg,#efe8ff,#faf8ff);border:1px solid #ded3f6}
.guide-preset-section-head b{font-size:10px;color:#5f3dba}.guide-preset-section-head span{font-size:8px;color:#7d718f;text-align:right}
.guide-preset-section-head.compact{margin-top:11px;background:#f7f7fa;border-color:#e8e6ed}.guide-preset-section-head.compact b{color:#5d5964}


/* GUIDE_MOBILE_SHEET_COLLAPSE_20260920 */
.guide-sheet-collapse{display:none}
@media(max-width:820px){
  .guide-mobile-map-first .guide-live-menu{
    display:block!important;
    position:fixed!important;
    z-index:2300!important;
    top:calc(var(--guide-mobile-topbar-height,54px) + 10px)!important;
    right:10px!important;
    opacity:1!important;
    white-space:nowrap!important
  }
  .guide-mobile-map-first.guide-live-controls-open .guide-map-controlbar{
    z-index:2200!important;
    padding-top:52px!important
  }
  .guide-mobile-map-first.guide-live-controls-open .guide-route-builder:not([hidden]){
    z-index:2190!important
  }
  .guide-mobile-map-first .guide-map-sheet{
    max-height:min(62dvh,600px)!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch
  }
  .guide-mobile-map-first.guide-sheet-open .guide-map-sheet,
  .guide-mobile-map-first.guide-live-map.guide-sheet-open .guide-map-sheet{
    max-height:min(62dvh,600px)!important
  }
  .guide-mobile-map-first .guide-sheet-grabber.guide-sheet-collapse{
    display:flex!important;
    width:66px!important;
    height:31px!important;
    margin:0 auto 6px!important;
    padding:0!important;
    border:0!important;
    border-radius:999px!important;
    background:transparent!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    cursor:pointer!important;
    color:#716a7c!important;
    box-shadow:none!important
  }
  .guide-mobile-map-first .guide-sheet-collapse span{
    display:block!important;
    width:34px!important;
    height:4px!important;
    border-radius:999px!important;
    background:#cfc9d8!important
  }
  .guide-mobile-map-first .guide-sheet-collapse b{
    display:block!important;
    font:900 17px/1 system-ui!important;
    transform:translateY(-1px)
  }
  .guide-mobile-map-first.guide-sheet-open .guide-sheet-collapse{
    background:#f7f5fa!important
  }
}
@media(min-width:821px){
  .guide-sheet-collapse{display:none!important}
}


/* GUIDE_FILTER_BELOW_FORM_20260920 */
.guide-filter-collapse{display:none}
.guide-filter-collapse[hidden],
.guide-live-menu[hidden]{display:none!important}

@media(max-width:820px){
  .guide-mobile-map-first.guide-live-controls-open .guide-live-menu{
    display:none!important
  }

  .guide-mobile-map-first.guide-live-controls-open .guide-filter-collapse:not([hidden]){
    display:block!important;
    position:fixed!important;
    z-index:2350!important;
    left:50%!important;
    right:auto!important;
    transform:translateX(-50%)!important;
    width:min(220px,calc(100vw - 24px))!important;
    margin:0!important;
    border:0!important;
    border-radius:999px!important;
    padding:11px 16px!important;
    background:linear-gradient(135deg,#6f43d6,#8b5cf6)!important;
    color:#fff!important;
    box-shadow:0 10px 28px rgba(83,54,154,.3)!important;
    font:900 11px/1 system-ui!important;
    text-align:center!important;
    cursor:pointer!important;
    -webkit-tap-highlight-color:transparent!important
  }

  .guide-mobile-map-first .guide-sheet-collapse b{
    min-width:18px!important;
    text-align:center!important;
    font:900 18px/1 system-ui!important
  }

  .guide-mobile-map-first:not(.guide-sheet-open) .guide-sheet-collapse{
    background:#f3effa!important;
    color:#6f43d6!important
  }

  .guide-mobile-map-first.guide-sheet-open .guide-sheet-collapse{
    background:#f7f5fa!important;
    color:#716a7c!important
  }
}

@media(min-width:821px){
  .guide-filter-collapse{display:none!important}
}


/* GUIDE_LISTEN_FIRST_PLAYER_20260920 */
.guide-listen-reset{
  background:#fff1f3!important;
  color:#a33b4b!important;
  border:1px solid #f0cfd5!important
}
.guide-audio-float[hidden]{display:none!important}
.guide-audio-float{
  position:fixed;
  z-index:2450;
  left:50%;
  bottom:max(82px,calc(env(safe-area-inset-bottom) + 78px));
  transform:translateX(-50%);
  width:min(560px,calc(100% - 24px));
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  gap:8px;
  align-items:center;
  padding:9px 9px 9px 12px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:16px;
  background:rgba(28,25,38,.96);
  color:#fff;
  box-shadow:0 16px 42px rgba(0,0,0,.28);
  backdrop-filter:blur(16px)
}
.guide-audio-float-copy{min-width:0;display:flex;flex-direction:column}
.guide-audio-float-copy small{font:750 8px/1.1 system-ui;color:#c8c2d2;text-transform:uppercase;letter-spacing:.04em}
.guide-audio-float-copy strong{margin-top:3px;font:900 11px/1.2 system-ui;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.guide-audio-float button{
  border:0;border-radius:10px;padding:9px 11px;
  background:#6f47db;color:#fff;font:900 10px system-ui;cursor:pointer;white-space:nowrap
}
.guide-audio-float .guide-audio-float-reset{
  width:34px;height:34px;padding:0;background:#3b3748;color:#fff;font-size:14px
}
.guide-current-copy p[hidden]{display:none!important}
.guide-persona-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible!important}
.guide-persona-tabs button{width:100%;min-width:0;white-space:nowrap;text-align:center}
.guide-persona-run{margin-top:0}
.guide-persona-run span{font-size:9px;line-height:1.35}

@media(max-width:620px){
  .guide-audio-float{
    left:8px;right:8px;bottom:max(84px,calc(env(safe-area-inset-bottom) + 80px));
    transform:none;width:auto;grid-template-columns:minmax(0,1fr) auto auto;padding:8px 8px 8px 10px
  }
  .guide-audio-float-copy strong{font-size:10px}
  .guide-audio-float button{padding:9px 10px;font-size:9px}
  .guide-persona-tabs{gap:5px!important}
  .guide-persona-tabs button{padding:8px 5px!important;font-size:8px!important}
}

@media(max-width:820px){
  .guide-mobile-map-first .guide-audio-float{
    bottom:max(154px,calc(env(safe-area-inset-bottom) + 150px))!important
  }
}


/* Layer modes: guide stories vs useful places nearby */
.guide-layer-control{position:absolute;z-index:720;left:12px;top:54px;max-width:min(620px,calc(100% - 24px));display:grid;gap:7px}
.guide-layer-mode{display:flex;gap:5px;align-items:center;padding:5px;border-radius:14px;background:rgba(255,255,255,.94);box-shadow:0 6px 22px rgba(39,31,55,.16);backdrop-filter:blur(9px)}
.guide-layer-mode button,.guide-layer-chips button{border:1px solid #ded9e7;background:#fff;color:#5a5363;border-radius:999px;font:850 10px system-ui;padding:8px 11px;cursor:pointer;white-space:nowrap}
.guide-layer-mode button.active{background:#6f47db;border-color:#6f47db;color:#fff}
.guide-layer-mode .guide-layer-filter-toggle{margin-left:auto}
.guide-layer-filter-panel{padding:9px;border-radius:14px;background:rgba(255,255,255,.97);box-shadow:0 8px 26px rgba(39,31,55,.16)}
.guide-layer-filter-group>strong{display:block;margin:0 0 6px;color:#514b59;font:900 10px system-ui}
.guide-layer-chips{display:flex;gap:5px;flex-wrap:wrap;max-height:116px;overflow:auto}
.guide-layer-chips button[aria-pressed="false"]{opacity:.5;background:#f2f0f4}
.guide-layer-chips button[aria-pressed="true"]{border-color:#bfb0e4;background:#f7f3ff;color:#5c3aae}
.guide-layer-filter-group[data-guide-filter-group="nearby"] .guide-layer-chips button[aria-pressed="true"]{border-color:#b8d8c1;background:#f2fbf4;color:#287247}

.guide-category-history{background:#6f47db!important}
.guide-category-museum{background:#2f6fd6!important}
.guide-category-park{background:#3d985b!important}
.guide-category-bridge{background:#2588a8!important}
.guide-category-industrial{background:#a34f34!important}
.guide-category-stadium{background:#d94d55!important}
.guide-category-amusement{background:#ef8a2f!important}
.guide-category-zoo{background:#2d9b8a!important}
.guide-category-playground{background:#d6a522!important}
.guide-category-shopping{background:#bd4ca3!important}
.guide-category-architecture{background:#7a6e63!important}
.guide-category-religion{background:#5967b5!important}

.guide-commercial-marker.restaurant{border-color:#d66548;background:#fff4ef}
.guide-commercial-marker.event{border-color:#d3488f;background:#fff2f8}
.guide-commercial-marker.entertainment{border-color:#ed8b2f;background:#fff8ee}
.guide-commercial-marker.excursion{border-color:#6f47db;background:#f8f4ff}
.guide-commercial-marker.shopping{border-color:#b24ca0;background:#fff3fd}
.guide-commercial-marker.place{border-color:#3d9b68;background:#f4fff7}

.guide-marker-cluster{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#fff;border:4px solid #6f47db;box-shadow:0 4px 14px rgba(45,32,71,.26);color:#5338a5;font:900 11px system-ui}
.guide-marker-cluster.nearby{border-color:#3d9b68;color:#287247}

@media(max-width:820px){
  .guide-layer-control{top:48px;left:8px;right:8px;max-width:none}
  .guide-layer-mode{overflow-x:auto}
  .guide-layer-mode button{font-size:9px;padding:7px 9px}
  .guide-layer-filter-panel{max-height:184px;overflow:auto}
  .guide-layer-chips{flex-wrap:nowrap;overflow-x:auto;max-height:none;padding-bottom:2px}
  .guide-layer-chips button{font-size:9px;padding:7px 9px}
}

.guide-route-fullscreen .guide-layer-control{display:none!important}

/* Keep accepted-route controls below the persistent mobile brand header. */
@media (max-width: 820px) {
  .guide-mobile-map-first.guide-route-fullscreen .guide-route-controls {
    top: calc(var(--guide-mobile-topbar-height, 54px) + 10px) !important;
  }
  .guide-mobile-map-first.guide-route-fullscreen #guideLiveMenu {
    display: none !important;
  }
  .guide-mobile-map-first.guide-route-fullscreen .guide-map-status {
    top: 58px !important;
  }
}


/* Unified map: compact fold-away filter and differentiated category symbols. */
.guide-layer-name{font:850 11px system-ui;color:#4d4264;padding:0 8px;white-space:nowrap}
.guide-layer-filter-panel[hidden]{display:none!important}
.guide-layer-filter-panel{max-height:min(45dvh,320px);overflow:auto}
.guide-layer-filter-group + .guide-layer-filter-group{margin-top:10px;border-top:1px solid #ece8f4;padding-top:10px}
.guide-poi-symbol{display:grid;place-items:center;width:27px;height:27px;border:2px solid #fff;border-radius:10px;box-shadow:0 3px 11px rgba(25,20,40,.27);font-size:15px;line-height:1;color:#fff}
.guide-category-monument{background:#66748e!important}
.guide-commercial-marker.museum{border-color:#2f6fd6;background:#edf3ff}
.guide-commercial-marker.park{border-color:#3d985b;background:#eefbef}
.guide-commercial-marker.playground{border-color:#d6a522;background:#fff9dc}
.guide-commercial-marker.bridge{border-color:#2588a8;background:#ebfaff}
.guide-commercial-marker.religion{border-color:#5967b5;background:#edf0ff}
.guide-commercial-marker.monument{border-color:#66748e;background:#f1f3f9}
.guide-commercial-marker.history{border-color:#6f47db;background:#f2edff}
@media(max-width:820px){.guide-layer-control{max-width:calc(100% - 16px)}.guide-layer-mode{justify-content:space-between}.guide-layer-filter-panel{max-height:min(40dvh,290px)}.guide-poi-symbol{width:27px;height:27px}}


/* One-tap category focus on the shared GUIDE map. */
.guide-layer-shortcuts{display:flex;gap:5px;align-items:center;overflow-x:auto;scrollbar-width:none;padding:5px;border-radius:13px;background:rgba(255,255,255,.95);box-shadow:0 6px 22px rgba(39,31,55,.12);max-width:100%}
.guide-layer-shortcuts::-webkit-scrollbar{display:none}
.guide-layer-shortcuts button{flex:0 0 auto;min-height:32px;border:1px solid #ded9e7;background:#fff;color:#564c67;border-radius:999px;padding:7px 10px;font:800 10px system-ui;white-space:nowrap}
.guide-layer-shortcuts button[aria-pressed="true"]{background:#6f47db;color:#fff;border-color:#6f47db}
@media(max-width:820px){.guide-layer-shortcuts{width:calc(100vw - 16px)}.guide-layer-shortcuts button{font-size:10px;padding:8px 11px}}

/* First-party detail view for GUIDE points, keeping the existing route controls. */
.guide-current-actions .guide-more-info{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 15px;border-radius:12px;background:#603cca;color:#fff;text-decoration:none;font:800 13px/1.2 system-ui;box-sizing:border-box}
.guide-current-actions .guide-more-info[hidden]{display:none!important}
@media(max-width:820px){.guide-current-actions .guide-more-info{min-height:46px;flex:1 1 100%}}
