html,body{overflow-x:hidden}
.g-main{padding:12px 14px 40px;max-width:760px}
.g-nav a{margin-left:12px}
.g-loc{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:12px;box-shadow:0 2px 8px rgba(18,34,25,.05)}
.g-locrow{display:flex;align-items:flex-start;gap:10px;justify-content:space-between}
.g-locname{display:flex;flex-direction:column;min-width:0}
.g-lbl{font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--moss)}
.g-locname strong{font-family:var(--serif);font-size:20px;color:var(--forest-800);overflow-wrap:anywhere}
.g-locsub{font-size:13px;color:var(--muted)}
.g-locmsg{margin:8px 0 0;background:var(--cream);border-left:4px solid var(--amber);padding:8px 10px;border-radius:8px;font-size:14px;font-weight:600}
.g-search{position:relative;display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.g-search input{flex:1 1 180px;min-width:0;font:inherit;font-size:16px;padding:10px 12px;border:1.5px solid var(--line);border-radius:10px}
.g-loc.none .g-search input{border-color:var(--amber);box-shadow:0 0 0 3px rgba(232,163,61,.25)}
.g-loc.none .g-locname strong{color:var(--rust)}
.g-sug{position:absolute;z-index:1000;top:46px;left:0;right:0;margin:0;padding:4px;list-style:none;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow)}
.g-sug button{display:block;width:100%;text-align:left;font:inherit;padding:9px 10px;border:0;background:none;border-radius:8px;cursor:pointer}
.g-sug button:hover,.g-sug button:focus{background:var(--cream)}
.g-sug span{color:var(--muted);font-size:13px}
.g-map{height:180px;margin-top:10px;border-radius:12px;overflow:hidden;border:1px solid var(--line);background:#dfe9e6;transition:height .2s}
.g-map.big{height:380px}
.g-loc.none .g-map{height:260px}
.g-ask h1{font-family:var(--serif);color:var(--forest-800);font-size:clamp(26px,7vw,36px);margin:20px 0 10px}
.g-modes{display:grid;gap:10px}
.g-modes button{display:grid;grid-template-columns:48px 1fr;grid-template-rows:auto auto;align-items:center;text-align:left;font:inherit;padding:14px;border-radius:16px;border:2px solid var(--line);background:#fff;cursor:pointer;color:var(--ink)}
.g-modes .ico{grid-row:1/3;font-size:30px}
.g-modes b{font-size:18px;color:var(--forest-800)}
.g-modes small{color:var(--muted);font-size:14px}
.g-modes button[aria-pressed="true"]{border-color:var(--forest-600);background:#eef4ea;box-shadow:0 0 0 3px rgba(47,93,69,.15)}
body[data-mode="now"] .g-modes,body[data-mode="day"] .g-modes,body[data-mode="trip"] .g-modes{grid-template-columns:repeat(3,1fr)}
body:not([data-mode="home"]) .g-modes button{grid-template-columns:1fr;text-align:center;padding:8px 4px}
body:not([data-mode="home"]) .g-modes .ico{grid-row:auto;font-size:22px}
body:not([data-mode="home"]) .g-modes b{font-size:13px}
body:not([data-mode="home"]) .g-modes small{display:none}
body:not([data-mode="home"]) .g-ask h1{font-size:20px;margin:16px 0 8px}
@media(min-width:700px){.g-modes{grid-template-columns:repeat(3,1fr)}.g-modes button{grid-template-columns:1fr;text-align:center}.g-modes .ico{grid-row:auto}}
.g-form{margin-top:14px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:4px 14px 14px;scroll-margin-top:10px}
.g-form h2{font-size:15px;margin:14px 0 8px;color:var(--forest-800)}
.g-chips{display:flex;flex-wrap:wrap;gap:8px}
.g-chips button{font:inherit;font-size:14px;padding:8px 12px;border-radius:999px;border:1.5px solid var(--line);background:var(--paper);cursor:pointer;color:var(--ink)}
.g-chips button[aria-pressed="true"]{background:var(--forest-700);border-color:var(--forest-700);color:var(--cream)}
.g-row{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin-top:14px}
.g-row select{font:inherit;font-size:15px;padding:8px 10px;border:1.5px solid var(--line);border-radius:10px;background:#fff}
.g-tog{display:flex;align-items:center;gap:8px;font-size:15px;margin-top:12px;font-weight:600}
.g-tog input{width:20px;height:20px}
.g-go{width:100%;margin-top:16px;font-size:17px;padding:13px}
.g-go:disabled{opacity:.5}
.g-status{margin:14px 0;font-weight:600;color:var(--forest-700)}
.g-status.err{color:var(--rust)}
.spin{display:inline-block;width:14px;height:14px;margin-right:8px;border:2px solid var(--line);border-top-color:var(--forest-600);border-radius:50%;animation:gs 1s linear infinite;vertical-align:-2px}
@keyframes gs{to{transform:rotate(360deg)}}
.g-out{scroll-margin-top:10px}
.g-h2{font-family:var(--serif);color:var(--forest-800);font-size:22px;margin:22px 0 10px}
.g-list{display:grid;gap:12px}
.g-card,.g-plan,.g-alt,.g-target{background:#fff;border:1px solid var(--line);border-left:5px solid var(--river-500);border-radius:14px;padding:12px 14px;box-shadow:0 2px 8px rgba(18,34,25,.05);min-width:0}
.dom-hunt{border-left-color:var(--amber-600)!important}
.dom-shell{border-left-color:#7a5bb0!important}
.g-top{display:flex;align-items:center;gap:8px}
.g-ico{font-size:24px}
.g-drive{font-size:13px;font-weight:700;background:var(--cream);color:var(--forest-800);padding:3px 9px;border-radius:999px}
.g-drive.est{border:1px dashed var(--amber-600)}
.g-top .tag{margin-left:auto}
.g-card h3,.g-plan h3,.g-alt h3,.g-target h3{font-family:var(--serif);font-size:20px;line-height:1.2;margin:8px 0 2px;color:var(--forest-800);overflow-wrap:anywhere}
.g-place{margin:0;font-size:13px;color:var(--muted);overflow-wrap:anywhere}
.g-why{margin:8px 0 4px;font-size:15px}
.g-when{margin:4px 0;font-size:14px;font-weight:600;color:var(--forest-700)}
.g-need{font-size:14px;margin:8px 0;padding:8px 10px;background:var(--paper);border-radius:10px}
.g-need span{display:block;margin-top:2px}
.g-need span::before{content:"✔ ";color:var(--moss)}
.g-need a{color:var(--ink)}
.g-land{font-size:13px;margin:6px 0;color:var(--ink)}
.g-rule{display:inline-block;font-weight:700;color:var(--river-700);margin:4px 0;font-size:15px}
.g-more{margin-top:6px;font-size:14px}
.g-more summary{cursor:pointer;color:var(--river-700);font-weight:600;padding:4px 0}
.g-more .t-cards{display:grid;gap:8px;margin:8px 0}
.g-more .card{box-shadow:none}
.g-more p{margin:8px 0}
.g-links a{margin-right:14px;font-weight:600}
.g-show>summary{cursor:pointer;list-style:none;text-align:center;font-weight:700;color:var(--river-700);padding:12px;border:1.5px dashed var(--line);border-radius:12px;margin-top:2px}
.g-show[open]>summary{margin-bottom:12px}
.g-empty{background:#fff;border:1px dashed var(--line);border-radius:12px;padding:14px;margin-top:16px}
.g-tip{font-size:14px;color:var(--muted)}
.g-kid{font-size:14px;background:#eef4ea;border-radius:12px;padding:10px 12px}
.g-time{list-style:none;padding:0;margin:10px 0;border-left:3px solid var(--line);padding-left:10px}
.g-time li{display:flex;gap:10px;padding:5px 0;font-size:14px}
.g-time li b{flex:none;width:66px;color:var(--forest-700)}
.g-addon{margin-top:16px;border:2px dashed var(--line);border-radius:16px;padding:10px}
.g-addon.on{border-style:solid;border-color:var(--moss);background:#f3f7ef}
.g-addhead{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;font-weight:800;color:var(--forest-800)}
.g-addhead .t-btn{font-size:14px;padding:7px 12px}
.g-swipe{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px;-webkit-overflow-scrolling:touch}
.g-alt{flex:0 0 82%;scroll-snap-align:start}
@media(min-width:700px){.g-alt{flex-basis:46%}}
.g-alt .t-btn{margin-top:6px}
.g-hint{font-size:12px;color:var(--muted);margin:2px 0 0}
.g-target{border-left-color:var(--forest-600)}
.g-rows{margin:8px 0;padding-left:18px;font-size:14px}
.g-foot{font-size:12px;color:var(--muted);margin-top:18px}
.g-all{text-align:center;margin:26px 0 10px;font-weight:700}
.g-built{font-size:12px;color:var(--muted)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* map: one compact, collapsible map; pins are labeled emoji that match the cards */
.g-mapbox .g-maphead{display:none}
.g-mapbox.res{background:#fff;border:1px solid var(--line);border-radius:14px;padding:8px;margin:0 0 12px}
.g-mapbox.res .g-maphead{display:flex;justify-content:space-between;align-items:center;gap:8px}
.g-maptitle{font-weight:700;font-size:.95rem}
.g-mapbox.res .g-map{height:200px;margin-top:6px}
.g-mapbox.res .g-map.big{height:380px}
.g-mapbox.shut .g-map,.g-mapbox.shut .g-legend{display:none}
.t-btn.sm{padding:4px 10px;font-size:.85rem;min-height:0}
.g-legend{font-size:.8rem;color:#4a5a52;margin:6px 2px 0;line-height:1.35}
.g-pinwrap{background:none;border:0}
.g-pin{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;background:#fff;border:2px solid #2a7ab0;border-radius:16px;padding:2px 8px 2px 4px;box-shadow:0 1px 4px rgba(0,0,0,.25);font:600 12px/1.2 system-ui,sans-serif;color:#173b2b;transform:translateY(-4px)}
.g-pin span{font-size:17px;line-height:1}
.g-pin.dom-hunt{border-color:#c7772b}.g-pin.dom-shell{border-color:#7a5bb0}
.g-pin.me{border-color:#173b2b;background:#173b2b;color:#fff}
.g-pin.acc{border-width:1px;border-color:#6b7f74;font-weight:500;font-size:11px;background:#fffdf7}
.g-pin.acc span{font-size:14px}
.pulse .g-pin{animation:gpulse 0.8s ease-in-out 3}
@keyframes gpulse{50%{transform:translateY(-4px) scale(1.18)}}
.g-pinbtn{order:9;margin-left:auto;flex:none;border:1px solid var(--line);background:#f4f7f5;border-radius:12px;padding:3px 8px;font-size:.8rem;cursor:pointer}
.g-hl{outline:3px solid #e8a33d;outline-offset:2px;transition:outline .3s}
.g-top:has(.tag) .g-pinbtn{margin-left:6px}

.mini .g-pin b{display:none}.mini .g-pin{padding:2px 4px}
.g-pin.me{font-size:11px;padding:2px 7px 2px 3px}.g-pin.me span{font-size:14px}
.g-mapbox.res .g-map{height:220px}

.g-drivebox{margin:16px 0 4px;padding:12px 12px 10px;border:2px solid var(--forest-600);border-radius:14px;background:#f3f7f1}
.g-drivebox h2{margin-top:0}
.g-dist button{font-size:15px;padding:10px 14px;font-weight:600}
.g-hint{font-size:13px;color:#5a6b61;margin:8px 0 0}
.g-mi{margin-top:10px;font-weight:500;font-size:14px}
.g-scope{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:14px 0 4px;padding:10px 12px;border-radius:12px;background:var(--forest-700);color:var(--cream);font-weight:700;font-size:16px}
.g-scope .g-chips{gap:6px}.g-scope .g-chips button{padding:5px 10px;font-size:13px;background:transparent;color:var(--cream);border-color:rgba(255,255,255,.5)}
.g-scope .g-chips button[aria-pressed="true"]{background:var(--cream);color:var(--forest-800);border-color:var(--cream)}
.tag.far{background:#fdf0d5;color:#7a4b00;border:1px solid #e9c46a}
.g-scope .g-home{flex-basis:100%;font-weight:500;font-size:14px;opacity:.9}
