.site-clima {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 162, 237, 0.12) 0%, rgba(22, 46, 61, 0.06) 100%);
    border: 1px solid rgba(0, 162, 237, 0.18);
    color: #162e3d;
}

.site-clima[hidden] {
    display: none !important;
}

.site-clima__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.72);
    color: #00a2ed;
}

.site-clima__icon--sm {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: transparent;
}

.site-clima__body {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 10px;
    min-width: 0;
}

.site-clima__temp {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.site-clima__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.site-clima__place {
    font-size: 0.78rem;
    font-weight: 700;
    color: #0f766e;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.site-clima__cond {
    font-size: 0.82rem;
    line-height: 1.35;
    color: #64748b;
}

.site-clima.is-loading {
    opacity: 0.82;
}

/* Header compacto — ícone + temperatura */
.site-clima--header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 4px 6px;
    gap: 6px;
    min-width: 0;
    min-height: 44px;
    height: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
    color: #fff;
    flex-shrink: 0;
}

.site-clima-header__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.site-clima-header__weather .clima-google-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.site-clima-header__weather .clima-google-icon__img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.site-clima-header__temp {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
}

/* Negócios — faixa acima da busca */
.site-clima--negocios {
    margin: 0 0 14px;
}

/* Previsão 5 dias (notícias / sidebar) */
.site-clima--forecast {
    display: block;
    margin: 0;
    padding: 16px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.site-clima-forecast__head {
    margin-bottom: 12px;
}

.site-clima-forecast__title {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 800;
    color: #162e3d;
}

.site-clima-forecast__place {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    color: #0f766e;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.site-clima-forecast__now {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.site-clima-forecast__temp {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.site-clima-forecast__cond {
    font-size: 0.85rem;
    color: #64748b;
    flex: 1;
}

.site-clima-forecast__days {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.site-clima-forecast__day {
    display: grid;
    grid-template-columns: 3.5rem 1.75rem 4.5rem 1fr;
    gap: 8px;
    align-items: center;
    font-size: 0.82rem;
}

.site-clima-forecast__day-label {
    font-weight: 700;
    color: #334155;
}

.site-clima-forecast__day-icon {
    display: inline-flex;
    color: #00a2ed;
}

.site-clima-forecast__day-temps {
    font-weight: 700;
    color: #162e3d;
}

.site-clima-forecast__day-cond {
    color: #64748b;
    text-align: right;
}

@media (max-width: 768px) {
    .site-clima {
        margin-bottom: 10px;
        padding: 8px 10px;
    }

    .site-clima-header__visual,
    .site-clima-header__weather .clima-google-icon {
        width: 28px;
        height: 28px;
    }

    .site-clima__temp {
        font-size: 1.2rem;
    }

    .site-clima__cond {
        font-size: 0.78rem;
    }

    .site-clima-forecast__day {
        grid-template-columns: 3rem 1.5rem 4rem 1fr;
        font-size: 0.78rem;
    }
}

/* —— Modal de previsão (clique no clima do header) — premium, mobile-first —— */
.clima-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
}

.clima-modal.is-open {
    display: flex !important;
}

.clima-modal[hidden] {
    display: none !important;
}

.clima-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    margin: 0;
    background: rgba(6, 14, 24, 0.78);
    backdrop-filter: blur(6px) saturate(1.1);
    -webkit-backdrop-filter: blur(6px) saturate(1.1);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.16s ease;
}

.clima-modal.is-open .clima-modal__backdrop {
    opacity: 1;
}

.clima-modal__sheet {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    transform: translateY(100%);
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.clima-modal.is-open .clima-modal__sheet {
    transform: translateY(0);
}

.clima-modal__card {
    position: relative;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    background: #fff;
    box-shadow:
        0 -8px 40px rgba(8, 18, 28, 0.18),
        0 24px 48px rgba(8, 18, 28, 0.22);
}

.clima-modal__handle {
    display: none;
}

@media (max-width: 519px) {
    .clima-modal__handle {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 4;
        height: 30px;
        padding-top: 10px;
        cursor: grab;
        touch-action: none;
    }

    .clima-modal__handle::before {
        content: '';
        display: block;
        width: 42px;
        height: 4px;
        margin: 0 auto;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.5);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14);
    }

    .clima-modal__card:has(.clima-modal__hero[data-scene="snow"]) .clima-modal__handle::before,
    .clima-modal__card:has(.clima-modal__hero[data-scene="fog"]) .clima-modal__handle::before {
        background: rgba(15, 23, 42, 0.22);
    }

    .clima-modal__hero {
        padding-top: 38px;
    }
}

.clima-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(8, 18, 28, 0.12);
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.clima-modal__close:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.42);
    transform: scale(1.04);
}

.clima-modal__close:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 2px;
}

.clima-modal__card:has(.clima-modal__hero[data-scene="snow"]) .clima-modal__close,
.clima-modal__card:has(.clima-modal__hero[data-scene="fog"]) .clima-modal__close {
    background: rgba(15, 23, 42, 0.1);
    color: #475569;
    border-color: rgba(15, 23, 42, 0.12);
}

.clima-modal__hero {
    position: relative;
    overflow: hidden;
    padding: 32px 22px 24px;
    color: #fff;
    background: linear-gradient(155deg, #38bdf8 0%, #0ea5e9 42%, #0369a1 100%);
}

.clima-modal__hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 85% 15%, rgba(255, 255, 255, 0.14) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

.clima-modal__fx {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.clima-modal__hero-body {
    position: relative;
    z-index: 1;
}

.clima-modal__hero[data-scene="partly"] {
    background: linear-gradient(155deg, #7dd3fc 0%, #38bdf8 38%, #0284c7 100%);
}

.clima-modal__hero[data-scene="cloudy"] {
    background: linear-gradient(155deg, #cbd5e1 0%, #94a3b8 48%, #64748b 100%);
}

.clima-modal__hero[data-scene="rain"] {
    background: linear-gradient(155deg, #94a3b8 0%, #64748b 52%, #475569 100%);
}

.clima-modal__hero[data-scene="storm"] {
    background: linear-gradient(155deg, #64748b 0%, #475569 48%, #1e293b 100%);
}

.clima-modal__hero[data-scene="snow"] {
    background: linear-gradient(155deg, #e2e8f0 0%, #cbd5e1 42%, #94a3b8 100%);
}

.clima-modal__hero[data-scene="night-clear"] {
    background:
        radial-gradient(ellipse 70% 55% at 78% 12%, rgba(0, 162, 237, 0.22) 0%, transparent 58%),
        radial-gradient(ellipse 90% 70% at 20% 100%, rgba(49, 46, 129, 0.45) 0%, transparent 52%),
        linear-gradient(165deg, #0b1220 0%, #152a45 38%, #1e3a5f 62%, #1a1f4e 100%);
}

.clima-modal__hero[data-scene="night-cloudy"] {
    background:
        radial-gradient(ellipse 65% 50% at 75% 8%, rgba(148, 163, 184, 0.18) 0%, transparent 55%),
        linear-gradient(165deg, #111827 0%, #1e293b 45%, #334155 100%);
}

.clima-modal__hero[data-scene="night-rain"] {
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 162, 237, 0.12) 0%, transparent 50%),
        linear-gradient(165deg, #0f172a 0%, #1e293b 48%, #1e3a5f 100%);
}

.clima-modal__hero[data-scene="night-storm"] {
    background:
        radial-gradient(ellipse 60% 45% at 60% 5%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
        linear-gradient(165deg, #070d18 0%, #0f172a 40%, #1e293b 100%);
}

.clima-modal__hero[data-scene="night-snow"] {
    background:
        radial-gradient(ellipse 70% 55% at 80% 10%, rgba(226, 232, 240, 0.12) 0%, transparent 55%),
        linear-gradient(165deg, #111827 0%, #1e293b 50%, #334155 100%);
}

.clima-modal__hero[data-scene="fog"] {
    background: linear-gradient(160deg, #e2e8f0 0%, #cbd5e1 40%, #94a3b8 100%);
}

.clima-modal__hero[data-scene="night-fog"] {
    background:
        radial-gradient(ellipse 80% 55% at 50% 100%, rgba(100, 116, 139, 0.35) 0%, transparent 55%),
        linear-gradient(165deg, #111827 0%, #1e293b 45%, #334155 100%);
}

.clima-fx__sun {
    position: absolute;
    top: 10%;
    right: 12%;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #fff7c2 0%, #fbbf24 45%, #f59e0b 100%);
    box-shadow: 0 0 28px rgba(251, 191, 36, 0.65);
    animation: clima-sun-pulse 4s ease-in-out infinite;
}

.clima-fx__moon {
    position: absolute;
    top: 11%;
    right: 13%;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, #fff 0%, #e2e8f0 38%, #94a3b8 100%);
    box-shadow:
        0 0 24px rgba(248, 250, 252, 0.45),
        0 0 48px rgba(0, 162, 237, 0.15);
    animation: clima-moon-glow 6s ease-in-out infinite;
}

.clima-fx__moon::after {
    content: '';
    position: absolute;
    top: 4px;
    right: -6px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.55);
    box-shadow: inset 4px 0 8px rgba(0, 0, 0, 0.2);
}

.clima-fx__star {
    position: absolute;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
    animation: clima-star-twinkle 3.2s ease-in-out infinite;
}

.clima-fx__cloud {
    position: absolute;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.38);
    box-shadow:
        24px 0 0 -4px rgba(255, 255, 255, 0.32),
        -20px 4px 0 -6px rgba(255, 255, 255, 0.28);
    animation: clima-cloud-drift linear infinite;
}

.clima-fx__cloud--1 {
    top: 16%;
    left: -35%;
    width: 72px;
    height: 26px;
}

.clima-fx__cloud--2 {
    top: 34%;
    left: -55%;
    width: 96px;
    height: 30px;
    opacity: 0.85;
}

.clima-fx__cloud--3 {
    top: 24%;
    left: -45%;
    width: 64px;
    height: 22px;
    opacity: 0.7;
}

.clima-fx__fog {
    position: absolute;
    left: -25%;
    width: 150%;
    height: 52%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.22) 55%, transparent 100%);
    filter: blur(10px);
    animation: clima-fog-drift ease-in-out infinite alternate;
    pointer-events: none;
}

.clima-fx__fog--1 {
    bottom: -8%;
    animation-duration: 14s;
}

.clima-fx__fog--2 {
    bottom: 8%;
    height: 42%;
    opacity: 0.75;
    animation-duration: 18s;
    animation-delay: -4s;
}

.clima-modal__hero[data-scene="night-fog"] .clima-fx__fog {
    background: linear-gradient(to top, rgba(148, 163, 184, 0.38) 0%, rgba(148, 163, 184, 0.14) 55%, transparent 100%);
}

.clima-fx__fog--3 {
    bottom: 22%;
    height: 34%;
    opacity: 0.55;
    animation-duration: 22s;
    animation-delay: -9s;
}

.clima-fx__drop {
    position: absolute;
    top: -10%;
    width: 2px;
    height: 14px;
    border-radius: 2px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.55));
    animation: clima-rain-fall linear infinite;
}

.clima-fx__drop--light {
    width: 1.5px;
    height: 10px;
    opacity: 0.65;
}

.clima-fx__drop--heavy {
    width: 2.5px;
    height: 18px;
    opacity: 0.9;
}

.clima-fx__lightning {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    animation: clima-lightning 6s ease-in-out infinite;
}

.clima-fx__flake {
    position: absolute;
    top: -6%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.9;
    animation: clima-snow-fall linear infinite;
}

@keyframes clima-sun-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 24px rgba(251, 191, 36, 0.55);
    }
    50% {
        transform: scale(1.07);
        box-shadow: 0 0 42px rgba(251, 191, 36, 0.85);
    }
}

@keyframes clima-moon-glow {
    0%, 100% {
        opacity: 0.94;
        transform: translateY(0);
        box-shadow: 0 0 20px rgba(248, 250, 252, 0.35), 0 0 40px rgba(0, 162, 237, 0.12);
    }
    50% {
        opacity: 1;
        transform: translateY(-2px);
        box-shadow: 0 0 32px rgba(248, 250, 252, 0.55), 0 0 56px rgba(0, 162, 237, 0.22);
    }
}

@keyframes clima-star-twinkle {
    0%, 100% {
        opacity: 0.25;
        transform: scale(0.85);
    }
    50% {
        opacity: 1;
        transform: scale(1.25);
    }
}

@keyframes clima-cloud-drift {
    from { transform: translateX(0); }
    to { transform: translateX(420px); }
}

@keyframes clima-fog-drift {
    0% { transform: translateX(-6%) scale(1); }
    50% { transform: translateX(4%) scale(1.03); }
    100% { transform: translateX(-3%) scale(0.98); }
}

@keyframes clima-rain-fall {
    from {
        transform: translateY(-12px);
        opacity: 0;
    }
    10% { opacity: 1; }
    to {
        transform: translateY(190px);
        opacity: 0.2;
    }
}

@keyframes clima-lightning {
    0%, 90%, 100% { background: rgba(255, 255, 255, 0); }
    91% { background: rgba(255, 255, 255, 0.4); }
    92% { background: rgba(255, 255, 255, 0); }
    93% { background: rgba(255, 255, 255, 0.22); }
}

@keyframes clima-snow-fall {
    from { transform: translateY(-8px) translateX(0); }
    to { transform: translateY(200px) translateX(14px); }
}

@media (prefers-reduced-motion: reduce) {
    .clima-modal__backdrop,
    .clima-modal__sheet,
    .clima-modal__close {
        transition: none !important;
    }

    .clima-modal__fx * {
        animation: none !important;
    }
}

.clima-modal__hero[data-mood="cloudy"] {
    background: linear-gradient(155deg, #cbd5e1 0%, #94a3b8 48%, #64748b 100%);
}

.clima-modal__hero[data-mood="rain"] {
    background: linear-gradient(155deg, #94a3b8 0%, #64748b 52%, #475569 100%);
}

.clima-modal__hero[data-mood="storm"] {
    background: linear-gradient(155deg, #64748b 0%, #475569 48%, #1e293b 100%);
}

.clima-modal__hero-main {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    padding-right: 36px;
}

.clima-modal__hero-text {
    min-width: 0;
}

.clima-modal__hero-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    color: #fff;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.2));
}

.clima-modal__hero-icon .clima-google-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.clima-modal__hero-icon .clima-google-icon__img {
    display: block;
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.clima-modal__hero-icon svg {
    width: 52px;
    height: 52px;
    display: block;
}

.clima-modal__temp {
    margin: 0;
    font-size: clamp(2.75rem, 11vw, 3.25rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.clima-modal__cond {
    margin: 6px 0 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    opacity: 0.96;
    letter-spacing: -0.01em;
}

.clima-modal__meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 6px;
    font-size: 0.8rem;
}

.clima-modal__meta-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
}

.clima-modal__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
}

.clima-modal__stat {
    margin: 0;
    padding: 8px 8px 7px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    text-align: center;
    min-width: 0;
}

.clima-modal__stat dt {
    margin: 0 0 3px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.82;
}

.clima-modal__stat dd {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 380px) {
    .clima-modal__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.clima-modal__place {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 5px 10px 5px 8px;
    width: fit-content;
    max-width: 100%;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.clima-modal__place svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    display: block;
    opacity: 0.92;
}

.clima-modal__place span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.clima-modal__date {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 500;
    opacity: 0.88;
    letter-spacing: 0.01em;
}

.clima-modal__days {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 14px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    align-items: stretch;
}

.clima-modal__days::-webkit-scrollbar {
    display: none;
}

.clima-modal__day {
    flex: 0 0 auto;
    min-width: 88px;
    width: 88px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 6px 12px;
    gap: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    text-align: center;
    cursor: pointer;
    border-radius: 14px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    scroll-snap-align: start;
    font-size: 0.84rem;
    -webkit-tap-highlight-color: transparent;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.clima-modal__day--active {
    border-color: #0ea5e9;
    background: linear-gradient(180deg, #e0f2fe 0%, #f0f9ff 100%);
    box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.22);
}

.clima-modal__day--active .clima-modal__day-label {
    color: #0284c7;
}

.clima-modal__day:focus-visible {
    outline: 2px solid #0ea5e9;
    outline-offset: 2px;
}

.clima-modal__day + .clima-modal__day {
    border-top: 0;
}

.clima-modal__day-label {
    margin: 0 0 6px;
    width: 100%;
    font-weight: 700;
    font-size: 0.7rem;
    color: #94a3b8;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
}

.clima-modal__day-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 40px;
    margin-bottom: 6px;
}

.clima-modal__day-cond {
    margin: 4px 0 0;
    width: 100%;
    font-weight: 500;
    font-size: 0.65rem;
    line-height: 1.3;
    color: #94a3b8;
    text-align: center;
    min-height: 2.6em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.clima-modal__day-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    --clima-moon-shadow: #f1f5f9;
}

.clima-modal__day-icon svg {
    width: 28px;
    height: 28px;
    display: block;
}

.clima-modal__day-temp {
    margin: 0;
    font-weight: 800;
    font-size: 0.82rem;
    color: #0f172a;
    text-align: center;
    line-height: 1.25;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.clima-modal__days-empty {
    margin: 0;
    padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0px));
    text-align: center;
    color: #94a3b8;
    font-size: 0.88rem;
    width: 100%;
}

@media (max-width: 519px) {
    .clima-modal__backdrop {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(6, 14, 24, 0.88);
    }
}

@media (min-width: 520px) {
    .clima-modal {
        align-items: center;
        padding: 20px 16px;
    }

    .clima-modal__sheet {
        transform: translateY(16px) scale(0.96);
        opacity: 0;
        transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.18s ease;
    }

    .clima-modal.is-open .clima-modal__sheet {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    .clima-modal__card {
        border-radius: 24px;
    }

    .clima-modal__days {
        padding: 18px 18px 22px;
    }
}

body.clima-modal-open {
    overflow: hidden;
}
