/* Accessibility and city controls, retaining the original weather visual system. */
.app, .detail { position: relative; z-index: 1; }
.nav__add, .nav__menu { min-width: 44px; min-height: 44px; }
.card__link { color: inherit; text-decoration: none; display: flex; flex-direction: column; justify-content: space-between; min-height: 84px; position: relative; z-index: 1; }
.card__top, .card__bottom { gap: 12px; }
.card__temp { flex-shrink: 0; white-space: nowrap; }
.card__cond { min-width: 0; }
.card__condition-line { display: flex; align-items: center; gap: 6px; }
.card__icon { position: static; flex: 0 0 24px; width: 24px; height: 24px; }
.card__hilo { max-width: 48%; text-align: right; }
.card__link:focus-visible, button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.card__remove { width: 44px; height: 44px; top: 4px; right: 4px; font-size: 30px; }
.edit-mode .card__temp { padding-right: 36px; }
.edit-mode .card__icon { opacity: .35; }
.status { min-height: 2.5em; padding: 8px 4px 0; color: #e4e6ed; font-size: 13px; }
.footer a, .detail-footer a { color: inherit; }
.refresh-weather { border: 0; color: inherit; font: inherit; background: transparent; padding: 12px; text-decoration: underline; cursor: pointer; }
dialog.add-panel { position: fixed; inset: 0; margin: auto; padding: 0; border: 0; border-radius: 18px; color: #fff; width: min(428px, calc(100% - 32px)); max-height: calc(100dvh - 48px); background: transparent; }
dialog.add-panel:not([open]) { display: none; }
dialog.add-panel[open] { display: block; }
dialog.add-panel::backdrop { background: rgba(4,8,18,.58); }
.add-panel__sheet { width: 100%; max-height: calc(100dvh - 48px); }
.add-list { max-height: calc(100dvh - 200px); }
.add-city { min-height: 56px; }
.add-city__meta { color: #e4e6ed; }
.search__input::placeholder { color: #d7d9e3; }
.hero__back { display: grid; place-items: center; min-width: 44px; min-height: 44px; }
.hero__city { padding-inline: 24px; }
.drow__lo { opacity: .8; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 360px) { .card__temp { font-size: 48px; } .card__name { font-size: 22px; } .card__hilo { font-size: 12px; } .drow { grid-template-columns: 58px 24px 34px 1fr 34px; gap: 6px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; } .fx-canvas, .panel-fx { display: none; } }
