@media (max-width: 768px) {
    body {
        flex-direction: column;
        height: auto;
    }

    .sidebar {
        width: 100%;
        height: 70px;
        flex-direction: row;
        bottom: 0;
        top: auto;
        border-right: none;
        border-top: 1px solid var(--glass-border);
        justify-content: space-evenly;
        padding: 0;
        gap: 0;
        background: var(--glass-bg-dark);
        box-shadow: inset 0 1px 0 var(--glass-highlight);
    }
    
    .sidebar-icon {
        margin-bottom: 0;
        width: auto;
        height: 100%;
        padding: 0 15px;
        border-radius: 0;
    }
    
    .sidebar-icon.logo-icon {
        display: none;
    }
    
    .sidebar-spacer {
        display: none;
    }
    
    .sidebar-climate {
        flex-direction: row;
        gap: 10px;
        margin: 0;
        padding: 0 10px;
        border-left: 1px solid rgba(255,255,255,0.1);
        border-right: 1px solid rgba(255,255,255,0.1);
    }

    .climate-temp {
        font-size: 12px;
    }

    .climate-controls svg {
        width: 16px;
        height: 16px;
    }
    
    .sidebar-icon.active::before {
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        width: 20px;
        height: 3px;
        border-radius: 0 0 4px 4px;
    }

    .main-viewport {
        margin-left: 0;
        padding: 20px;
        padding-bottom: 90px;
        height: auto;
        overflow-y: visible;
    }
    
    .hero-widget {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        background-position: center;
    }

    /* В колонку слоган встаёт под кнопки и только удлиняет экран */
    .hero-tagline {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .version-tags {
        justify-content: center;
    }
    
    .apps-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
    }
}