/* Shared city search, same elements for /go/ and account; BottomSheet in bottom-sheet.css. */
.sheet-search-wrap{position:absolute;top:16px;left:16px;right:70px;z-index:31}
.sheet.no-search .sheet-search-wrap{display:none}
.sheet-search{display:block;min-width:0;padding-right:44px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
.sheet-search.has-title-counter{padding-right:64px}
.sheet-search-counter{position:absolute;right:36px;top:50%;transform:translateY(-50%);width:20px;text-align:center;font-family:var(--font-ui);font-size:12px;font-weight:400;line-height:var(--lh-12);color:#757575;pointer-events:none;z-index:2}
.sheet-search-counter[hidden]{display:none!important}
.input-clear{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:34px;height:34px;border-radius:8px;display:grid;place-items:center;cursor:pointer;background:transparent;z-index:2;border:0;outline:0;box-shadow:none;-webkit-appearance:none;appearance:none}
.input-clear:focus,.input-clear:focus-visible{border:0;outline:0;box-shadow:none;background:transparent}
.input-clear img{width:16px;height:16px;opacity:.58;pointer-events:none}
.input-clear[hidden]{display:none!important}
.city-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 var(--grid-gap,10px);width:100%;align-items:start}
.city-cell{min-width:0;padding:4px 0}
.city-feature-spacer{display:block;min-width:0;padding:4px 0}
.city-row{display:flex;flex-direction:column;align-items:flex-start;width:max-content;max-width:100%;min-width:0;min-height:36px;padding:0;text-align:left;cursor:pointer;font-size:16px;line-height:20px}
.city-row b{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400;font-size:16px;line-height:20px}
.city-row.featured b{font-weight:600}
.city-row small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#aaa;font-family:var(--font-ui);font-size:12px;line-height:16px;margin-top:0}


.city-row{border:0;background:transparent;color:inherit;font-family:inherit}
.city-row .city-region-empty{visibility:hidden}
@media(hover:hover) and (pointer:fine){.city-row:hover{opacity:.55}}
@media(max-width:570px){.city-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.city-feature-spacer{display:none}}

/* Shared visual control for the chosen city; same control in /go/ and account. */
.city-picker-control{position:relative;display:flex;align-items:center;cursor:pointer;overflow:hidden;min-width:0;padding-right:50px}
.city-picker-control .picker-value{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:20px}
.city-picker-control .field-chevron{width:18px;height:18px;position:absolute;right:13px;top:50%;transform:translateY(-50%);opacity:.62;pointer-events:none;flex:0 0 18px}
/* City sheet search uses the same shared .ms-control, with reserved space for clear. */
.sheet.has-search .sheet-search{padding-right:44px}
/* Account-only automatic choice is a normal city-row in the same grid, above pinned capitals. */
.city-automatic-cell{grid-column:1/-1}

/* The same geometry and shimmer for the city-loading skeleton on both pages. */
@keyframes ms-city-skeleton-shimmer{from{background-position:100% 0}to{background-position:-100% 0}}
.search-skeleton-city-row{width:100%!important;max-width:100%!important;height:36px;pointer-events:none}
.search-skeleton-city-name,.search-skeleton-city-region{display:block;background:linear-gradient(90deg,#ededf1 24%,#f7f7f9 38%,#ededf1 52%);background-size:220% 100%;animation:ms-city-skeleton-shimmer 1.25s ease-in-out infinite;border-radius:5px}
.search-skeleton-city-name{height:11px;max-width:86%;margin-top:5.5px;margin-bottom:5.5px}
.search-skeleton-city-region{height:8px;max-width:68%;margin-top:4px;margin-bottom:4px;opacity:.92}
