.tonight-heading-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    justify-content: flex-end;
}

.tonight-condition-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.2rem;
}

.tonight-score-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 165px;
    padding: 1.35rem;
    border: 1px solid var(--border, rgba(123, 145, 180, .22));
    border-radius: 22px;
    background:
        radial-gradient(
            circle at 88% 10%,
            rgba(77, 114, 255, .25),
            transparent 42%
        ),
        var(--surface, rgba(14, 22, 38, .76));
}

.tonight-score-card span,
.tonight-score-card small {
    color: var(--muted, #aeb9ca);
}

.tonight-score-card strong {
    margin: .25rem 0;
    font-size: 2.6rem;
}

.tonight-advice-panel,
.tonight-timeline-panel {
    margin-top: 1.2rem;
}

.tonight-advice-list {
    display: grid;
    gap: .8rem;
    margin: 1.1rem 0 0;
    padding: 0;
    list-style: none;
}

.tonight-advice-list li {
    position: relative;
    min-height: 36px;
    padding: .75rem 1rem .75rem 3rem;
    border: 1px solid var(--border, rgba(123, 145, 180, .18));
    border-radius: 14px;
    background: rgba(4, 9, 18, .34);
    color: var(--muted, #b7c1d1);
}

.tonight-advice-list li::before {
    content: "✓";
    position: absolute;
    left: .9rem;
    top: .65rem;
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: rgba(91, 133, 255, .15);
    color: #9eb2ff;
    font-weight: 800;
}

.tonight-section {
    margin-top: 2rem;
}

.tonight-target-grid,
.tonight-planet-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.tonight-target-card,
.tonight-planet-card {
    padding: 1.25rem;
    border: 1px solid var(--border, rgba(123, 145, 180, .22));
    border-radius: 20px;
    background: var(--surface, rgba(14, 22, 38, .76));
}

.tonight-card-heading {
    display: flex;
    justify-content: space-between;
    gap: .9rem;
    align-items: flex-start;
}

.tonight-card-heading h3 {
    margin: .3rem 0 .25rem;
}

.tonight-card-heading small,
.tonight-target-card > p {
    color: var(--muted, #aeb9ca);
}

.tonight-target-card svg,
.tonight-planet-card svg {
    width: 100%;
    height: 112px;
    margin-top: .75rem;
}

.tonight-facts {
    margin: 1rem 0;
}

.tonight-facts div {
    display: flex;
    justify-content: space-between;
    gap: .8rem;
    padding: .45rem 0;
    border-bottom: 1px solid var(--border, rgba(123, 145, 180, .16));
}

.tonight-facts dt {
    color: var(--muted, #aeb9ca);
}

.tonight-facts dd {
    margin: 0;
    max-width: 58%;
    text-align: right;
    font-weight: 650;
}

.tonight-timeline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.1rem;
}

.tonight-timeline article {
    position: relative;
    padding: 1.2rem;
    border: 1px solid var(--border, rgba(123, 145, 180, .18));
    border-radius: 16px;
    background: rgba(4, 9, 18, .32);
}

.tonight-timeline article > span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(84, 117, 255, .16);
    color: #a9b9ff;
    font-weight: 800;
}

.tonight-timeline h3 {
    margin: .8rem 0 .45rem;
}

.tonight-timeline p {
    margin: 0;
    color: var(--muted, #aeb9ca);
}

#tonight-copy-status {
    display: block;
    min-height: 1.4rem;
    margin-top: .4rem;
    color: var(--muted, #aeb9ca);
}

@media (max-width: 1150px) {
    .tonight-condition-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

@media (max-width: 760px) {
    .tonight-heading-actions {
        justify-content: flex-start;
    }

    .tonight-condition-grid,
    .tonight-target-grid,
    .tonight-planet-grid,
    .tonight-timeline {
        grid-template-columns: 1fr;
    }
}
