/* A local city preference; the modal lives outside the sticky/clipped header. */
.city-dialog { width:min(540px,calc(100% - 32px)); max-height:calc(100dvh - 32px); margin:auto; padding:0; overflow:hidden; border:1px solid #e1e5eb; border-radius:16px; background:#fff; color:#11151c; box-shadow:0 24px 80px #11182740; font-family:'Manrope',Arial,sans-serif; }
.city-dialog *, .city-dialog input, .city-dialog button { box-sizing:border-box; font-family:inherit; }
.city-dialog::backdrop { background:#10182080; backdrop-filter:blur(2px); }
.city-dialog[open] { animation:city-appear 180ms ease-out both; }
.city-panel { display:flex; flex-direction:column; max-height:calc(100dvh - 34px); }
.city-head { display:flex; align-items:center; justify-content:space-between; flex-shrink:0; gap:16px; padding:24px 24px 16px; }
.city-head h2 { margin:0; font:800 23px/1.25 'Manrope',Arial,sans-serif; color:#11151c; letter-spacing:-.4px; }
.city-close { display:grid; place-items:center; flex:0 0 36px; width:36px; height:36px; padding:0; border:1px solid #e3e7ed; border-radius:50%; background:#fff; color:#586578; font-size:26px; line-height:1; cursor:pointer; }
.city-form { display:flex; flex-direction:column; min-height:0; margin:0; padding:0 24px 24px; }
.city-form label { margin:0 0 8px; font-size:13px; font-weight:700; }
.city-input { flex-shrink:0; width:100%; height:46px; padding:0 14px; border:1px solid #dfe3eb; border-radius:8px; background:#f5f7f9; color:#11151c; font-size:16px; outline:none; transition:background 180ms ease,border-color 180ms ease,box-shadow 180ms ease; }
.city-input:focus { border-color:#e60000; background:#fff; box-shadow:0 0 0 3px #ed00000d; }
.city-note { flex-shrink:0; margin:10px 0 16px; color:#748094; font-size:12px; line-height:1.5; }
.city-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); flex:1 1 auto; gap:8px; min-height:0; max-height:310px; overflow:auto; overscroll-behavior:contain; padding:2px; margin:-2px; }
.city-option { min-height:43px; padding:10px 12px; border:1px solid #e3e7ed; border-radius:8px; background:#fff; color:#263040; text-align:left; font-size:13px; line-height:1.4; cursor:pointer; transition:border-color 160ms ease,background 160ms ease,color 160ms ease; }
.city-region { display:block; margin-top:3px; color:#748094; font-size:11px; line-height:1.4; }
.city-option:hover, .city-option[aria-pressed="true"] { border-color:#efb6b2; background:#fff3f2; color:#ce100a; }
.city-empty { margin:4px 0 16px; color:#748094; font-size:13px; line-height:1.5; }
.city-error { margin:12px 0 0; color:#c9140e; font-size:13px; line-height:1.5; }
.city-dialog [hidden] { display:none!important; }
.city-apply { flex-shrink:0; width:100%; min-height:46px; margin-top:20px; padding:12px 16px; border:1px solid #f21912; border-radius:8px; background:#f21912; color:#fff; font-size:14px; font-weight:800; line-height:1.4; cursor:pointer; }
.city-apply:hover { background:#da100a; border-color:#da100a; }
.city-apply:disabled { opacity:.45; cursor:default; }
.city-dialog button:focus-visible { outline:2px solid #ed0000; outline-offset:2px; }
.city-announcement { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.city-suggestion { position:fixed; z-index:1500; top:120px; right:max(20px,calc((100vw - 1368px)/2)); width:340px; padding:22px; border:1px solid #e1e5eb; border-radius:14px; background:#fff; box-shadow:0 12px 40px #11182726; color:#11151c; font-family:'Manrope',Arial,sans-serif; animation:city-appear 180ms ease-out both; box-sizing:border-box; }
.city-suggestion[hidden] { display:none; }
.city-suggestion-title { margin:0 24px 8px 0; font:600 17px/1.5 'Manrope',Arial,sans-serif; }
.city-suggestion-title strong { font-weight:800; }
.city-suggestion-region { margin:0 0 16px; color:#748094; font-size:12px; line-height:1.5; }
.city-suggestion-actions { display:flex; gap:8px; }
.city-suggestion-actions button { flex:1; padding:11px 8px; border:1px solid #e3e7ed; border-radius:8px; background:#fff; color:#263040; font:700 12px/1.4 'Manrope',Arial,sans-serif; cursor:pointer; transition:background 180ms ease; }
.city-suggestion-actions .city-confirm { border-color:#f21912; background:#f21912; color:#fff; }
.city-confirm:hover { background:#da100a; }
.city-suggestion-actions .city-change:hover { background:#f5f7f9; }
.city-suggestion-close { position:absolute; top:12px; right:12px; width:28px; height:28px; padding:0; border:0; border-radius:50%; background:#f5f7f9; color:#586578; font:22px/28px Arial,sans-serif; cursor:pointer; }
.city-suggestion-credit { display:inline-block; margin-top:14px; color:#748094; font-size:10px; text-decoration:underline; }
.city-suggestion button:focus-visible { outline:2px solid #ed0000; outline-offset:2px; }
.lr-footer-brand .city-footer-credit { font-size:10px; }
.city-footer-credit a { color:inherit; text-decoration:underline; }
@keyframes city-appear { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
@media(max-width:480px) {
  .city-suggestion { top:88px; left:12px; right:12px; width:auto; padding:18px; }
  .city-head { padding:18px 18px 14px; }
  .city-head h2 { font-size:21px; }
  .city-form { padding:0 18px 18px; }
  .city-option { padding:10px; font-size:12px; }
}
@media(prefers-reduced-motion:reduce) {
  .city-dialog[open], .city-suggestion { animation:none; }
  .city-dialog * { transition:none; }
}
