/* Scoped to the Weather page city strip; Air Quality's compact shortcuts are unchanged. */
@media(min-width:801px){.sky-motto{top:65px;font-size:22px}}
@media(min-width:521px) and (max-width:800px){.sky-motto{top:65px;font-size:17px}}
.weather-cities{margin:14px 0 12px;padding:16px;border:1px solid var(--appearance-border,#c8e2ff);border-radius:14px;background:linear-gradient(115deg,var(--appearance-raised,#edf7ff),var(--appearance-surface,#fff));color:var(--navy);min-width:0}
.weather-cities-heading{display:flex;gap:16px;align-items:center;justify-content:space-between;margin-bottom:12px}
.weather-cities-heading h2{margin:0;font-size:20px;line-height:1.3;display:flex;gap:9px;align-items:center}
.weather-cities-heading h2>span:first-child{color:var(--blue);font-size:23px}
.weather-cities-heading p{font-size:12px;line-height:1.4;margin:5px 0 0;color:var(--muted)}
#weather-customize-cities{border:1px solid var(--appearance-border,#a5caff);border-radius:8px;background:var(--appearance-surface,#fff);color:var(--blue);font:600 13px/1.3 Arial,sans-serif;min-height:44px;padding:9px 12px;white-space:nowrap;cursor:pointer}
.weather-cities-row{display:grid;grid-template-columns:minmax(0,1fr) 130px;gap:12px;align-items:stretch;min-width:0}
.weather-cities #shared-city-shortcuts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;min-width:0}
.weather-cities #shared-city-shortcuts .weather-city-card{display:block;position:relative;isolation:isolate;overflow:hidden;padding:0;width:100%;min-width:0;max-width:none;height:150px;border:2px solid transparent;border-radius:11px;text-align:left;background:#15416c;color:#fff;cursor:pointer;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease;font-family:Arial,sans-serif}
.weather-city-card .wc-photo,.weather-city-card .wc-shade{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;pointer-events:none}
.weather-city-card .wc-shade{z-index:-1;background:linear-gradient(180deg,rgba(4,18,44,.03) 0%,rgba(4,18,44,.74) 39%,rgba(4,18,44,.96) 100%)}
.weather-city-card .wc-content{position:absolute;inset:auto 11px 10px;display:block;overflow:hidden}
.weather-city-card .wc-name{display:block;font-size:15px;font-weight:700;line-height:1.2;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#fff}
.weather-city-card .wc-region{display:block;font-size:10px;line-height:1.4;color:#e0ecff;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-top:2px}
.weather-city-card .wc-reading{display:flex;gap:8px;align-items:center;margin:5px 0 1px;line-height:1}
.weather-city-card .wc-temperature{font-size:28px;font-weight:700;letter-spacing:-.4px;color:#fff;line-height:1.1}
.weather-city-card .wc-icon{font-size:27px;line-height:1.1;color:#ffd54a;min-width:24px;text-align:center}
.weather-city-card .wc-condition{display:block;font-size:10px;line-height:1.35;color:#e5efff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.weather-city-card .wc-selected{position:absolute;top:6px;left:6px;border-radius:5px;background:#075bd8;color:white;font-size:10px;font-weight:700;padding:3px 6px;line-height:1.2}
.weather-city-card .wc-photo-note{position:absolute;top:7px;right:7px;border-radius:3px;background:rgba(7,22,48,.8);color:#fff;padding:3px 4px;font-size:8px;line-height:1.2}
.weather-city-card [hidden]{display:none!important}
.weather-cities #shared-city-shortcuts .weather-city-card[aria-pressed=true]{border-color:#0867ff;background:#15416c;color:white;box-shadow:0 0 0 2px var(--appearance-surface,#fff),0 0 0 3px #0867ff}
.weather-cities #use-location{align-self:stretch;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-width:0;min-height:80px;border:1px solid var(--appearance-border,#b5d6ff);border-radius:11px;background:var(--appearance-surface,#fff);color:var(--navy);font:600 14px/1.5 Arial,sans-serif;padding:12px;cursor:pointer;white-space:normal}
.weather-cities #use-location>span:first-child{font-size:32px;color:var(--blue);line-height:1}
.weather-cities #use-location:disabled{opacity:.6;cursor:wait}
.weather-cities button:focus-visible,.weather-city-dialog button:focus-visible,.weather-city-dialog input:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
@media(hover:hover){.weather-cities #shared-city-shortcuts .weather-city-card:hover{transform:translateY(-2px);border-color:#5aa0ff;box-shadow:0 5px 14px #002b531f}#weather-customize-cities:hover,.weather-cities #use-location:hover{border-color:var(--blue)}}
#weather-cities-status{font-size:12px;line-height:1.5;color:var(--muted);margin:9px 0 0}#weather-cities-status:empty{display:none}
#weather-city-credits{display:flex;flex-wrap:wrap;gap:5px 12px;margin-top:8px;font-size:10px;line-height:1.4;color:var(--muted)}#weather-city-credits[hidden]{display:none}
.wc-empty{grid-column:1/-1;align-self:center;font-size:14px;line-height:1.6;padding:14px;color:var(--muted);margin:0}
.weather-city-dialog{width:min(680px,calc(100vw - 28px));max-height:calc(100dvh - 36px);padding:22px;border:1px solid var(--appearance-border,#bcd5f4);border-radius:14px;background:var(--appearance-surface,#fff);color:var(--navy);box-shadow:0 20px 70px #001a4d40;overflow-y:auto;font:14px/1.5 Arial,sans-serif}
.weather-city-dialog::backdrop{background:rgba(8,25,51,.5)}
.wc-dialog-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.wc-dialog-heading h2{font-size:23px;margin:0}.wc-dialog-heading .wc-close{font-size:24px;padding:3px 12px;min-width:44px}
.weather-city-dialog button{min-height:44px;padding:9px 12px;border:1px solid var(--appearance-border,#b8d0ef);border-radius:7px;font:600 13px/1.35 Arial,sans-serif;background:var(--appearance-raised,#f4f9ff);color:var(--blue);cursor:pointer}.weather-city-dialog button:disabled,.weather-city-dialog input:disabled{opacity:.55;cursor:wait}
.wc-dialog-help{color:var(--muted);font-size:13px;margin:12px 0 16px}.wc-choice{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--appearance-border,#e1ebf7)}.wc-choice-copy{min-width:0}.wc-choice-copy strong,.wc-choice-copy small{display:block;overflow-wrap:anywhere}.wc-choice-copy small{color:var(--muted);font-size:12px}.wc-choice-actions{display:flex;gap:6px;flex-shrink:0}.wc-dialog-status,.wc-search-status{font-size:12px;color:var(--muted);margin:12px 0;min-height:18px}.weather-city-dialog label{display:block;font-weight:700;margin:12px 0 6px}.wc-search-form{display:flex;gap:8px}.wc-search-form input{flex:1;min-width:0;font:14px/1.5 Arial,sans-serif;padding:10px;border:1px solid var(--appearance-border,#adc7ec);border-radius:7px;background:var(--appearance-surface,#fff);color:var(--navy)}
.wc-search-results{display:grid;gap:5px;max-height:230px;overflow-y:auto;padding:3px}.wc-search-results[hidden]{display:none}.wc-search-results button{text-align:left;display:block;width:100%}.wc-search-results strong,.wc-search-results small{display:block}.wc-search-results small{font-weight:400;color:var(--muted)}
.wc-dialog-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;padding-top:16px;border-top:1px solid var(--appearance-border,#d8e5f5);margin-top:18px}.wc-dialog-actions #wc-reset{margin-right:auto}.weather-city-dialog .wc-primary{background:#075ee8;color:#fff;border-color:#075ee8}
@media(max-width:900px){.weather-cities-row{grid-template-columns:minmax(0,1fr) 112px;gap:10px}.weather-cities #shared-city-shortcuts{display:flex;overflow-x:auto;scroll-snap-type:x proximity;padding:3px 3px 10px;scroll-padding:3px}.weather-cities #shared-city-shortcuts .weather-city-card{flex:0 0 158px;width:158px;scroll-snap-align:start;height:145px}.weather-cities .wc-empty{min-width:0}}
@media(max-width:600px){.weather-cities{padding:12px;margin:12px 0;border-radius:12px}.weather-cities-heading{gap:8px;align-items:flex-start}.weather-cities-heading h2{font-size:18px}.weather-cities-heading p{max-width:26ch;font-size:11px}#weather-customize-cities{font-size:12px;padding:8px;white-space:normal;max-width:128px}.weather-cities-row{grid-template-columns:minmax(0,1fr)}.weather-cities #shared-city-shortcuts .weather-city-card{flex-basis:155px;width:155px;height:142px}.weather-cities #use-location{flex-direction:row;min-height:48px;padding:8px;font-size:13px;gap:9px}.weather-cities #use-location>span:first-child{font-size:23px}.weather-city-dialog{padding:16px}.wc-choice-actions{flex-direction:column;gap:5px}.wc-choice{gap:8px;align-items:flex-start}.wc-choice-actions button{min-width:74px}.wc-dialog-actions{gap:7px}.wc-dialog-actions #wc-reset{margin-right:0}.wc-search-form input{font-size:16px}}
@media(prefers-reduced-motion:reduce){.weather-cities #shared-city-shortcuts .weather-city-card{transition:none;transform:none!important}}
@media(forced-colors:active){.weather-city-card .wc-photo,.weather-city-card .wc-shade{display:none}.weather-cities #shared-city-shortcuts .weather-city-card{border:2px solid ButtonText}.weather-cities #shared-city-shortcuts .weather-city-card[aria-pressed=true]{border-color:Highlight;outline:2px solid Highlight}}
