
:root{--bg:#0b0b0c;--panel:#171719;--panel2:#202023;--border:#2a2a2e;--text:#f5f5f6;--muted:#a5a5ad;--accent:#fff;--danger:#ff6868}
*{box-sizing:border-box}html,body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}body{min-height:100vh}
button,input,textarea{font:inherit}
.topbar{position:sticky;top:0;z-index:50;padding:14px 16px;display:flex;justify-content:space-between;align-items:center;background:rgba(11,11,12,.92);backdrop-filter:blur(16px);border-bottom:1px solid var(--border)}
.brand{font-weight:950;letter-spacing:2px}.tagline{font-size:10px;color:var(--muted);margin-top:2px}.top-actions{display:flex;gap:8px}.icon-btn,.small-btn,.secondary{border:1px solid var(--border);background:var(--panel);color:white;border-radius:11px;padding:9px 11px}.small-btn{font-size:12px;font-weight:700}
main{max-width:780px;margin:auto;padding:18px 16px 110px}.screen{display:none}.screen.active{display:block}
h1{font-size:30px;margin:8px 0 6px}h2{font-size:20px;margin:0}.muted{color:var(--muted)}.tiny{font-size:12px}.status{margin:10px 0}
.hero{background:linear-gradient(145deg,#25252a,#101012);border:1px solid var(--border);border-radius:24px;padding:26px 20px;margin-bottom:26px;box-shadow:0 20px 60px rgba(0,0,0,.25)}
.hero h1{font-size:38px;line-height:1.02;margin:8px 0 12px}.hero p{color:#c3c3c9;max-width:560px}.kicker{font-size:11px;letter-spacing:1.8px;font-weight:900;color:#cfcfd4}
.primary{border:0;border-radius:14px;background:white;color:#0b0b0c;font-weight:900;padding:13px 16px;width:100%;cursor:pointer}.secondary{width:100%;font-weight:700;cursor:pointer}
.section-head{display:flex;justify-content:space-between;align-items:center;margin:20px 0 12px}.section-head p{margin:4px 0 0}.badge{font-size:11px;border:1px solid var(--border);background:var(--panel);border-radius:999px;padding:6px 9px;color:var(--muted)}
.cards{display:grid;gap:12px}.ride-card,.detail-card,.route-card,.profile-card,.form-card{border:1px solid var(--border);background:var(--panel);border-radius:19px;padding:16px}.ride-card{cursor:pointer}.ride-card .top{display:flex;justify-content:space-between;gap:12px}.ride-card h3{margin:0 0 5px}.ride-card p{font-size:13px;margin:3px 0;color:var(--muted)}.ride-card .chev{font-size:24px;color:#777}
.featured{background:linear-gradient(150deg,#1f1f22,#121214)}.meta{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}.pill{background:var(--panel2);border-radius:999px;padding:7px 9px;font-size:12px;color:#d5d5d9}
.back{border:0;background:none;color:white;padding:8px 0 14px;cursor:pointer}.route-list{padding-left:20px}.route-list li{margin:11px 0}.rsvp-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.rsvp-buttons button{border:1px solid var(--border);background:var(--panel2);color:white;border-radius:12px;padding:11px 8px}.rsvp-buttons button.selected{background:white;color:#111}.open-map{display:inline-block;margin-top:10px;text-decoration:none;text-align:center}
.upload-btn{display:block;background:white;color:#111;font-weight:900;border-radius:14px;text-align:center;padding:14px;cursor:pointer;margin:12px 0 18px}.photo-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.photo-item{border-radius:14px;overflow:hidden;background:var(--panel);aspect-ratio:1/1;border:1px solid var(--border)}.photo-item img{width:100%;height:100%;object-fit:cover}
.profile-card{text-align:center}.avatar{width:90px;height:90px;border-radius:50%;background:var(--panel2);display:grid;place-items:center;font-size:44px;margin:0 auto 12px}.stat{display:flex;justify-content:space-between;border-top:1px solid var(--border);padding:13px 0}
.form-card label{display:block;color:#c7c7cc;font-size:13px;margin:0 0 13px}.form-card input,.form-card textarea,.modal-input{width:100%;border:1px solid #35353a;background:#0e0e10;color:white;border-radius:12px;padding:12px;margin-top:6px}
.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:40;display:grid;grid-template-columns:repeat(5,1fr);background:rgba(15,15,17,.96);backdrop-filter:blur(16px);border-top:1px solid var(--border);padding:7px 6px calc(12px + env(safe-area-inset-bottom))}
.nav{border:0;background:none;color:#72727a;display:flex;flex-direction:column;align-items:center;gap:2px;font-size:18px}.nav span{font-size:10px}.nav.active{color:white}
.fab{position:fixed;right:17px;bottom:88px;z-index:42;width:48px;height:48px;border:0;border-radius:50%;background:white;color:#111;font-size:28px;box-shadow:0 8px 30px rgba(0,0,0,.4)}
.modal{position:fixed;inset:0;z-index:100;background:rgba(0,0,0,.72);display:grid;place-items:end center;padding:14px}.hidden{display:none}.modal-card{width:min(520px,100%);background:#171719;border:1px solid var(--border);border-radius:22px;padding:20px;position:relative}.modal-close{position:absolute;right:14px;top:12px;background:none;border:0;color:white;font-size:28px}.divider{text-align:center;color:#777;margin:14px 0;position:relative}.two{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
@media(min-width:700px){.cards{grid-template-columns:1fr 1fr}.photo-grid{grid-template-columns:repeat(3,1fr)}.bottom-nav{max-width:780px;left:50%;transform:translateX(-50%);border-left:1px solid var(--border);border-right:1px solid var(--border);border-radius:18px 18px 0 0}}


/* GPS Ride Tracker */
.track-cta,.tracker-card,.ride-summary{
  border:1px solid var(--border);background:linear-gradient(150deg,#1f1f22,#111113);
  border-radius:20px;padding:18px;margin:0 0 20px
}
.track-cta h2{margin:5px 0 5px}.track-cta .primary{margin-top:10px}
.tracker-mileage{text-align:center;padding:16px 0 22px}
.tracker-label{display:block;font-size:11px;letter-spacing:1.8px;font-weight:900;color:var(--muted)}
.tracker-mileage strong{display:inline-block;font-size:58px;line-height:1;font-variant-numeric:tabular-nums;margin:8px 4px}
.tracker-unit{font-size:16px;color:var(--muted);font-weight:700}
.tracker-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:12px}
.tracker-grid>div{background:#101012;border:1px solid var(--border);border-radius:13px;padding:12px}
.tracker-grid span{display:block;color:var(--muted);font-size:11px;margin-bottom:4px}
.tracker-grid strong{font-size:17px;font-variant-numeric:tabular-nums}
.tracker-status{background:#101012;border:1px solid var(--border);border-radius:12px;padding:11px;margin:12px 0;color:#d7d7dc;font-size:13px}
.tracker-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.danger-btn{border:1px solid #563333;background:#2b1515;color:#ffb4b4;border-radius:14px;font-weight:900;padding:13px 16px}
.danger-btn:disabled{opacity:.35}
.tracker-note{margin:13px 0 0;line-height:1.45}
.ride-summary h2{margin:0 0 4px}
.summary-big{font-size:36px;font-weight:950;margin:10px 0}
.summary-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:12px 0}
.summary-grid>div{background:#101012;border:1px solid var(--border);border-radius:12px;padding:10px}
.summary-grid span{display:block;font-size:10px;color:var(--muted);margin-bottom:3px}
.summary-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.summary-actions button,.summary-actions a{border:1px solid var(--border);background:var(--panel2);color:white;border-radius:12px;padding:11px;text-align:center;text-decoration:none;font-weight:700;font-size:13px}
.ride-history-card .history-stats{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.ride-history-card .history-stats span{font-size:11px;background:#242428;padding:6px 8px;border-radius:999px;color:#d2d2d7}
@media(min-width:700px){.tracker-grid{grid-template-columns:repeat(3,1fr)}}


/* Glide Life v1.1 enhancements */
.hotspot-head{margin-top:30px}.hotspot-card{cursor:default}.hotspot-note{color:var(--muted);font-size:13px;line-height:1.45}.hotspot-actions{margin-top:12px}.hotspot-map{display:block;text-align:center;text-decoration:none}
.suggested-stops{display:grid;gap:8px;margin-top:10px}.suggested-stop{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#101012;border:1px solid var(--border);border-radius:12px;padding:11px 12px;color:white;text-decoration:none}.suggested-stop span{font-size:11px;color:var(--muted)}
.rsvp-roster{margin-top:14px;border-top:1px solid var(--border);padding-top:14px}.roster-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.roster-summary>div{background:#101012;border:1px solid var(--border);border-radius:12px;padding:10px;text-align:center}.roster-summary strong{display:block;font-size:22px}.roster-summary span{font-size:10px;color:var(--muted)}.roster-names{margin-top:12px}.roster-names strong{font-size:12px}.roster-names p{margin:5px 0 0;color:var(--muted);font-size:12px;line-height:1.5}
.recap-actions{grid-template-columns:1fr 1fr}.history-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:11px}.history-actions button{border:1px solid var(--border);background:#101012;color:white;border-radius:10px;padding:9px;font-weight:700;font-size:12px}


/* Glide Life v1.2 pre-planned rides */
.preplanned-wrap{margin-bottom:30px}
.meetup-picker{display:block;color:#c7c7cc;font-size:13px;margin:0 0 14px}
.meetup-picker select{width:100%;margin-top:7px;border:1px solid #35353a;background:#101012;color:white;border-radius:12px;padding:12px}
.preplanned-card{cursor:default}
.preplanned-tag{display:inline-block;font-size:10px;letter-spacing:.7px;text-transform:uppercase;color:#b8b8c0;margin-bottom:6px}
.preplanned-note{line-height:1.45}
.preplanned-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.preplanned-actions a{display:flex;align-items:center;justify-content:center;text-decoration:none}
@media(max-width:520px){.preplanned-actions{grid-template-columns:1fr}}


/* v1.2.1 visibility + Glide Life Picks emphasis */
.glide-picks-badge{
  font-size:14px;
  font-weight:800;
  padding:10px 14px;
  letter-spacing:.4px;
  border-radius:999px;
  transform-origin:center;
  animation:glidePicksPulse 1.8s ease-in-out infinite;
}
@keyframes glidePicksPulse{
  0%,100%{transform:scale(1);box-shadow:0 0 0 0 rgba(255,255,255,.10)}
  50%{transform:scale(1.08);box-shadow:0 0 0 7px rgba(255,255,255,0)}
}
@media (prefers-reduced-motion: reduce){
  .glide-picks-badge{animation:none}
}


/* Glide Life v1.2.2 - meetup feedback + clickable picks */
.glide-picks-badge{
  appearance:none;
  border:2px solid #f4c542;
  background:linear-gradient(180deg,#2a240b,#171509);
  color:#ffe57a;
  font-size:18px;
  font-weight:900;
  padding:14px 20px;
  letter-spacing:.8px;
  border-radius:16px;
  cursor:pointer;
  min-width:220px;
  text-align:center;
  animation:glidePicksFlash 1.15s ease-in-out infinite;
  box-shadow:0 0 0 0 rgba(244,197,66,.45);
}
.glide-picks-badge:hover,
.glide-picks-badge:focus-visible{
  transform:scale(1.08);
  outline:none;
  box-shadow:0 0 24px rgba(244,197,66,.55);
}
@keyframes glidePicksFlash{
  0%,100%{transform:scale(1);filter:brightness(1);box-shadow:0 0 0 0 rgba(244,197,66,.30)}
  50%{transform:scale(1.06);filter:brightness(1.45);box-shadow:0 0 24px 5px rgba(244,197,66,.28)}
}
.meetup-status{
  margin:10px 0 16px;
  padding:11px 13px;
  border:1px solid #35353a;
  border-radius:12px;
  background:#151517;
  color:#d6d6dc;
  font-size:14px;
}
.preplanned-attention .preplanned-card{
  animation:rideCardAttention .55s ease-in-out 2;
}
@keyframes rideCardAttention{
  0%,100%{transform:translateY(0);box-shadow:none}
  50%{transform:translateY(-3px);box-shadow:0 0 0 2px rgba(244,197,66,.30)}
}
@media (prefers-reduced-motion: reduce){
  .glide-picks-badge,.preplanned-attention .preplanned-card{animation:none}
}


/* Glide Life v1.2.3 - robust preplanned UI */
.preplanned-hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:14px;
}
.glide-picks-badge{
  appearance:none!important;
  border:3px solid #ffd84d!important;
  background:#2b2200!important;
  color:#fff0a8!important;
  font-size:20px!important;
  font-weight:950!important;
  padding:16px 24px!important;
  min-width:275px!important;
  border-radius:18px!important;
  cursor:pointer!important;
  text-transform:uppercase;
  letter-spacing:.8px;
  animation:glideGoldPulse 1.05s ease-in-out infinite!important;
  box-shadow:0 0 16px rgba(255,216,77,.42)!important;
}
@keyframes glideGoldPulse{
  0%,100%{transform:scale(1);box-shadow:0 0 10px rgba(255,216,77,.35)}
  50%{transform:scale(1.07);box-shadow:0 0 28px rgba(255,216,77,.78)}
}
.preplanned-panel{display:block}
.preplanned-panel.collapsed{display:none}
.meetup-status{
  display:block!important;
  margin:10px 0 18px!important;
  padding:12px 14px!important;
  border:1px solid #4b4b50!important;
  border-radius:12px!important;
  background:#161619!important;
  color:#f0f0f4!important;
}
@media(max-width:700px){
  .preplanned-hero{align-items:flex-start;flex-direction:column}
  .glide-picks-badge{width:100%;min-width:0!important}
}


/* Glide Life v1.2.4 - clean dropdown pre-planned rides */
.clean-preplanned{margin-bottom:34px}
.preplanned-title-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px}
.glide-picks-label{font-size:15px;font-weight:900;letter-spacing:.8px;padding:10px 14px;border-radius:999px;border:1px solid #4a4225;background:#1a180f;color:#ffe27a;box-shadow:0 0 16px rgba(255,216,77,.18)}
.preplanned-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}
.preplanned-controls label{font-size:13px;color:#c9c9cf}
.preplanned-controls select{width:100%;margin-top:7px;padding:12px 13px;border-radius:12px;border:1px solid #36363b;background:#151517;color:#fff;font-size:14px}
.selected-ride-card{display:grid;grid-template-columns:210px 1fr;overflow:hidden;border:1px solid #34343a;border-radius:20px;background:#171719;min-height:230px}
.ride-visual{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:230px;background:radial-gradient(circle at 30% 20%,#3a3a3f 0,#222226 38%,#121214 100%);border-right:1px solid #34343a}
.ride-visual-icon{font-size:72px;filter:drop-shadow(0 8px 16px rgba(0,0,0,.35))}
.ride-visual-label{font-size:12px;letter-spacing:1px;text-transform:uppercase;color:#cfcfd5}
.selected-ride-body{padding:22px}
.selected-ride-body h3{font-size:25px;margin:4px 0 12px}
.selected-route-line{display:flex;flex-wrap:wrap;gap:9px;align-items:center;color:#ddd;margin-bottom:13px}
.route-stops{margin:12px 0;color:#c7c7cc;font-size:13px;line-height:1.45}
.selected-ride-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}
.selected-ride-actions a{display:flex;align-items:center;justify-content:center;text-decoration:none}
@media(max-width:720px){
  .preplanned-title-row{align-items:flex-start;flex-direction:column}
  .preplanned-controls{grid-template-columns:1fr}
  .selected-ride-card{grid-template-columns:1fr}
  .ride-visual{min-height:150px;border-right:none;border-bottom:1px solid #34343a}
  .selected-ride-actions{grid-template-columns:1fr}
}


/* Glide Life v1.2.5 - final preplanned ride selector */
.clean-preplanned{
  margin-bottom:36px;
  padding:18px;
  border:1px solid #303036;
  border-radius:20px;
  background:linear-gradient(180deg,#151517,#101012);
}
.preplanned-title-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
}
.glide-picks-label{
  flex:0 0 auto;
  font-size:13px;
  font-weight:900;
  letter-spacing:1.2px;
  color:#ffe27a;
  border:1px solid #5b4e20;
  background:#221e0b;
  padding:9px 13px;
  border-radius:999px;
}
.preplanned-controls{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-bottom:16px;
}
.preplanned-controls label{
  color:#c9c9cf;
  font-size:13px;
  font-weight:700;
}
.preplanned-controls select{
  width:100%;
  margin-top:7px;
  padding:13px 42px 13px 13px;
  border:1px solid #3b3b41;
  border-radius:13px;
  background:#1a1a1d;
  color:white;
  font-size:15px;
  cursor:pointer;
}
.selected-ride-card{
  display:grid;
  grid-template-columns:minmax(250px,42%) 1fr;
  border:1px solid #38383e;
  border-radius:20px;
  overflow:hidden;
  background:#171719;
  min-height:300px;
}
.ride-photo-wrap{
  position:relative;
  min-height:300px;
  overflow:hidden;
  background:linear-gradient(135deg,#26262b,#0f0f11);
}
.ride-photo{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:none;
}
.ride-photo-fallback{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:96px;
  background:
    radial-gradient(circle at 30% 20%,rgba(255,255,255,.10),transparent 30%),
    linear-gradient(145deg,#303036,#111114);
}
.ride-photo-shade{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 45%,rgba(0,0,0,.82));
}
.ride-photo-title{
  position:absolute;
  left:18px;
  right:18px;
  bottom:17px;
  z-index:2;
  color:white;
  font-size:22px;
  font-weight:900;
  text-shadow:0 2px 10px rgba(0,0,0,.8);
}
.selected-ride-body{
  padding:24px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.selected-ride-body h3{
  font-size:27px;
  margin:5px 0 13px;
}
.selected-route-line{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:9px;
  margin:0 0 14px;
  color:#ececf1;
}
.route-stops{
  margin:12px 0 2px;
  line-height:1.5;
  color:#c9c9cf;
}
.photo-credit{
  min-height:17px;
  font-size:10px;
  color:#85858c;
  margin-top:4px;
}
.selected-ride-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:16px;
}
.selected-ride-actions a,
.selected-ride-actions button{
  min-height:46px;
}
.selected-ride-actions a{
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}
@media(max-width:760px){
  .preplanned-title-row{align-items:flex-start;flex-direction:column}
  .preplanned-controls{grid-template-columns:1fr}
  .selected-ride-card{grid-template-columns:1fr}
  .ride-photo-wrap{min-height:230px}
  .selected-ride-actions{grid-template-columns:1fr}
}


/* Glide Life v1.2.6 - blue ride planner */
:root{
  --gl-blue:#1d9cff;
  --gl-blue-2:#0a67c9;
  --gl-navy:#071521;
  --gl-panel:#0c1823;
}
#rides{
  max-width:1100px;
  margin:0 auto;
}
.rides-brand-hero{
  min-height:150px;
  margin:-8px 0 20px;
  border:1px solid #173957;
  border-radius:20px;
  overflow:hidden;
  background:
    linear-gradient(90deg,rgba(3,12,20,.96) 0%,rgba(3,12,20,.82) 37%,rgba(3,12,20,.18) 72%,rgba(3,12,20,.08)),
    url("ride-hero-sunset.jpg?v=127") center right/cover no-repeat;
  display:flex;
  align-items:center;
  padding:24px 28px;
  box-shadow:0 12px 30px rgba(0,0,0,.28);
}
.rides-brand-copy{max-width:510px}
.rides-brand-name{
  font-size:42px;
  line-height:.95;
  font-weight:950;
  letter-spacing:1px;
  color:#fff;
}
.rides-brand-site{
  margin-top:9px;
  font-size:14px;
  font-weight:900;
  letter-spacing:5px;
  color:#55b8ff;
}
.rides-brand-tag{
  margin-top:8px;
  font-size:11px;
  letter-spacing:2px;
  color:#d6e6f4;
}
.rides-page-title h1{font-size:38px}
.clean-preplanned{
  border-color:#17598d!important;
  background:linear-gradient(180deg,#081522,#07111b)!important;
  box-shadow:0 0 0 1px rgba(29,156,255,.07),0 18px 38px rgba(0,0,0,.24);
}
.glide-picks-label{
  color:#8ad0ff!important;
  background:#09233a!important;
  border-color:#185c8d!important;
}
.preplanned-controls-3{
  grid-template-columns:1fr 1fr 1.2fr!important;
}
.preplanned-controls select{
  background:#081723!important;
  border-color:#265776!important;
}
.preplanned-controls select:focus{
  outline:2px solid rgba(29,156,255,.35);
  border-color:#1d9cff!important;
}
.selected-ride-card{
  border-color:#176dab!important;
  background:#091722!important;
  box-shadow:0 0 24px rgba(29,156,255,.08);
}
.selected-ride-body h3{color:white}
.preplanned-tag{color:#73c7ff!important}
.route-smart-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin:10px 0 12px;
}
.route-smart-item{
  display:flex;
  align-items:center;
  gap:10px;
  padding:11px 12px;
  border:1px solid #1f4662;
  background:#07131d;
  border-radius:12px;
}
.route-smart-icon{font-size:22px}
.route-smart-item small{
  display:block;
  color:#76bfee;
  font-size:10px;
  letter-spacing:.8px;
  margin-bottom:2px;
}
.route-smart-item strong{
  display:block;
  color:#f4f8fb;
  font-size:13px;
}
.trip-line{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:7px;
  margin:10px 0 14px;
  padding:11px 12px;
  border-radius:12px;
  background:#06111a;
  border:1px solid #173d57;
  color:#dcecf8;
  font-size:12px;
}
.selected-ride-actions .primary{
  background:linear-gradient(180deg,#199cff,#0876dc)!important;
  border-color:#2ba6ff!important;
  color:#fff!important;
}
.selected-ride-actions .secondary{
  border-color:#1d9cff!important;
  color:#a8dcff!important;
}
@media(max-width:880px){
  .preplanned-controls-3{grid-template-columns:1fr!important}
}
@media(max-width:600px){
  .rides-brand-hero{min-height:125px;padding:18px}
  .rides-brand-name{font-size:32px}
  .rides-brand-site{font-size:11px;letter-spacing:3px}
  .route-smart-grid{grid-template-columns:1fr}
}

.build-marker{
  position:fixed;
  right:8px;
  bottom:74px;
  z-index:5;
  font-size:9px;
  color:#47718f;
  opacity:.45;
  pointer-events:none;
}


/* Glide Life v1.3.1 — opening experience */
#home{max-width:1180px;margin:0 auto}
.home-hero-v131{position:relative;min-height:430px;border:1px solid #16496c;border-radius:26px;overflow:hidden;margin:6px 0 28px;background:linear-gradient(90deg,rgba(3,10,17,.97) 0%,rgba(3,10,17,.88) 42%,rgba(3,10,17,.28) 72%,rgba(3,10,17,.08)),linear-gradient(0deg,rgba(0,95,170,.10),rgba(0,95,170,.10)),url("ride-hero-sunset.jpg") center right/cover no-repeat;box-shadow:0 22px 55px rgba(0,0,0,.34),0 0 40px rgba(20,141,220,.08)}
.home-hero-overlay{min-height:430px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:42px 48px;max-width:700px}
.home-eyebrow{color:#6cc7ff;font-weight:900;font-size:12px;letter-spacing:2.3px;margin-bottom:15px}
.home-hero-v131 h1{margin:0;max-width:650px;font-size:clamp(46px,7vw,82px);line-height:.96;letter-spacing:-2.5px;color:white}
.home-hero-v131 p{max-width:620px;margin:20px 0 24px;color:#d6e5ef;font-size:18px;line-height:1.55}
.home-hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.home-hero-primary,.home-hero-secondary{min-width:150px}
.home-hero-secondary{background:rgba(8,24,36,.86)!important;border-color:#238ed2!important;color:#bfe7ff!important}
.home-hero-site{margin-top:28px;color:#4fbaff;letter-spacing:4px;font-size:11px;font-weight:900}
.home-intro-row{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 16px}
.home-intro-row h2{font-size:30px;margin:6px 0}.home-intro-row p{max-width:680px;margin:0}
.feature-showcase{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:36px}
.feature-showcase-card{position:relative;min-height:350px;padding:20px;border:1px solid #214a65;border-radius:20px;background:radial-gradient(circle at 80% 0%,rgba(31,154,232,.13),transparent 32%),linear-gradient(180deg,#0b1822,#08121b);box-shadow:0 12px 26px rgba(0,0,0,.18);overflow:hidden}
.feature-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.feature-number{color:#4b82a4;font-size:12px;font-weight:900;letter-spacing:2px}
.feature-status{border-radius:999px;padding:5px 8px;font-size:9px;font-weight:900;letter-spacing:1px}
.feature-status.live{color:#7bd0ff;background:#082840;border:1px solid #1d6b9d}.feature-status.next{color:#a9bdd0;background:#15212a;border:1px solid #314656}
.feature-showcase-card h3{margin:0 0 9px;color:white;font-size:25px}.feature-showcase-card>p{min-height:66px;color:#aebfcb;line-height:1.5;margin:0 0 15px}
.feature-mini{height:128px;border-radius:15px;border:1px solid #1f4862;background:#06111a;margin:8px 0 17px;overflow:hidden;position:relative}
.feature-link{width:100%;min-height:42px;border:1px solid #247fb8!important;border-radius:12px!important;color:#aadaf7!important;background:#091a25!important}
.feature-mini-route{display:flex;align-items:center;justify-content:center}.mini-route-line{position:absolute;width:68%;height:3px;background:linear-gradient(90deg,#148ee0,#7bd0ff);transform:rotate(-9deg);border-radius:8px}
.mini-pin{position:absolute;color:#68c9ff;font-size:18px}.mini-pin.p1{left:16%;bottom:32%}.mini-pin.p2{left:49%;top:30%}.mini-pin.p3{right:16%;top:43%}
.mini-route-caption{position:absolute;left:12px;right:12px;bottom:10px;color:#7897ab;font-size:10px;text-align:center}
.feature-mini-stats{display:grid;grid-template-columns:repeat(3,1fr);align-items:center;text-align:center}.feature-mini-stats div{border-right:1px solid #16384d}.feature-mini-stats div:last-child{border-right:0}
.feature-mini-stats small{display:block;color:#6496b5;font-size:9px;letter-spacing:1px}.feature-mini-stats strong{display:block;color:#fff;font-size:22px;margin-top:6px}
.feature-mini-map{display:flex;align-items:center;justify-content:space-around;padding:0 22px;font-size:25px}
.feature-mini-crew{display:flex;align-items:center;padding:0 16px}.crew-avatar{width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-right:-7px;border:2px solid #0b1b27;background:#15537b;color:white;font-weight:900}
.crew-chat{margin-left:22px;padding:9px 11px;border-radius:12px;background:#0c2b40;color:#a9dfff;font-size:11px}
.feature-mini-story{background:linear-gradient(155deg,#0a2334,#050b10)}.story-road{position:absolute;width:90%;height:5px;background:linear-gradient(90deg,#1a83cb,#66caff);left:5%;top:61%;transform:rotate(-13deg);border-radius:50%}
.story-photo{position:absolute;left:19%;top:22%;font-size:25px}.story-play{position:absolute;right:18%;top:38%;font-size:26px;color:white}
.feature-mini-journal{display:flex;align-items:center;gap:13px;padding:15px}.journal-thumb{width:78px;height:78px;border-radius:13px;background:#102d40;display:flex;align-items:center;justify-content:center;font-size:35px}
.feature-mini-journal strong{display:block;color:#fff;margin-bottom:6px}.feature-mini-journal small{color:#7897ab}.future-card{border-color:#233b4c}.home-next-head{margin-top:6px}
@media(max-width:900px){.feature-showcase{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.home-hero-v131,.home-hero-overlay{min-height:390px}.home-hero-overlay{padding:30px 22px}.home-hero-v131 h1{font-size:48px}.home-hero-v131 p{font-size:15px}.home-intro-row{align-items:flex-start;flex-direction:column}.feature-showcase{grid-template-columns:1fr}.feature-showcase-card{min-height:330px}}


/* Glide Life v1.3.2 */
.home-nav-prominent{
  background:linear-gradient(180deg,#1399eb,#0878bd)!important;
  color:#fff!important;
  border:1px solid #75d2ff!important;
  box-shadow:0 0 0 2px rgba(45,171,239,.12),0 0 22px rgba(32,155,225,.32)!important;
  font-weight:900!important;
}
.hotspot-name-link{
  color:#fff;
  text-decoration:none;
  border-bottom:1px dashed #279bdc;
}
.hotspot-name-link:hover{color:#76d0ff}
.ride-name-link{
  appearance:none;
  border:0;
  padding:0;
  margin:0;
  background:transparent;
  color:#fff;
  font:inherit;
  font-weight:inherit;
  text-align:left;
  cursor:pointer;
  border-bottom:1px dashed #279bdc;
}
.ride-name-link:hover{color:#76d0ff}
.chat-modal-card{max-width:560px}
.chat-empty-state{
  padding:34px 20px 28px;
  text-align:center;
  border:1px solid #1d5578;
  border-radius:18px;
  background:linear-gradient(180deg,#0a1822,#071018);
}
.chat-icon{font-size:42px;margin-bottom:8px}
.chat-empty-state h3{margin:6px 0 10px;color:#fff}
.chat-empty-state p{max-width:430px;margin:0 auto;color:#a9bdca;line-height:1.55}


/* Glide Life v1.3.3 — rider chat + stronger Home */
.bottom-nav .nav[data-nav="home"]{
  color:#7dd4ff!important;
  background:linear-gradient(180deg,rgba(21,139,207,.22),rgba(10,60,90,.18))!important;
  border-top:2px solid #28a9ef!important;
  text-shadow:0 0 12px rgba(57,181,255,.35);
  font-weight:900!important;
}
.bottom-nav .nav[data-nav="home"].active{
  color:#fff!important;
  background:linear-gradient(180deg,#1197e5,#0874b5)!important;
  box-shadow:0 -3px 22px rgba(28,158,231,.25)!important;
}
.profile-avatar-btn{
  width:92px;height:92px;border-radius:50%;padding:0;margin:0 auto 12px;
  display:flex;align-items:center;justify-content:center;overflow:hidden;
  border:2px solid #2ba9ee;background:#0b2333;cursor:pointer;
  box-shadow:0 0 24px rgba(33,160,230,.16);
}
.profile-avatar-img{width:100%;height:100%;object-fit:cover}
.profile-avatar-fallback{font-size:38px;color:#fff;font-weight:900}
.real-chat-card{max-width:920px;width:min(94vw,920px);padding-bottom:18px}
.chat-layout{display:grid;grid-template-columns:280px 1fr;gap:14px;min-height:500px}
.chat-riders-panel,.chat-conversation-panel{
  border:1px solid #1b4d6b;border-radius:16px;background:#06111a;overflow:hidden
}
.chat-panel-title{padding:15px 16px;border-bottom:1px solid #183a50;color:#77cfff;font-weight:900;letter-spacing:.4px}
.chat-rider-list{max-height:460px;overflow:auto}
.chat-rider-row{
  width:100%;display:grid;grid-template-columns:44px 1fr 18px;gap:10px;align-items:center;
  padding:12px;border:0;border-bottom:1px solid #122d3e;background:transparent;color:#fff;
  text-align:left;cursor:pointer
}
.chat-rider-row:hover{background:#0b2536}
.chat-rider-photo,.chat-rider-initial{
  width:42px;height:42px;border-radius:50%;object-fit:cover;border:1px solid #2d9edb
}
.chat-rider-initial{display:flex;align-items:center;justify-content:center;background:#135579;font-weight:900}
.chat-rider-copy strong{display:block;color:#fff;text-decoration:underline;text-decoration-color:#2e9dd8;text-underline-offset:3px}
.chat-rider-copy small{display:block;color:#7895a8;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chat-row-arrow{color:#5bbdf1;font-size:24px}
#chatRiderStatus{padding:10px 12px}
.chat-conversation-panel{display:flex;flex-direction:column}
.chat-with{padding:10px 14px;border-bottom:1px solid #183a50}
.chat-with-profile{display:flex;gap:10px;align-items:center;border:0;background:transparent;color:#fff;cursor:pointer;text-align:left}
.chat-with-profile strong{display:block;text-decoration:underline;text-decoration-color:#2e9dd8;text-underline-offset:3px}
.chat-with-profile small{display:block;color:#7895a8;margin-top:2px}
.chat-with-avatar{
  width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:#15577d;border:1px solid #2fa7e5;font-weight:900;overflow:hidden
}
.chat-with-avatar img{width:100%;height:100%;object-fit:cover}
.chat-messages{height:355px;overflow:auto;padding:16px;background:linear-gradient(180deg,#07131d,#050c12)}
.chat-bubble-row{display:flex;margin:7px 0}.chat-bubble-row.mine{justify-content:flex-end}.chat-bubble-row.theirs{justify-content:flex-start}
.chat-bubble{max-width:78%;padding:10px 12px;border-radius:14px;background:#153448;color:#e9f7ff;white-space:pre-wrap;word-break:break-word}
.chat-bubble-row.mine .chat-bubble{background:#0d79ba;color:#fff}
.chat-first-message{height:100%;display:flex;align-items:center;justify-content:center;color:#7896aa}
.chat-compose{display:grid;grid-template-columns:1fr auto;gap:8px;padding:12px;border-top:1px solid #183a50}
.chat-compose input{
  min-width:0;border:1px solid #245879;border-radius:12px;background:#07141d;color:#fff;padding:12px 13px
}
.chat-empty-state.compact{margin:auto;border:0;background:transparent}
@media(max-width:720px){
  .real-chat-card{width:96vw}
  .chat-layout{grid-template-columns:1fr;min-height:0}
  .chat-riders-panel{max-height:210px}
  .chat-rider-list{max-height:160px}
  .chat-messages{height:300px}
}

/* Glide Life v1.3.4 — Profile customization */
.profile-cover-wrap{margin-bottom:18px;border:1px solid #1b4b69;border-radius:22px;overflow:hidden;background:#08131c}.profile-cover{position:relative;min-height:230px;background-position:center!important;background-size:cover!important}.profile-cover-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.55));pointer-events:none}.profile-main-card{position:relative;display:flex;align-items:flex-end;gap:20px;padding:0 24px 22px;margin-top:-54px;z-index:2}.profile-avatar-stack{display:flex;flex-direction:column;align-items:center;gap:8px}.profile-avatar-large{width:112px!important;height:112px!important;border:4px solid #08131c!important;box-shadow:0 0 0 2px #2aa9ed,0 8px 28px rgba(0,0,0,.35)!important;background:#0b2130!important}.profile-photo-action{border:1px solid #2b96cf;border-radius:999px;background:#091b27;color:#bfeaff;font-size:11px;font-weight:900;padding:8px 12px;cursor:pointer}.cover-action{position:absolute;right:16px;top:16px;z-index:3;background:rgba(3,14,22,.80)}.avatar-action{white-space:nowrap}.profile-identity{padding-bottom:8px}.profile-identity h2{margin:0 0 4px;font-size:30px}.profile-badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.profile-badge{font-size:9px;font-weight:900;letter-spacing:1px;padding:5px 8px;border-radius:999px;border:1px solid #258fca;background:#082940;color:#7bd3ff}.secondary-badge{border-color:#40586a;background:#111d26;color:#b5c4ce}.profile-grid-v134{display:grid;grid-template-columns:1.25fr .75fr;gap:14px;margin-bottom:14px}.profile-panel{border:1px solid #1c4a66;border-radius:18px;background:linear-gradient(180deg,#0a1822,#071119);padding:18px}.compact-head{margin:0 0 12px}.profile-field-label{display:block;color:#7594a7;font-size:10px;font-weight:900;letter-spacing:1px;margin-bottom:6px}.profile-bio{width:100%;min-height:92px;resize:vertical;border:1px solid #224f6d;border-radius:12px;background:#07131c;color:#eaf8ff;padding:11px 12px;box-sizing:border-box}.profile-meta-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.profile-meta-grid div{border:1px solid #173b52;border-radius:12px;background:#06111a;padding:10px}.profile-meta-grid span{display:block;color:#6f92a8;font-size:9px;letter-spacing:.8px;margin-bottom:4px}.profile-meta-grid strong{color:#fff}.profile-edit-fields{display:grid;gap:9px;margin-top:12px}.profile-edit-fields input,.profile-edit-fields select,.garage-fields input{width:100%;box-sizing:border-box;border:1px solid #245879;border-radius:11px;background:#07141d;color:#fff;padding:11px 12px}.profile-edit-actions{display:flex;gap:8px}.garage-photo{min-height:190px;border:1px solid #214c67;border-radius:14px;background:#06111a;display:flex;align-items:center;justify-content:center;overflow:hidden;margin-bottom:10px}.garage-photo img{width:100%;height:210px;object-fit:cover}#garagePhotoFallback{font-size:54px}.garage-photo-btn{width:100%;margin-bottom:10px}.garage-fields{display:grid;gap:8px}.profile-save-status{min-height:18px;margin:8px 2px 14px}.error-text{color:#ff9a9a!important}@media(max-width:760px){.profile-main-card{align-items:center;flex-direction:column;text-align:center;margin-top:-60px}.profile-grid-v134{grid-template-columns:1fr}.profile-cover{min-height:200px}.profile-identity{padding-bottom:0}}


/* Glide Life v1.3.5 — profile control reliability */
.profile-photo-action,
.garage-photo-btn,
.clickable-label,
#editProfileBtn,
#saveProfileBtn,
#cancelProfileEditBtn,
#saveGarageBtn,
#profileSignInBtn{
  pointer-events:auto!important;
  cursor:pointer!important;
  position:relative;
  z-index:6;
}
.clickable-label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  user-select:none;
}
.profile-cover-overlay{pointer-events:none!important}
.profile-panel{position:relative;z-index:2}
.profile-edit-fields{display:grid!important}
.profile-signin-btn{margin-top:10px}
#profileBio{pointer-events:auto!important}
#profileHomeAreaInput,
#profileRideStyleInput,
#garageBikeName,
#garageBikeDetails{pointer-events:auto!important}


/* Glide Life v1.3.6 — direct profile editing + reliable saves */
.profile-direct-input{
  width:100%;
  box-sizing:border-box;
  border:1px solid #245879;
  border-radius:11px;
  background:#07141d;
  color:#fff;
  padding:12px 13px;
  pointer-events:auto!important;
}
.profile-field-spacer{margin-top:14px!important}
.always-visible-actions{
  display:flex!important;
  gap:8px;
  margin-top:14px;
}
#saveProfileBtn,
#resetProfileBtn,
#saveGarageBtn{
  min-height:44px;
  pointer-events:auto!important;
  cursor:pointer!important;
  z-index:20!important;
}
#profilePhotoInput,
#coverPhotoInput,
#garagePhotoInput{
  position:absolute!important;
  width:1px!important;height:1px!important;
  opacity:0!important;
  pointer-events:none!important;
}


/* Glide Life v1.3.7 — tested profile controls */
.profile-cloud-state{
  font-size:11px;
  color:#8fa7b6;
  border:1px solid #29485c;
  border-radius:999px;
  padding:5px 9px;
  white-space:nowrap;
}
.profile-cloud-state.online{
  color:#8ee0ff;
  border-color:#238ec9;
  background:#08263a;
}
.profile-badges{gap:10px!important}
.profile-direct-input,
#profileBio,
#garageBikeName,
#garageBikeDetails,
#profileRideStyleInput,
#profileHomeAreaInput{
  position:relative!important;
  z-index:20!important;
  pointer-events:auto!important;
  cursor:text;
}
#profileRideStyleInput{cursor:pointer}
#saveProfileBtn,
#saveGarageBtn,
#resetProfileBtn,
#profileSignInBtn,
.profile-photo-action,
.garage-photo-btn,
.clickable-label{
  position:relative!important;
  z-index:30!important;
  pointer-events:auto!important;
  cursor:pointer!important;
}
#saveProfileBtn:disabled,#saveGarageBtn:disabled{opacity:.65}
.profile-photo-action:hover,
.garage-photo-btn:hover,
#saveProfileBtn:hover,
#saveGarageBtn:hover{
  filter:brightness(1.12);
}
.profile-save-status{
  display:block!important;
  min-height:22px!important;
  font-weight:800;
  padding:4px 2px;
}

.profile-auth-state{margin-top:7px;font-size:11px;color:#91a7b5}.profile-auth-state.online{color:#78d5ff;font-weight:800}

.profile-auth-state{margin-top:7px;font-size:11px;color:#91a7b5}.profile-auth-state.online{color:#78d5ff;font-weight:800}
.profile-cloud-state{font-size:11px;color:#91a7b5;border:1px solid #29485c;border-radius:999px;padding:5px 9px;white-space:nowrap}.profile-cloud-state.online{color:#8ee0ff;border-color:#238ec9;background:#08263a}
#profileBio,#profileHomeAreaInput,#profileRideStyleInput,#garageBikeName,#garageBikeDetails,#saveProfileBtn,#resetProfileBtn,#saveGarageBtn,.profile-photo-action,.garage-photo-btn,.clickable-label{pointer-events:auto!important;position:relative!important;z-index:50!important}
#saveProfileBtn,#resetProfileBtn,#saveGarageBtn,.profile-photo-action,.garage-photo-btn,.clickable-label{cursor:pointer!important}.profile-badges{gap:10px!important}


/* Glide Life v1.4.0 — Smart global ride planner + language */
.smart-planner-v140{
  margin:18px 0 26px;
  border:1px solid #1d5c83;
  border-radius:22px;
  background:linear-gradient(180deg,#071725,#061019);
  padding:20px;
  box-shadow:0 14px 34px rgba(0,0,0,.20);
}
.smart-planner-head{
  display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px
}
.smart-planner-head h2{margin:5px 0 7px;font-size:29px}
.smart-location-state{
  border:1px solid #355165;border-radius:999px;padding:7px 10px;
  color:#96a9b8;font-size:11px;font-weight:800;white-space:nowrap
}
.smart-location-state.ready{color:#7dd7ff;border-color:#258dc8;background:#08283d}
.smart-planner-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.smart-planner-panel{
  position:relative;border:1px solid #194764;border-radius:17px;background:#081723;padding:17px
}
.smart-waypoints-panel{grid-column:1/-1}
.smart-step-label{
  width:27px;height:27px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:#0c79b8;color:white;font-size:11px;font-weight:900;margin-bottom:9px
}
.smart-planner-panel h3{margin:0 0 5px;font-size:21px}
.small-copy{font-size:13px;line-height:1.45}
.smart-action-row,.smart-inline-input,.waypoint-builder-row,.smart-planner-footer-actions{display:flex;gap:8px}
.smart-field-label,.smart-quick-label{
  display:block;color:#73a9c8;font-size:10px;font-weight:900;letter-spacing:.8px;margin:14px 0 6px
}
.smart-inline-input input,.waypoint-builder-row input,.smart-select{
  width:100%;box-sizing:border-box;border:1px solid #245879;border-radius:11px;
  background:#06131c;color:#fff;padding:11px 12px
}
.smart-inline-input input{flex:1}
.smart-chip-row{display:flex;gap:7px;flex-wrap:wrap}
.smart-search-chip{
  border:1px solid #245b7b;border-radius:999px;background:#0a2130;color:#b9dff4;
  padding:8px 10px;cursor:pointer;font-size:11px
}
.nearby-destination-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.destination-discovery-card{
  display:grid;grid-template-columns:32px 1fr;grid-template-rows:auto auto;column-gap:8px;
  text-align:left;border:1px solid #1b4c69;border-radius:13px;background:#06131d;color:#fff;padding:10px;cursor:pointer
}
.destination-discovery-card>span{grid-row:1/3;font-size:22px;align-self:center}
.destination-discovery-card strong{font-size:12px}.destination-discovery-card small{font-size:9px;color:#7797aa;margin-top:2px}
.destination-discovery-card:hover,.smart-search-chip:hover{border-color:#2ea9ea;background:#0b2b40}
.waypoint-builder-row{display:grid;grid-template-columns:190px 1fr auto;align-items:center}
.smart-waypoint-list{display:grid;gap:7px;margin-top:12px}
.smart-empty-waypoints{border:1px dashed #28506a;border-radius:11px;color:#728ea0;padding:13px;text-align:center}
.smart-waypoint-row{
  display:grid;grid-template-columns:30px 1fr auto;gap:10px;align-items:center;
  border:1px solid #17425d;border-radius:11px;background:#06121b;padding:9px
}
.waypoint-order{
  width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#0b6fa8;color:#fff;font-weight:900;font-size:10px
}
.smart-waypoint-row strong{display:block;color:#fff}.smart-waypoint-row small{display:block;color:#7793a5;margin-top:2px}
.waypoint-row-actions{display:flex;gap:4px}.waypoint-row-actions button{border:1px solid #2a5169;background:#0b1d28;color:#b6d9ec;border-radius:8px;padding:5px 7px;cursor:pointer}
.smart-planner-footer-actions{justify-content:flex-end;margin-top:14px}
.smart-planner-note{
  margin-top:14px;border-top:1px solid #163d56;padding-top:13px;color:#93aebb;font-size:11px
}
.smart-planner-note strong{color:#75ccfa;margin-right:6px}
.language-panel-v140{margin:14px 0}

@media(max-width:760px){
  .smart-planner-grid{grid-template-columns:1fr}
  .smart-waypoints-panel{grid-column:auto}
  .smart-planner-head{flex-direction:column}
  .waypoint-builder-row{grid-template-columns:1fr}
  .nearby-destination-grid{grid-template-columns:1fr}
  .smart-action-row,.smart-planner-footer-actions{flex-wrap:wrap}
}


/* Glide Life v1.4.1 — Planner controls + language layout fixes */
.smart-action-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 92px!important;
  gap:10px!important;
  align-items:stretch!important;
}
.smart-location-primary{
  min-height:44px!important;
  width:100%!important;
  background:linear-gradient(180deg,#1498e8,#0879bd)!important;
  border:1px solid #56c6ff!important;
  color:#fff!important;
  border-radius:12px!important;
  padding:10px 14px!important;
  line-height:1.15!important;
}
.smart-clear-btn{
  width:92px!important;
  min-width:92px!important;
  min-height:44px!important;
  padding:10px 12px!important;
  border-radius:12px!important;
  background:#0b1720!important;
  color:#b9ccda!important;
  border:1px solid #2d4c60!important;
}
.smart-inline-input{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 96px!important;
  gap:8px!important;
  width:100%!important;
  align-items:stretch!important;
}
.smart-inline-input input{
  width:100%!important;
  min-width:0!important;
  min-height:44px!important;
  padding:11px 13px!important;
  box-sizing:border-box!important;
}
.smart-search-btn{
  width:96px!important;
  min-width:96px!important;
  min-height:44px!important;
  padding:9px 10px!important;
  border-radius:11px!important;
  background:#0a2740!important;
  color:#aee2ff!important;
  border:1px solid #258fcb!important;
}
.smart-search-btn:hover,.smart-location-primary:hover{filter:brightness(1.08)}
html[dir="ltr"] .smart-planner-v140,
html[dir="ltr"] .profile-panel,
.lang-ur .smart-planner-v140,
.lang-ur .profile-panel{
  direction:ltr!important;
  text-align:left!important;
}
.lang-ur input,.lang-ur textarea,.lang-ur select{
  direction:ltr!important;
  text-align:left!important;
}
.lang-ur [data-i18n]{
  unicode-bidi:plaintext;
}
@media(max-width:620px){
  .smart-action-row{grid-template-columns:minmax(0,1fr) 78px!important}
  .smart-clear-btn{width:78px!important;min-width:78px!important}
  .smart-inline-input{grid-template-columns:minmax(0,1fr) 82px!important}
  .smart-search-btn{width:82px!important;min-width:82px!important}
}


/* Glide Life v1.4.2 — inline map + dropdown planner + fixed cover */
.profile-cover-brand{
  position:absolute;left:18px;bottom:16px;z-index:3;
  color:#d9f2ff;font-size:11px;font-weight:900;letter-spacing:1.7px;
  background:rgba(3,17,27,.72);border:1px solid #2b83b6;border-radius:999px;padding:7px 10px;
}
.smart-full-input{
  width:100%;box-sizing:border-box;min-height:44px;padding:11px 13px;
  border:1px solid #245879;border-radius:11px;background:#06131c;color:#fff;
}
.smart-custom-wrap{margin-top:10px}
.smart-panel-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.smart-selection-summary{
  margin-top:10px;padding:10px 12px;border:1px dashed #28506a;border-radius:10px;
  color:#88a9bc;background:#06121a;font-size:11px
}
.smart-planner-map-panel{
  grid-column:1/-1;border:1px solid #1b4d6d;border-radius:17px;background:#07141e;padding:16px
}
.smart-map-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:12px}
.map-step{width:auto;padding:0 10px;border-radius:999px}
.smart-map-frame-wrap{
  height:360px;border:1px solid #2b6386;border-radius:15px;overflow:hidden;background:#040b10
}
#smartPlannerMapFrame{width:100%;height:100%;border:0;display:block}
.smart-map-query{
  margin-top:8px;color:#7aa0b7;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
@media(max-width:760px){
  .smart-planner-map-panel{grid-column:auto}
  .smart-map-head{flex-direction:column}
  .smart-map-frame-wrap{height:300px}
}


/* Glide Life v1.4.4 — focused inline map preview */
.map-preview-kicker{
  display:block;
  color:#63c8ff;
  font-size:10px;
  font-weight:900;
  letter-spacing:1.6px;
  margin-bottom:5px;
}
.smart-map-head h3{margin:0 0 5px;font-size:22px}
.map-details-btn{
  width:auto!important;
  min-width:0!important;
  min-height:38px!important;
  padding:9px 13px!important;
  align-self:flex-start;
  white-space:nowrap;
}
.smart-map-frame-wrap{height:300px!important}
#smartPlannerMapFrame{background:#06131c}
.smart-map-query{color:#8eb0c4!important;padding-left:2px}
@media(max-width:760px){
  .smart-map-frame-wrap{height:270px!important}
  .map-details-btn{width:100%!important}
}


/* Glide Life v1.4.5 — actual nearby place picker */
.places-status{
  margin-top:10px;
  color:#82a8bc;
  font-size:11px;
  min-height:16px;
}
.places-result-list{
  display:grid;
  gap:7px;
  margin-top:8px;
}
.place-result-card{
  width:100%;
  display:grid;
  grid-template-columns:30px 1fr auto;
  gap:10px;
  align-items:center;
  border:1px solid #1d4b67;
  border-radius:12px;
  background:#06131c;
  color:#fff;
  text-align:left;
  padding:10px 11px;
  cursor:pointer;
}
.place-result-card:hover{
  border-color:#31a9e8;
  background:#0a2231;
}
.place-result-pin{font-size:18px}
.place-result-copy{min-width:0}
.place-result-copy strong{
  display:block;
  font-size:12px;
  color:#fff;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.place-result-copy small{
  display:block;
  margin-top:3px;
  color:#7694a8;
  font-size:9px;
  line-height:1.3;
  max-height:2.6em;
  overflow:hidden;
}
.place-result-use{
  color:#7ad0ff;
  font-size:10px;
  font-weight:900;
  border:1px solid #2b7fae;
  border-radius:999px;
  padding:5px 8px;
}
.places-empty{
  border:1px dashed #28506a;
  border-radius:10px;
  padding:11px;
  color:#7b96a8;
  font-size:11px;
}
