
/* ONBOARDING-r5 — city select app-style.
   Scope: OnboardingV2 city step only. No page/API/DB changes.
*/
#onb2-overlay[data-step="city"] .onb2-modal--city-r5{
  background:#fff;
}
#onb2-overlay[data-step="city"] .onb2-modal--city-r5 .onb2-modal-body{
  padding-top:10px;
}
.onb2-city-r5{
  width:min(390px, 100%);
  margin:0 auto;
  display:grid;
  gap:12px;
}
.onb2-city-r5-search{
  position:relative;
}
.onb2-city-r5-search input{
  width:100%;
  min-height:44px;
  border:1px solid #ececef;
  border-radius:14px;
  background:#fff;
  color:#111;
  outline:none;
  padding:0 42px;
  font-size:14px;
  font-weight:700;
  box-shadow:0 6px 18px rgba(15,23,42,.035);
}
.onb2-city-r5-search input::placeholder{
  color:#a1a1aa;
}
.onb2-city-r5-search-ico{
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
  color:#9ca3af;
  font-size:18px;
  pointer-events:none;
}
.onb2-ip-suggest--r5{
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:10px 12px;
  border:1px solid rgba(255,184,0,.35);
  border-radius:14px;
  background:#fff8dc;
  color:#111;
  box-shadow:none;
}
.onb2-ip-suggest--r5 .onb2-ip-suggest-text,
.onb2-ip-suggest--r5 .onb2-ip-city-label{
  font-size:12px;
  font-weight:850;
}
.onb2-ip-suggest--r5 .onb2-ip-confirm{
  min-height:30px;
  border:0;
  border-radius:10px;
  background:#ffc400;
  color:#111;
  padding:0 10px;
  font-size:12px;
  font-weight:950;
}
.onb2-city-r5-list{
  overflow:visible;
}
.onb2-city-track--list{
  display:grid;
  gap:0;
  transform:none !important;
  border:1px solid #ececef;
  border-radius:18px;
  overflow:hidden;
  background:#fff;
}
.onb2-city-track--list .onb2-city-slide{
  width:100%;
  min-height:54px;
  border:0;
  border-bottom:1px solid #f0f0f2;
  border-radius:0;
  background:#fff;
  color:#111;
  display:grid;
  grid-template-columns:28px 1fr auto;
  align-items:center;
  gap:10px;
  padding:0 14px;
  text-align:left;
  box-shadow:none;
  transform:none !important;
}
.onb2-city-track--list .onb2-city-slide:last-child{
  border-bottom:0;
}
.onb2-city-track--list .onb2-city-slide::after{
  content:'';
  width:18px;
  height:18px;
  border-radius:999px;
  border:2px solid #d4d4d8;
  background:#fff;
}
.onb2-city-track--list .onb2-city-slide.is-active::after{
  border-color:#ffc400;
  box-shadow:inset 0 0 0 4px #fff;
  background:#ffc400;
}
.onb2-city-track--list .onb2-city-slide.is-active{
  background:#fffdf3;
}
.onb2-city-radio{
  width:16px;
  height:16px;
  border-radius:999px;
  background:#ffc400;
  box-shadow:0 0 0 5px rgba(255,196,0,.13);
}
.onb2-city-track--list .onb2-city-slide-title{
  font-size:14px;
  line-height:1.2;
  font-weight:850;
  color:#111;
}
.onb2-city-r5-other{
  width:100%;
  min-height:44px;
  border:1px solid #ececef;
  border-radius:14px;
  background:#fff;
  color:#333;
  font-size:13px;
  font-weight:850;
}
.onb2-city-r5-note{
  min-height:14px;
  color:#71717a;
  font-size:11px;
  font-weight:800;
  text-align:center;
}
.onb2-city-r5-note.is-warning{
  color:#ef4444;
}
.onb2-brand-r5{
  margin-top:2px;
}
#onb2-overlay[data-step="city"] .onb2-brand-track{
  gap:8px;
}
#onb2-overlay[data-step="city"] .onb2-brand-slide{
  min-width:82px;
  min-height:42px;
  border-radius:12px;
  box-shadow:none;
}
@media (max-width:420px){
  .onb2-city-r5{
    width:100%;
  }
  #onb2-overlay[data-step="city"] .onb2-modal--city-r5 .onb2-modal-body{
    padding-left:14px;
    padding-right:14px;
  }
  .onb2-city-track--list .onb2-city-slide{
    min-height:52px;
  }
}

/* ONBOARDING-r19 — reference city selection screen. Scope: city step only. */
#onb2-overlay[data-step="city"]{
  background:#f4f4f5;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
#onb2-overlay[data-step="city"] .onb2-modal--city-r5{
  width:min(430px,100%);
  min-height:100dvh;
  height:100dvh;
  margin:0 auto;
  background:#fff;
  color:#111827;
  border-left:1px solid rgba(17,24,39,.06);
  border-right:1px solid rgba(17,24,39,.06);
  box-shadow:0 22px 70px rgba(15,23,42,.12);
  overflow:hidden;
}
#onb2-overlay[data-step="city"] .onb2-modal--city-r5 .onb2-modal-head{
  position:relative;
  padding:16px 16px 10px;
  border-bottom:0;
  background:#fff;
}
#onb2-overlay[data-step="city"] .onb2-modal--city-r5 .onb2-modal-head::before{
  content:'9:41';
  display:block;
  height:18px;
  margin-bottom:9px;
  color:#111827;
  font-size:11px;
  line-height:18px;
  font-weight:850;
}
#onb2-overlay[data-step="city"] .onb2-modal--city-r5 .onb2-modal-head::after{
  content:'';
  display:block;
  width:128px;
  height:4px;
  margin-top:14px;
  border-radius:999px;
  background:linear-gradient(90deg,#ffc400 0 36%,#ececef 36% 100%);
}
#onb2-overlay[data-step="city"] .onb2-modal--city-r5 .onb2-headbar,
#onb2-overlay[data-step="city"] .onb2-modal--city-r5 .onb2-modal-kicker,
#onb2-overlay[data-step="city"] .onb2-modal--city-r5 .onb2-modal-role-ico,
#onb2-overlay[data-step="city"] .onb2-modal--city-r5 .onb2-modal-meta,
#onb2-overlay[data-step="city"] .onb2-modal--city-r5 .onb2-stepdots{
  display:none;
}
#onb2-overlay[data-step="city"] .onb2-modal--city-r5 .onb2-modal-title{
  margin:26px 0 0;
  color:#111827;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  font-size:23px;
  line-height:1.08;
  font-weight:950;
  letter-spacing:-.04em;
}
#onb2-overlay[data-step="city"] .onb2-modal--city-r5 .onb2-modal-sub{
  max-width:320px;
  margin-top:9px;
  color:#2f3744;
  font-size:13px;
  line-height:1.45;
  font-weight:700;
}
#onb2-overlay[data-step="city"] .onb2-modal--city-r5 .onb2-modal-body{
  flex:1 1 auto;
  min-height:0;
  padding:16px 16px 104px;
  overflow:auto;
  background:#fff;
}
#onb2-overlay[data-step="city"] .onb2-city-r5{
  width:100%;
  gap:12px;
}
#onb2-overlay[data-step="city"] .onb2-city-r5-search input{
  min-height:46px;
  border-color:#e8e8ea;
  border-radius:13px;
  background:#fff;
  padding-left:44px;
  color:#111827;
  font-size:13px;
  font-weight:760;
  box-shadow:0 8px 20px rgba(15,23,42,.04);
}
#onb2-overlay[data-step="city"] .onb2-city-r5-search-ico{
  left:15px;
  color:#8a8f99;
  font-size:17px;
}
#onb2-overlay[data-step="city"] .onb2-ip-suggest--r5{
  min-height:44px;
  border-color:rgba(255,196,0,.42);
  border-radius:14px;
  background:#fff9dc;
}
#onb2-overlay[data-step="city"] .onb2-city-track--list{
  border-color:#e8e8ea;
  border-radius:18px;
  box-shadow:0 12px 28px rgba(15,23,42,.045);
}
#onb2-overlay[data-step="city"] .onb2-city-track--list .onb2-city-slide{
  min-height:54px;
  grid-template-columns:22px 1fr auto;
  gap:12px;
  padding:0 15px;
  border-bottom-color:#f0f0f2;
  background:#fff;
}
#onb2-overlay[data-step="city"] .onb2-city-track--list .onb2-city-slide.is-active{
  background:#fffdf5;
}
#onb2-overlay[data-step="city"] .onb2-city-radio{
  width:12px;
  height:12px;
  border-radius:999px;
  background:#ffc400;
  box-shadow:0 0 0 5px rgba(255,196,0,.12);
  opacity:0;
}
#onb2-overlay[data-step="city"] .onb2-city-slide.is-active .onb2-city-radio{
  opacity:1;
}
#onb2-overlay[data-step="city"] .onb2-city-track--list .onb2-city-slide::after{
  width:18px;
  height:18px;
  border:2px solid #d4d4d8;
}
#onb2-overlay[data-step="city"] .onb2-city-track--list .onb2-city-slide.is-active::after{
  border-color:#ffc400;
  background:#ffc400;
  box-shadow:inset 0 0 0 4px #fff;
}
#onb2-overlay[data-step="city"] .onb2-city-track--list .onb2-city-slide-title{
  color:#111827;
  font-size:14px;
  line-height:1.2;
  font-weight:900;
}
#onb2-overlay[data-step="city"] .onb2-city-r5-other{
  min-height:46px;
  border-color:#e8e8ea;
  border-radius:13px;
  background:#fff;
  color:#333842;
  font-size:12.5px;
  font-weight:900;
  box-shadow:0 8px 20px rgba(15,23,42,.035);
}
#onb2-overlay[data-step="city"] .onb2-city-r5-note{
  min-height:16px;
  color:#71717a;
  font-size:11px;
  font-weight:800;
}
#onb2-overlay[data-step="city"] .onb2-brand-r5{
  display:none;
}
#onb2-overlay[data-step="city"] .onb2-modal-foot{
  position:absolute;
  left:50%;
  bottom:0;
  z-index:8;
  width:min(430px,100%);
  transform:translateX(-50%);
  padding:12px 16px max(14px, env(safe-area-inset-bottom));
  border-top:0;
  background:linear-gradient(180deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.94) 18%,#fff 100%);
  box-sizing:border-box;
}
#onb2-overlay[data-step="city"] .onb2-foot-shell{
  gap:10px;
}
#onb2-overlay[data-step="city"] .onb2-back-btn{
  width:50px;
  min-width:50px;
  height:50px;
  border:1px solid #e8e8ea;
  border-radius:12px;
  background:#fff;
  color:#111827;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  font-size:24px;
  box-shadow:0 8px 20px rgba(15,23,42,.045);
}
#onb2-overlay[data-step="city"] .onb2-continue-btn{
  min-height:50px;
  border:0;
  border-radius:12px;
  background:linear-gradient(180deg,#ffc400,#f4b400);
  color:#111827;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  font-size:14px;
  line-height:1;
  font-weight:950;
  letter-spacing:0;
  text-transform:none;
  box-shadow:0 15px 30px rgba(255,196,0,.24);
}
@media (min-width:768px){
  #onb2-overlay[data-step="city"] .onb2-modal--city-r5{
    min-height:0;
    height:calc(100dvh - 40px);
    margin:20px auto;
    border-radius:28px;
  }
  #onb2-overlay[data-step="city"] .onb2-modal-foot{
    bottom:20px;
    border-radius:0 0 28px 28px;
  }
}
@media (max-width:360px){
  #onb2-overlay[data-step="city"] .onb2-modal--city-r5 .onb2-modal-head,
  #onb2-overlay[data-step="city"] .onb2-modal--city-r5 .onb2-modal-body{
    padding-left:13px;
    padding-right:13px;
  }
  #onb2-overlay[data-step="city"] .onb2-modal--city-r5 .onb2-modal-title{
    font-size:21px;
    margin-top:20px;
  }
  #onb2-overlay[data-step="city"] .onb2-city-track--list .onb2-city-slide{
    min-height:51px;
  }
}
