        body, html {
            margin: 0;
            padding: 0;
            height: 100%;
            background: #ececec;
            overflow: hidden;
        }

        #header {
            position: relative;
            z-index: 9999 !important;
        }

        #mobile_nav {
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background: #fff;
            z-index: 10000;
            padding: 15px;
            box-sizing: border-box;
            border-bottom: 3px solid #333;
            max-height: 80vh;
            overflow-y: auto;
            display: none;
            box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        }

        #mobile_nav h3 { margin: 15px 0 10px 0; font-size: 1.1rem; color: #555; text-transform: uppercase; border-bottom: 1px solid #eee; padding-bottom: 5px; }
        .nav-sections a { display: inline-block; padding: 5px 10px; margin: 2px; background: #f0f0f0; text-decoration: none; color: #000; font-weight: bold; }
        .nav-tags { line-height: 1.6; font-size: 0.9rem; }
        .nav-tags a { color: #444; text-decoration: none; border-bottom: 1px dotted #ccc; margin-right: 8px; white-space: nowrap; }
        .nav-tags a:hover { color: #d00; border-bottom-color: #d00; }
        .show-all-tags { display: block; margin-top: 15px; font-weight: bold; color: #0044cc; text-decoration: none; text-align: center; background: #f9f9f9; padding: 10px; }

        .shorts-container {
            height: calc(100dvh - 230px); 
            overflow-y: scroll;
            scroll-snap-type: y mandatory;
            scrollbar-width: none;
            background: #000;
            position: relative;
        }
        .shorts-container::-webkit-scrollbar { display: none; }

        .short-item {
            height: 100%;
            width: 100%;
            scroll-snap-align: start;
            scroll-snap-stop: always;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #000;
        }

        /* Общие стили для видео и фреймов YouTube */
        video, iframe {
            width: 100%;
            height: 100%;
            border: none;
            object-fit: contain;
        }

        .overlay {
            position: absolute;
            bottom: 30px;
            left: 20px;
            right: 20px;
            color: #fff;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, .8);
            z-index: 10;
            pointer-events: none;
        }

        .sound-hint-global {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(0, 0, 0, .6);
            color: #fff;
            padding: 8px 15px;
            border-radius: 20px;
            font-size: .8rem;
            z-index: 100;
            pointer-events: none;
            transition: opacity 0.3s;
        }
