* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    color: #fff;
    font-family: 'Arial', sans-serif;
    /* Remove or comment out overflow: hidden and height: 100vh to allow scrolling */
    /* overflow: hidden; */
    /* height: 100vh; */
}

.dashboard {
    width: 100vw;
    /* height: 100vh; */
    display: flex;
    flex-direction: column;
}

.weather-data {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 10px;
    background-color: #1a1a1a;
    flex-wrap: nowrap;
    gap: 15px;
}

.current-conditions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.current-conditions-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

#change-zip-btn {
    padding: 1px 5px;
    font-size: 0.7rem;
    background-color: #444;
    border: 1px solid #666;
    color: #ccc;
    cursor: pointer;
}

.forecast {
    flex: 1;
    min-width: 60vw;
    padding: 3px;
    background-color: #2c2c2c;
    border-radius: 5px;
}

.forecast-labels {
    margin-bottom: 5px;
}

.label-row {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 0.7rem;
    color: #00ff00;
    text-transform: uppercase;
    font-weight: bold;
}

.label-spacer {
    min-width: 55px;
    margin-right: 5px;
}

.temp-label {
    min-width: 55px;
    text-align: center;
}

.humidity-label {
    min-width: 55px;
    text-align: center;
}

.humidity-label-green {
    color: #00ff00;
    font-weight: bold;
}

.humidity-green {
    color: #00ff00;
    font-weight: bold;
}

.weather-data h2 {
    font-size: 0.8rem;
    margin: 0;
    color: #00ff00;
    text-transform: uppercase;
}

.location-input {
    display: flex;
    margin-top: 4px;
}

.location-input input, .location-input button {
    padding: 2px 5px;
    font-size: 0.8rem;
}

.current-weather {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 2px;
}

.current-weather .temp {
    font-size: 1.2rem;
    font-weight: bold;
}

.current-weather .description {
    font-size: 0.8rem;
    margin-bottom: 0;
}

.current-weather .details {
    font-size: 0.7rem;
    color: #aaa;
    display: flex;
    gap: 8px;
}

.forecast-grid {
    display: flex;
    overflow-x: auto;
    gap: 2px;
}

.forecast-day {
    min-width: 55px;
    text-align: center;
    padding: 3px;
    background-color: #222;
    border-radius: 4px;
    border-left: 3px solid #444;
}

.forecast-day.day {
    border-left-color: #ffd700;
    background-color: #2a2a2a;
}

.forecast-day.night {
    border-left-color: #4a90e2;
    background-color: #1a1a2a;
}

.forecast-day .description {
   display: none;
}

.forecast-day .day-name {
    font-size: 0.7rem;
    color: #00ff00;
    margin-bottom: 2px;
}

.forecast-day .temp {
    font-size: 0.9rem;
    font-weight: bold;
    color: #fff;
}

.forecast-day .temp-range {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.forecast-day .temp-high {
    font-size: 0.8rem;
    font-weight: bold;
    color: #ff6b6b;
}

.forecast-day .temp-low {
    font-size: 0.8rem;
    font-weight: bold;
    color: #4ecdc4;
}

.forecast-day .humidity-range {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.forecast-day .humidity-high {
    font-size: 0.6rem;
    color: #00ff00;
}

.forecast-day .humidity-low {
    font-size: 0.6rem;
    color: #00cc00;
}

.forecast-day .humidity {
    font-size: 0.7rem;
    color: #00ff00;
    margin-top: 2px;
}

.forecast-link {
    text-decoration: none;
    color: inherit;
}

.weather-icon {
    width: 25px;
    height: 25px;
    object-fit: cover;
}

.satellite-grid {
    display: grid;
    gap: 3px;
    padding: 3px;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(180px, 1fr);
    flex: 1;
    /* min-height: 0; */
}

.satellite-item.featured,
.forecast-link-container {
    height: auto;
    min-height: 100px;
    max-height: 300px;
    width: 100%;
    grid-row: 1;
}

.satellite-item.featured {
    height: 100%;
    width: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    border: 1px solid #222;
    overflow: hidden;
}

.satellite-item.featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
}

.forecast-link-container:first-of-type {
    grid-column: 2 / 3;
}

.forecast-link-container:last-of-type {
    grid-column: 3 / 4;
}

#forecast-map-links {
    grid-column: 3 / 5;
    height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

#forecast-map-links a {
    font-size: 1.2rem;
    color: #00ff00;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid #00ff00;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

#forecast-map-links a:hover {
    background-color: #00ff00;
    color: #000;
}

.satellite-item {
    position: relative;
    overflow: hidden;
    background-color: #000;
    width: 100%;
    height: 100%;
}

.satellite-item a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.satellite-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    padding: 5px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.satellite-item:hover .overlay-text {
    opacity: 1;
}

.overlay-text h3 {
    font-size: 0.9rem;
    margin: 0;
    color: #00ff00;
}

.overlay-text p {
    font-size: 0.8rem;
    margin: 0;
    color: #ccc;
}

/* --- ALERT STYLES --- */

#alerts-container {
    padding: 5px 10px;
}

.alert-item {
    padding: 8px;
    margin-bottom: 5px;
    border-radius: 4px;
    font-size: 0.8rem;
    border: 1px solid;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.alert-content {
    flex: 1;
}

.alert-close {
    background: none;
    border: none;
    color: #ccc;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 5px;
    margin-left: 10px;
    line-height: 1;
}

.alert-close:hover {
    color: #fff;
}

.alert-item.minor {
    background-color: #3e3e3e;
    border-color: #555;
}

.alert-item.warning {
    background-color: #4d4d00;
    border-color: #8b8b00;
}

.alert-item.watch {
    background-color: #4d2600;
    border-color: #ff4500;
}

.alert-item a {
    color: #00c4ff;
    text-decoration: none;
}

.alert-item a:hover {
    text-decoration: underline;
}

.hidden {
    display: none !important;
}

/* Forecast Link Button Styles */
.forecast-link-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border: 1px solid #222;
    border-radius: 5px;
    height: 100%;
}

.forecast-link-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 3;
}

.forecast-button-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.forecast-link-btn:hover .forecast-button-img {
    opacity: 0.5;
}

.forecast-button-content {
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    padding: 20px;
    pointer-events: none;
}

.forecast-link-btn h3 {
    font-size: 1rem;
    margin: 0 0 8px 0;
    color: #00ff00;
}

.forecast-link-btn p {
    font-size: 0.8rem;
    margin: 0;
    color: #ccc;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background-color: #000;
    margin: 2% auto;
    padding: 0;
    border: 1px solid #333;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #1a1a1a;
    border-bottom: 1px solid #333;
}

.modal-header h2 {
    margin: 0;
    color: #00ff00;
    font-size: 1.2rem;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover,
.close:focus {
    color: #fff;
}

.modal-body {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    overflow: auto;
}

.modal-body img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* Loading Spinner Styles */
.loading-spinner {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid #333;
    border-top: 3px solid #00ff00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.satellite-item.loading .loading-spinner {
    display: block;
}

/* Remove debug style for featured spinner */
/* .satellite-item.featured.loading .loading-spinner {
    display: block !important;
    border: 3px solid red !important;
    background: rgba(0,0,0,0.5);
    z-index: 10000 !important;
} */

.satellite-item.loading .satellite-image {
    opacity: 0.3;
}

/* Forecast button loading spinner */
.forecast-link-btn.loading {
    position: relative;
}

.forecast-link-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid #333;
    border-top: 3px solid #00ff00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
}

.forecast-link-btn.loading h3,
.forecast-link-btn.loading p {
    opacity: 0.3;
}

/* Modal image loading spinner */
.modal-body img.loading {
    opacity: 0.3;
}

.modal-body img.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid #333;
    border-top: 3px solid #00ff00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
}

@media (max-width: 900px) {
    .satellite-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(120px, 1fr);
    }
    .satellite-item.featured,
    .forecast-link-container {
        grid-column: 1 / 2 !important;
        height: 24vh;
        min-height: 100px;
        max-height: 200px;
    }
}

/* Mobile-First Responsive Design */
@media (max-width: 768px) {
    /* Weather Data Layout - Stack vertically */
    .weather-data {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 10px;
    }
    
    .current-conditions {
        width: 100%;
        order: 1;
    }
    
    .forecast {
        width: 100%;
        min-width: unset;
        order: 2;
        margin-top: 10px;
    }
    
    /* Current Conditions Header - Better mobile layout */
    .current-conditions-header {
        flex-direction: row;
        align-items: center;
        gap: 6px;
        margin-bottom: 8px;
        flex-wrap: nowrap;
    }
    
    .current-conditions-header h2 {
        font-size: 0.9rem;
        margin-bottom: 0;
        margin-right: auto;
        flex-shrink: 0;
    }
    
    /* Button group for the three buttons */
    .button-group {
        display: flex;
        gap: 4px;
        align-items: center;
    }
    
    /* Buttons - Touch-friendly sizing */
    #change-zip-btn,
    .mode-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
        min-height: 32px;
        border-radius: 4px;
        flex: 1;
        max-width: 80px;
    }
    
    /* Forecast Grid - Better mobile scrolling */
    .forecast-grid {
        gap: 4px;
        padding: 5px 0;
    }
    
    .forecast-day {
        min-width: 70px;
        padding: 8px 4px;
    }
    
    .forecast-day .day-name {
        font-size: 0.8rem;
    }
    
    .forecast-day .temp {
        font-size: 1rem;
    }
    
    /* Featured Animations - Stack vertically and make full-width */
    .forecast-animations-row {
        flex-direction: column;
        gap: 10px;
        max-height: none;
        height: auto;
        margin: 15px 0;
    }
    
    .forecast-animations-row > * {
        max-width: 100%;
        width: 100%;
        height: 180px;
        min-height: 160px;
    }
    
    /* Accordion Button Styles */
    .accordion-button {
        width: 100%;
        background: #1a1a1a;
        border: 1px solid #333;
        border-radius: 8px;
        padding: 12px 15px;
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        transition: background-color 0.2s;
        margin-bottom: 5px;
    }
    
    .accordion-button:hover {
        background: #2a2a2a;
    }
    
    .accordion-button.active {
        background: #2a2a2a;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    
    /* Hamburger Icon */
    .hamburger-icon {
        width: 20px;
        height: 20px;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: transform 0.3s;
    }
    
    .hamburger-icon::before,
    .hamburger-icon::after,
    .hamburger-icon span {
        content: '';
        width: 16px;
        height: 2px;
        background: #00ff00;
        transition: all 0.3s;
        position: absolute;
    }
    
    .hamburger-icon::before {
        transform: translateY(-6px);
    }
    
    .hamburger-icon::after {
        transform: translateY(6px);
    }
    
    .hamburger-icon span {
        transform: translateY(0);
    }
    
    /* Active hamburger animation */
    .accordion-button.active .hamburger-icon::before {
        transform: translateY(0) rotate(45deg);
    }
    
    .accordion-button.active .hamburger-icon::after {
        transform: translateY(0) rotate(-45deg);
    }
    
    .accordion-button.active .hamburger-icon span {
        opacity: 0;
    }
    
    /* Accordion Title */
    .accordion-title {
        font-weight: bold;
        color: #00ff00;
        font-size: 0.9rem;
        text-transform: uppercase;
        flex: 1;
    }
    
    /* Accordion Content */
    .accordion-content {
        background: #1a1a1a;
        border: 1px solid #333;
        border-top: none;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s ease-out;
    }
    
    .accordion-content.open {
        max-height: 1000px;
        transition: max-height 0.3s ease-in;
    }
    
    /* Mobile/Desktop visibility */
    .featured-animations-mobile {
        display: block;
    }
    
    .forecast-summary-mobile {
        display: block;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    /* Hide the original forecast-animations-row on mobile */
    .forecast-animations-row:not(.desktop-only) {
        display: none !important;
    }
    
    /* Accordion content styling */
    .accordion-content .satellite-item,
    .accordion-content .forecast-link-container {
        height: 200px;
        min-height: 180px;
        margin: 10px;
        border-radius: 8px;
    }
    
    /* Hide overlay text on mobile for accordion content */
    .accordion-content .overlay-text {
        display: none !important;
    }
    
    .accordion-content .forecast-button-content {
        display: none !important;
    }
    
    /* Remove shaded overlay effect on forecast maps for mobile */
    .accordion-content .forecast-button-img {
        opacity: 1 !important;
    }
    
    .accordion-content .forecast-link-btn:hover .forecast-button-img {
        opacity: 1 !important;
    }
    
    /* Ensure desktop forecast maps are not affected by mobile rules */
    .forecast-animations-row .forecast-button-img {
        opacity: 0.3 !important;
    }
    
    .forecast-animations-row .forecast-link-btn:hover .forecast-button-img {
        opacity: 0.5 !important;
    }
    
    /* Override for desktop only */
    @media (min-width: 769px) {
        .forecast-animations-row .forecast-button-img {
            opacity: 0.85 !important;
        }
        
        .forecast-animations-row .forecast-link-btn:hover .forecast-button-img {
            opacity: 1 !important;
        }
    }
    
    /* Satellite Grid - Single column */
    .satellite-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px;
    }
    
    .satellite-item {
        min-height: 150px;
    }
    
    /* Accordion Styling - Mobile-friendly */
    #forecast-summary-container,
    #satellite-accordion-container {
        margin: 10px 0;
        border-radius: 8px;
        border: 1px solid #333;
    }
    
    /* Accordion Headers - Touch-friendly */
    #forecast-summary-container > div,
    #satellite-accordion-container > div {
        padding: 15px;
        min-height: 50px;
        display: flex;
        align-items: center;
    }
    
    /* Accordion Content - Better spacing */
    #forecast-summary-content,
    #daily-summary-content,
    #hourly-summary-content,
    #daily-summary-content-desktop,
    #hourly-summary-content-desktop,
    #satellite-accordion-content {
        padding: 15px;
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Modal - Better mobile sizing */
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 15px;
    }
    
    .modal-header h2 {
        font-size: 1.1rem;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    /* Current Weather Details - Better mobile layout */
    .current-weather {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .current-weather .details {
        flex-direction: column;
        gap: 3px;
    }
    
    /* Location Input - Better mobile layout */
    .location-input {
        flex-direction: column;
        gap: 8px;
    }
    
    .location-input input,
    .location-input button {
        padding: 10px;
        font-size: 1rem;
        border-radius: 6px;
    }
    
    /* Alerts - Better mobile layout */
    .alert-item {
        padding: 12px;
        margin-bottom: 8px;
        border-radius: 6px;
    }
    
    .alert-close {
        padding: 8px;
        font-size: 1.5rem;
    }
    
    /* Footer - Better mobile spacing */
    .weather-footer {
        margin: 30px 0 20px 0;
        padding: 0 15px;
        font-size: 0.9rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .weather-data {
        padding: 8px;
    }
    
    .current-conditions-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .current-conditions-header h2 {
        font-size: 0.9rem;
    }
    
    #change-zip-btn,
    .mode-btn {
        padding: 10px 15px;
        font-size: 1rem;
        min-height: 44px;
    }
    
    .forecast-day {
        min-width: 60px;
        padding: 6px 3px;
    }
    
    .forecast-day .day-name {
        font-size: 0.7rem;
    }
    
    .forecast-day .temp {
        font-size: 0.9rem;
    }
    
    .forecast-animations-row > * {
        height: 180px;
        min-height: 160px;
    }
    
    .satellite-item {
        min-height: 120px;
    }
    
    /* Accordion content - Smaller text for very small screens */
    #forecast-summary-content,
    #daily-summary-content,
    #hourly-summary-content,
    #daily-summary-content-desktop,
    #hourly-summary-content-desktop,
    #satellite-accordion-content {
        font-size: 0.85rem;
        padding: 12px;
    }
    
    /* Modal - Even smaller for very small screens */
    .modal-content {
        width: 98%;
        margin: 2% auto;
    }
    
    .modal-header {
        padding: 12px;
    }
    
    .modal-header h2 {
        font-size: 1rem;
    }
    
    .modal-body {
        padding: 12px;
    }
}

/* Landscape Mobile - Optimize for wider screens */
@media (max-width: 900px) and (orientation: landscape) {
    .weather-data {
        flex-direction: row;
        gap: 15px;
    }
    
    .current-conditions {
        flex: 1;
        order: 1;
    }
    
    .forecast {
        flex: 1;
        order: 2;
        margin-top: 0;
    }
    
    .forecast-animations-row {
        flex-direction: row;
        max-height: 25vh;
        height: 25vh;
    }
    
    .forecast-animations-row > * {
        max-width: 32%;
        height: 100%;
    }
}

.weather-footer {
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    color: #aaa;
    background: transparent;
    margin: 20px 0 10px 0;
}

.weather-footer a {
    color: #00ffcc;
    text-decoration: none;
}

.weather-footer a:hover {
    text-decoration: underline;
}

.forecast-animations-row {
    display: flex;
    gap: 10px;
    margin: 10px 0 20px 0;
    justify-content: space-between;
    align-items: stretch;
    max-height: 32vh;
    height: 32vh;
}

.forecast-animations-row > * {
    flex: 1 1 0;
    max-width: 32%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.satellite-item.featured {
    height: 100%;
    width: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    border: 1px solid #222;
    overflow: hidden;
}

.satellite-item.featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
}

.mode-btn {
    padding: 1px 5px;
    font-size: 0.7rem;
    background-color: #444;
    border: 1px solid #666;
    color: #ccc;
    cursor: pointer;
    border-radius: 3px;
    margin: 0 2px;
    transition: background 0.2s, color 0.2s;
}
.mode-btn-active {
    background-color: #666;
    color: #fff;
    font-weight: bold;
    border: 1px solid #aaa;
    cursor: default;
}
.mode-btn:disabled {
    opacity: 1;
    cursor: default;
}

.temp-high {
    font-size: 0.8rem;
    font-weight: bold;
    color: #ff6b6b;
}
.temp-low {
    font-size: 0.8rem;
    font-weight: bold;
    color: #4ecdc4;
}

/* Desktop styles - show desktop version, hide mobile */
@media (min-width: 769px) {
    .forecast-summary-mobile {
        display: none !important;
    }
    .desktop-only {
        display: flex !important;
    }
    /* Special case for forecast summary container - needs to be block */
    #forecast-summary-container.desktop-only {
        display: block !important;
    }
    /* Ensure forecast summary content is visible */
    #forecast-summary-container .desktop-only {
        display: block !important;
    }
    /* Ensure forecast map images are visible on desktop */
    #temp-forecast-img-desktop,
    #precip-forecast-img-desktop {
        display: block !important;
        opacity: 0.85 !important;
        width: 100%;
        height: auto;
    }
    
    .featured-animations-mobile {
        display: none !important;
    }
    
    .forecast-animations-row {
        display: flex !important;
    }
    
    .desktop-only .forecast-animations-row .forecast-button-img {
        opacity: 0.85 !important;
    }
    
    .desktop-only .forecast-animations-row .forecast-link-btn:hover .forecast-button-img {
        opacity: 1 !important;
    }
    
    .forecast-animations-row .forecast-button-content {
        display: block !important;
    }
    
    .forecast-animations-row .overlay-text {
        display: block !important;
    }
    
    .button-group {
        display: flex;
        gap: 4px;
        align-items: center;
    }
    
    #change-zip-btn,
    .mode-btn {
        padding: 1px 5px;
        font-size: 0.7rem;
        min-height: auto;
        border-radius: 3px;
        flex: none;
        max-width: none;
    }
    
    .current-conditions-header {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        margin-bottom: 0;
        flex-wrap: wrap;
    }
    
    .current-conditions-header h2 {
        font-size: 0.8rem;
        margin-bottom: 0;
        margin-right: 0;
        flex-shrink: 0;
    }
}