@media (max-width: 1179px) {
    html {
        scroll-padding-bottom: calc(5.4rem + env(safe-area-inset-bottom));
    }

    .mobile-bottom-nav {
        position: fixed;
        right: max(0.55rem, env(safe-area-inset-right));
        bottom: max(0.55rem, env(safe-area-inset-bottom));
        left: max(0.55rem, env(safe-area-inset-left));
        z-index: 35;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0.2rem;
        border: 1px solid rgba(47, 247, 255, 0.34);
        border-radius: 1.35rem;
        padding: 0.32rem;
        background:
            radial-gradient(circle at 50% -30%, rgba(47, 247, 255, 0.18), transparent 58%),
            linear-gradient(180deg, rgba(6, 52, 112, 0.86), rgba(3, 22, 58, 0.92));
        box-shadow:
            0 18px 44px rgba(0, 12, 36, 0.46),
            0 0 34px rgba(47, 247, 255, 0.16),
            0 0 0 1px rgba(255, 255, 255, 0.035) inset;
        -webkit-backdrop-filter: blur(22px);
        backdrop-filter: blur(22px);
    }
}

@media (min-width: 721px) {
    .nav-menu-button,
    .nav-overlay {
        display: none;
    }

    .adaptive-nav {
        position: static;
        top: auto;
        bottom: auto;
        left: auto;
        z-index: 9;
        width: 100%;
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-rows: auto;
        align-items: center;
        transform: none;
    }

    .nav-links {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: center;
    }

    .nav-link {
        justify-content: center;
        padding-inline: var(--space-2);
    }

    .nav-collapse {
        display: none;
    }

    .site-header {
        grid-template-columns: auto minmax(16rem, 1fr) auto;
    }
}

@media (min-width: 721px) and (max-width: 1179px) {
    .adaptive-nav {
        display: none;
    }

    .app-shell {
        padding-bottom: calc(5.4rem + env(safe-area-inset-bottom));
    }

    .nav-link {
        min-height: 3.55rem;
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.45rem 0.25rem;
    }

    .nav-link span[aria-hidden="true"],
    .nav-collapse span[aria-hidden="true"] {
        width: 1.45rem;
        height: 1.45rem;
    }

    .nav-label {
        max-width: 100%;
        font-size: 0.88rem;
        text-align: center;
    }

    .quick-access-label {
        display: none;
    }

    .favorites-panel {
        max-height: min(20rem, calc(100dvh - 8.5rem));
    }
}

@media (max-width: 980px) {
    .content-grid,
    .astronomy-panel {
        grid-template-columns: 1fr;
    }

    .weekly,
    .astronomy-panel,
    .alerts-panel {
        grid-column: auto;
        grid-row: auto;
    }

    .weather-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 981px) and (max-width: 1179px) {
    .site-header {
        grid-template-columns: auto minmax(16rem, 1fr) auto;
    }
}

@media (max-width: 720px) {
    body {
        height: 100vh;
        height: 100dvh;
        overflow: hidden;
    }

    body[data-nav-open="true"] {
        overflow: hidden;
    }

    .adaptive-nav,
    .nav-overlay,
    .nav-menu-button {
        display: none;
    }

    .app-shell {
        width: min(100% - 0.75rem, var(--content-max));
        height: calc(100vh - 4.85rem - env(safe-area-inset-bottom));
        height: calc(100dvh - 4.85rem - env(safe-area-inset-bottom));
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior-y: contain;
        padding-top: var(--space-1);
        padding-bottom: var(--space-4);
        scrollbar-width: none;
    }

    .app-shell::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

    .app-main {
        padding-bottom: var(--space-4);
    }

    .site-header {
        position: relative;
        z-index: 20;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.45rem;
        overflow: visible;
        margin-bottom: var(--space-4);
        border-radius: var(--radius-md);
        padding: 0.45rem;
    }

    .nav-menu-button,
    .site-header .icon-action {
        width: 2.2rem;
        min-width: 2.2rem;
        height: 2.2rem;
    }

    .brand-lockup-header {
        grid-column: 1;
    }

    .header-actions {
        grid-column: 2;
    }

    .search-panel {
        grid-column: 1 / -1;
        grid-row: 2;
        gap: var(--space-1);
        border-radius: var(--radius-sm);
        padding: 0.22rem 0.35rem 0.22rem 0.7rem;
    }

    .search-panel input {
        min-height: 2.05rem;
        font-size: 0.9rem;
    }

    .search-panel .icon-action {
        width: 2rem;
        min-width: 2rem;
        height: 2rem;
    }

    .search-suggestions {
        top: calc(100% + 0.32rem);
        max-height: min(20rem, 48dvh);
        border-radius: var(--radius-sm);
        padding: 0.28rem;
    }

    .search-suggestion {
        min-height: 3.35rem;
        gap: var(--space-2);
        padding: 0.52rem 0.58rem;
    }

    .search-suggestion-content strong {
        font-size: 0.84rem;
    }

    .search-suggestion-content small {
        font-size: 0.66rem;
    }

    .search-suggestion-type {
        max-width: 7.8rem;
        padding: 0.2rem 0.38rem;
        font-size: 0.61rem;
    }

    .dashboard {
        gap: var(--space-3);
        padding-top: var(--space-4);
        padding-bottom: var(--space-3);
    }

    .favorites-panel {
        gap: var(--space-2);
        border-radius: var(--radius-md);
        padding: 0.65rem;
    }

    .quick-access-label {
        display: none;
    }

    .quick-access-button,
    .favorites-close {
        width: 2.75rem;
        min-width: 2.75rem;
        height: 2.75rem;
        padding: 0;
    }

    .favorites-title {
        font-size: 0.95rem;
    }

    .favorites-count {
        padding: 0.22rem 0.5rem;
        font-size: 0.68rem;
    }

    .favorites-list {
        gap: 0.45rem;
        padding-bottom: 0.28rem;
        scroll-snap-type: x proximity;
    }

    .favorite-item {
        min-width: min(14.8rem, 78vw);
        scroll-snap-align: start;
    }

    .favorite-select {
        padding: 0.58rem 0.64rem;
    }

    .favorite-name {
        font-size: 0.84rem;
    }

    .favorite-meta {
        font-size: 0.66rem;
    }

    .brand-text small {
        display: none;
    }

    .brand-mark {
        width: 3rem;
        height: 3rem;
    }

    .brand-lockup-header {
        min-width: 0;
        gap: 0.45rem;
    }

    .brand-lockup-header .brand-mark {
        width: 2.55rem;
        height: 2.55rem;
    }

    .brand-lockup-header .brand-official-wordmark {
        width: 7.6rem;
        max-width: 100%;
        min-width: 0;
        height: 0.9rem;
    }

    .brand-lockup-header .brand-text strong {
        font-size: 0.8rem;
    }

    .brand-lockup-nav .brand-mark {
        width: 3.35rem;
        height: 3.35rem;
    }

    .hero-weather,
    .hero-content {
        min-height: 0;
    }

    .hero-weather {
        border-radius: var(--radius-lg);
        background:
            radial-gradient(circle at 16% 18%, rgba(47, 247, 255, 0.22), transparent 9rem),
            radial-gradient(circle at 92% 14%, rgba(255, 225, 109, 0.11), transparent 8.5rem),
            linear-gradient(150deg, rgba(36, 162, 255, 0.12), transparent 42%),
            rgba(4, 28, 66, 0.92);
        box-shadow:
            var(--shadow-soft),
            0 0 0 1px rgba(255, 255, 255, 0.045) inset,
            0 0 64px rgba(47, 247, 255, 0.22);
    }

    .hero-content {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
        gap: 0.68rem;
        padding: 0.78rem;
    }

    .hero-status {
        display: grid;
        grid-template-columns: auto auto minmax(0, 1fr);
        align-items: center;
        gap: 0.18rem;
        justify-content: initial;
        border: 1px solid rgba(149, 251, 255, 0.2);
        border-radius: 999px;
        padding: 0.15rem;
        background:
            linear-gradient(135deg, rgba(47, 247, 255, 0.12), rgba(36, 162, 255, 0.045)),
            rgba(3, 22, 58, 0.34);
        box-shadow:
            0 0 18px rgba(47, 247, 255, 0.12),
            0 0 0 1px rgba(255, 255, 255, 0.025) inset;
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
    }

    .time-chip,
    .status-chip {
        min-height: 1.2rem;
        border: 0;
        border-radius: 999px;
        padding: 0.12rem 0.4rem;
        background: transparent;
        font-size: 0.62rem;
        line-height: 1.05;
        box-shadow: none;
        white-space: nowrap;
    }

    #updated-at {
        justify-self: end;
        overflow: hidden;
        max-width: min(9.2rem, 100%);
        text-overflow: ellipsis;
    }

    .current-weather {
        position: relative;
        grid-template-columns: minmax(0, 1fr) auto;
        width: 100%;
        gap: 0.62rem;
        border-radius: var(--radius-md);
        padding: 0.1rem 0.06rem 0.05rem;
    }

    .weather-symbol {
        order: 2;
    }

    .weather-symbol {
        width: 4.18rem;
        height: 4.18rem;
        border-color: rgba(47, 247, 255, 0.42);
        border-radius: 1.25rem;
        background:
            radial-gradient(circle at 34% 30%, rgba(255, 225, 109, 0.34), transparent 34%),
            radial-gradient(circle at 70% 72%, rgba(47, 247, 255, 0.26), transparent 48%),
            rgba(4, 33, 76, 0.34);
        box-shadow:
            0 0 30px rgba(47, 247, 255, 0.28),
            0 0 44px rgba(255, 225, 109, 0.12),
            0 12px 28px rgba(0, 18, 54, 0.25);
        font-size: 2.34rem;
    }

    .weather-icon-img--forecast {
        width: 2.58rem;
        height: 2.58rem;
    }

    .forecast-icon {
        width: 3.18rem;
        height: 3.18rem;
    }

    .weather-symbol::before {
        inset: -0.26rem;
        border-color: rgba(47, 247, 255, 0.22);
        background:
            radial-gradient(circle at 50% 50%, rgba(47, 247, 255, 0.1), transparent 52%),
            repeating-radial-gradient(circle at 50% 50%, transparent 0 0.74rem, rgba(47, 247, 255, 0.12) 0.8rem 0.86rem, transparent 0.95rem 1.42rem);
        opacity: 0.72;
    }

    .weather-summary {
        order: 1;
        min-width: 0;
    }

    .weather-summary .eyebrow {
        margin-bottom: 0.12rem;
        color: rgba(228, 247, 255, 0.72);
        font-size: 0.62rem;
        letter-spacing: 0;
    }

    .weather-summary h1 {
        overflow: hidden;
        font-size: 1.32rem;
        line-height: 1.04;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .temperature-line {
        margin: 0.02rem 0 0.04rem;
        font-size: 2.86rem;
        letter-spacing: 0;
    }

    .weather-description {
        overflow: hidden;
        color: rgba(228, 247, 255, 0.78);
        font-size: 0.78rem;
        line-height: 1.18;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .data-source-label {
        margin-top: 0.16rem;
        font-size: 0.62rem;
        line-height: 1.15;
    }

    .data-source-label--hero {
        margin-top: 0.18rem;
    }

    .hero-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
        overflow: hidden;
        gap: 0;
        border: 1px solid rgba(47, 247, 255, 0.24);
        border-radius: var(--radius-md);
        background:
            radial-gradient(circle at 18% 0%, rgba(47, 247, 255, 0.11), transparent 40%),
            linear-gradient(180deg, rgba(36, 162, 255, 0.12), rgba(3, 22, 58, 0.42)),
            rgba(4, 33, 76, 0.44);
        box-shadow:
            0 12px 26px rgba(0, 18, 54, 0.22),
            0 0 22px rgba(47, 247, 255, 0.11),
            0 0 0 1px rgba(255, 255, 255, 0.025) inset;
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
    }

    .hero-metric {
        position: relative;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        padding: 0.5rem 0.48rem;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .hero-metric + .hero-metric::before {
        position: absolute;
        top: 0.52rem;
        bottom: 0.52rem;
        left: 0;
        width: 1px;
        content: "";
        background: linear-gradient(180deg, transparent, rgba(47, 247, 255, 0.32), transparent);
    }

    .hero-metrics span {
        overflow: hidden;
        color: rgba(228, 247, 255, 0.68);
        font-size: 0.6rem;
        line-height: 1.05;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .hero-metrics strong {
        margin-top: 0.16rem;
        color: var(--color-white);
        font-size: 0.98rem;
        line-height: 1;
    }

    .weather-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-3);
    }

    .metric-card {
        min-height: 5.9rem;
        padding: 0.75rem;
    }

    .metric-card::before {
        width: 1px;
    }

    .metric-label {
        font-size: 0.72rem;
    }

    .metric-card strong {
        margin: var(--space-1) 0;
        font-size: 1.25rem;
    }

    .metric-card > .wind-indicator {
        margin: var(--space-1) 0;
        font-size: 1.25rem;
    }

    .metric-card small {
        font-size: 0.72rem;
        line-height: 1.2;
    }

    .forecast-panel,
    .astro-card,
    .alerts-panel {
        padding: var(--space-3);
    }

    .section-heading {
        margin-bottom: var(--space-3);
    }

    .section-heading h2,
    .astro-card h2 {
        font-size: 1.08rem;
    }

    .hourly-range-tabs {
        width: 100%;
        margin-bottom: var(--space-3);
    }

    .hourly-range-button {
        padding: 0.52rem 0.46rem;
        font-size: 0.7rem;
    }

    .hourly-strip {
        grid-template-columns: repeat(var(--hourly-card-count, 12), 6.45rem);
        gap: var(--space-2);
        padding-top: 0.38rem;
        padding-bottom: 0.68rem;
        scroll-padding-inline: var(--space-2);
    }

    .hourly-card {
        min-height: 7.75rem;
        gap: var(--space-2);
        padding: 0.76rem 0.74rem;
    }

    .forecast-list {
        grid-template-columns: repeat(7, 8rem);
        gap: var(--space-2);
        padding-top: 0.38rem;
        padding-bottom: 0.68rem;
        scroll-padding-inline: var(--space-2);
    }

    .forecast-day-card {
        min-height: 9.2rem;
        gap: 0.62rem;
        padding: 0.78rem;
    }

    .forecast-icon {
        font-size: 1.55rem;
    }

    .forecast-meta {
        gap: 0.22rem;
        font-size: 0.68rem;
        line-height: 1.16;
    }

    .forecast-meta span {
        overflow: visible;
        overflow-wrap: anywhere;
        text-overflow: clip;
        white-space: normal;
    }

    .forecast-temperature-range strong {
        font-size: 1.32rem;
    }

    .hourly-card:hover,
    .forecast-day-card:hover {
        transform: none;
    }
}

@media (max-width: 430px) {
    .site-header {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.4rem;
        padding: 0.4rem;
    }

    .search-panel {
        grid-column: 1 / -1;
        width: 100%;
    }

    .header-actions {
        display: flex;
        grid-column: auto;
        justify-content: flex-end;
        gap: var(--space-1);
        width: auto;
    }

    .header-actions .icon-action {
        width: 2.08rem;
        min-width: 2.08rem;
        height: 2.08rem;
    }

    .hero-status {
        display: flex;
        grid-template-columns: none;
        gap: 0.18rem;
    }

    #updated-at {
        grid-column: auto;
        max-width: 8.15rem;
    }

    .time-chip,
    .status-chip {
        min-height: 1.15rem;
        padding: 0.1rem 0.34rem;
        font-size: 0.59rem;
    }

    .temperature-line {
        font-size: 2.68rem;
    }

    .weather-summary h1,
    .weather-description,
    .data-source-label--hero {
        overflow: visible;
        overflow-wrap: anywhere;
        text-overflow: clip;
        white-space: normal;
    }

    .brand-lockup-header .brand-mark {
        width: 2.35rem;
        height: 2.35rem;
    }

    .brand-lockup-header .brand-official-wordmark {
        display: none;
    }

    .brand-lockup-header .brand-text strong {
        font-size: 0.82rem;
    }

    .search-panel input {
        min-height: 1.95rem;
        font-size: 0.88rem;
    }

    .search-panel .icon-action {
        width: 1.95rem;
        min-width: 1.95rem;
        height: 1.95rem;
    }

    .search-suggestion {
        grid-template-columns: minmax(0, 1fr) minmax(4.3rem, auto);
        gap: 0.38rem;
        padding-inline: 0.48rem;
    }

    .search-suggestion-type {
        max-width: 6.4rem;
    }

    .weather-grid {
        gap: var(--space-2);
    }

    .favorites-panel {
        inset-inline: 0;
        width: auto;
        max-height: min(18rem, calc(100dvh - 10rem - env(safe-area-inset-bottom)));
        padding: 0.56rem;
    }

    .favorite-item {
        min-width: min(13.5rem, 82vw);
    }

    .metric-card {
        min-height: 5.2rem;
        padding: 0.6rem;
    }

    .metric-card strong {
        font-size: 1.12rem;
    }

    .metric-card > .wind-indicator {
        font-size: 1.12rem;
    }

    .metric-card small,
    .metric-label {
        font-size: 0.68rem;
    }

    .hourly-strip {
        grid-template-columns: repeat(var(--hourly-card-count, 12), 6.32rem);
    }

    .forecast-list {
        grid-template-columns: repeat(7, 7.82rem);
    }

    .hourly-card {
        min-height: 7.55rem;
        padding: 0.7rem;
    }

    .forecast-day-card {
        min-height: 9rem;
        padding: 0.72rem;
    }

    .forecast-day-name {
        font-size: 0.7rem;
    }

    .forecast-meta {
        font-size: 0.66rem;
    }

    .forecast-meta .wind-indicator__abbreviation,
    .forecast-meta .wind-indicator__separator {
        display: none;
    }

    .development-status {
        padding: var(--space-3) var(--space-4);
        font-size: 0.82rem;
    }

    .development-status strong {
        font-size: 0.88rem;
    }

    .mobile-bottom-nav {
        right: max(0.45rem, env(safe-area-inset-right));
        bottom: max(0.45rem, env(safe-area-inset-bottom));
        left: max(0.45rem, env(safe-area-inset-left));
        border-radius: 1.2rem;
        padding: 0.28rem;
    }

    .mobile-bottom-link {
        min-height: 2.75rem;
    }

    .mobile-bottom-label {
        font-size: 0.62rem;
    }
}

@media (max-width: 360px) {
    .brand-lockup-header .brand-official-wordmark {
        display: none;
    }

    .brand-lockup-header .brand-text strong {
        font-size: 0.8rem;
    }

    .temperature-line {
        font-size: 2.5rem;
    }

    .hero-content {
        gap: 0.62rem;
        padding: 0.68rem;
    }

    .weather-symbol {
        width: 3.82rem;
        height: 3.82rem;
        border-radius: 1.1rem;
        font-size: 2.05rem;
    }

    .weather-icon-img--forecast {
        width: 2.36rem;
        height: 2.36rem;
    }

    .forecast-icon {
        width: 2.96rem;
        height: 2.96rem;
    }

    .weather-summary h1 {
        font-size: 1.18rem;
    }

    .weather-description {
        font-size: 0.74rem;
    }

    #updated-at {
        max-width: 7.3rem;
    }

    .hero-metric {
        padding: 0.44rem 0.3rem;
    }

    .hero-metrics span {
        font-size: 0.57rem;
    }

    .hero-metrics strong {
        font-size: 0.9rem;
    }

    .weather-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .forecast-panel,
    .astro-card {
        padding: var(--space-3);
    }

    .metric-card {
        padding: 0.55rem;
    }

    .metric-card {
        min-height: 4.95rem;
    }

    .hourly-strip {
        grid-template-columns: repeat(var(--hourly-card-count, 12), 6.18rem);
    }

    .forecast-list {
        grid-template-columns: repeat(7, 7.65rem);
    }

    .hourly-card {
        padding: 0.66rem;
    }

    .forecast-day-card {
        padding: 0.68rem;
    }

    .forecast-meta {
        font-size: 0.64rem;
    }

    .mobile-bottom-link {
        min-height: 2.62rem;
    }

    .mobile-bottom-link span[aria-hidden="true"] {
        font-size: 0.98rem;
    }

    .mobile-bottom-label {
        font-size: 0.58rem;
    }
}

@media (min-width: 1180px) {
    :root {
        --content-max: 1440px;
    }

    .app-shell {
        grid-template-columns: 16.25rem minmax(0, 1fr);
        align-items: start;
        gap: var(--space-6);
    }

    body[data-nav-collapsed="true"] .app-shell {
        grid-template-columns: 5.2rem minmax(0, 1fr);
    }

    .adaptive-nav {
        position: sticky;
        top: var(--space-4);
        min-height: calc(100vh - var(--space-8));
        grid-template-columns: none;
        grid-template-rows: auto minmax(0, 1fr) auto;
    }

    .nav-links {
        grid-template-columns: 1fr;
    }

    .nav-link {
        justify-content: flex-start;
        padding-inline: var(--space-3);
    }

    .nav-collapse {
        display: flex;
    }

    body[data-nav-collapsed="true"] .adaptive-nav {
        width: 5.2rem;
    }

    body[data-nav-collapsed="true"] .brand-lockup-nav .brand-mark {
        width: 3.05rem;
        height: 3.05rem;
    }

    body[data-nav-collapsed="true"] .nav-heading,
    body[data-nav-collapsed="true"] .nav-link,
    body[data-nav-collapsed="true"] .nav-collapse {
        justify-content: center;
    }

    body[data-nav-collapsed="true"] .nav-title,
    body[data-nav-collapsed="true"] .brand-lockup-nav .brand-copy,
    body[data-nav-collapsed="true"] .nav-label {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
        padding: 0;
    }

    .hero-weather,
    .hero-content {
        min-height: clamp(32rem, 34vw, 34rem);
    }

    .hero-content {
        gap: 1.5rem;
        padding: 2rem 2.5rem;
    }

    .hero-metrics {
        width: min(100%, 56rem);
    }

    .weather-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .current-weather {
        gap: var(--space-8);
    }

    .weather-symbol {
        width: 10.3rem;
        height: 10.3rem;
        font-size: 5.75rem;
    }

    .weather-summary h1 {
        font-size: 3.1rem;
    }

    .temperature-line {
        font-size: 6.25rem;
    }

    .weather-description {
        max-width: 42rem;
    }

    .content-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hourly,
    .weekly {
        grid-column: 1 / -1;
    }

    .astronomy-panel {
        grid-column: 1;
        grid-row: auto;
    }

    .alerts-panel {
        grid-column: 2;
    }

    .hourly-strip {
        grid-template-columns: repeat(var(--hourly-card-count, 12), minmax(7.9rem, 1fr));
        gap: var(--space-2);
        overflow-x: auto;
    }

    .hourly-card {
        min-height: 8.85rem;
        padding: var(--space-3) 0.95rem;
    }

    .forecast-list {
        grid-template-columns: repeat(7, minmax(8.75rem, 1fr));
        gap: var(--space-2);
        overflow-x: auto;
    }

    .forecast-day-card {
        min-height: 10.75rem;
        padding: 0.95rem;
    }
}

@media (min-width: 1360px) {
    :root {
        --content-max: 1560px;
    }

    .temperature-line {
        font-size: 6.55rem;
    }

    .hourly-strip {
        overflow-x: auto;
    }

    .forecast-list {
        overflow-x: visible;
    }
}

@media (min-width: 1600px) {
    :root {
        --content-max: 1640px;
    }

    .weather-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .content-grid {
        grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    }

    .app-shell {
        grid-template-columns: 17rem minmax(0, 1fr);
    }

    body[data-nav-collapsed="true"] .app-shell {
        grid-template-columns: 5.25rem minmax(0, 1fr);
    }

    .nav-link,
    .nav-collapse {
        min-height: 3.2rem;
    }
}

@media (hover: none) and (pointer: coarse) {
    .search-panel input,
    .hourly-range-button,
    .mobile-bottom-link {
        min-height: 2.75rem;
    }

    .site-header .icon-action,
    .search-panel .icon-action {
        width: 2.75rem;
        min-width: 2.75rem;
        height: 2.75rem;
    }

    .hourly-range-button {
        min-width: 2.75rem;
    }
}

@media (hover: none) and (pointer: coarse) and (min-width: 1180px) and (max-width: 1599px) {
    .nav-link,
    .nav-collapse {
        min-height: 2.75rem;
    }
}
