        /* lay out TZ + time + label on one line, label sticks to timer edge */
        .time-zone {
            display: flex;
            align-items: center;
            gap: 0;
            min-width: 0;
        }

            .time-zone .tz-dropdown {
                flex: 0 0 auto;
                margin-right: 12px;
            }

            .time-zone .time-display {
                flex: 0 1 auto;
                min-width: 0;
            }

            .time-zone .time-label {
                white-space: nowrap;
                margin-left: 0;
                flex: 0 0 auto;
            }
        /* Time & Timer */
        .time-display {
            display: flex;
            align-items: center;
            gap: 16px;
            min-width: 0;
            overflow: hidden;
        }

            /* make countdown block visually dominant */
            .time-display .time-block:first-child {
                flex: 1 1 auto;
            }

            .time-display .countdown-block {
                flex: 3 1 auto;
                min-width: 0;
            }

        #current-time {
            font: 700 35px 'Manrope', sans-serif;
            color: #fff;
            min-width: 150px;
        }

        #countdown {
            font: 700 35px 'Manrope', sans-serif;
            color: #fff;
            white-space: nowrap;
            font-size: clamp(24px, 3.2vw, 35px);
        }

        .divider-vertical {
            width: 1px;
            height: 40px;
            background: #fff;
        }

        .time-label {
            font: 500 14px 'Manrope', sans-serif;
            color: #fff;
            margin-left: 6px; /* stick to timer edge */
        }
        /* Dropdown */
        .tz-dropdown {
            position: relative;
        }

            .tz-dropdown summary {
                gap: 6px;
                list-style: none; /* hide default left marker */
                display: inline-flex;
                align-items: center;
            }

                .tz-dropdown summary::-webkit-details-marker {
                    display: none;
                }

                .tz-dropdown summary::marker {
                    content: '';
                }

                .tz-dropdown summary::before {
                    content: '';
                    display: inline-block;
                    width: 18px;
                    height: 18px;
                    margin-right: 6px;
                    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
                    background-repeat: no-repeat;
                    background-position: center;
                    background-size: contain;
                }

            .tz-dropdown[open] summary::after {
                transform: rotate(180deg);
            }

        /* Panel grid */
        .tz-panel {
            position: absolute;
            top: calc(100% + 8px);
            left: 0;
            background: rgba(20,20,20,.9);
            padding: 16px;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,.6);
            display: grid;
            grid-template-columns: 1fr 2fr; /* minus column, plus column (wider) */
            gap: 16px;
            min-width: 1180px; /* room for three columns on the + side */
            opacity: 0;
            visibility: hidden;
            transition: opacity .3s ease;
            z-index: 10001;
        }

        .tz-dropdown[open] .tz-panel {
            opacity: 1;
            visibility: visible;
        }

        .tz-column {
            display: flex;
            flex-direction: column;
        }

            .tz-column h4 {
                margin: 0 0 8px;
                font: 600 14px 'Manrope',sans-serif;
                color: #aaa;
                border-bottom: 1px solid #444;
                padding-bottom: 4px;
            }

        .tz-positive {
            border-left: 1px solid #444;
            padding-left: 16px;
        }

        .tz-negative .tz-list {
            columns: 1;
        }

        .tz-positive .tz-list {
            columns: 4;
            column-gap: 16px;
        }

            .tz-positive .tz-list li {
                break-inside: avoid;
            }

        .tz-list {
            list-style: none;
            margin: 0;
            padding: 0;
        }

            .tz-list li {
                padding: 6px 8px;
                color: #fff;
                cursor: pointer;
                border-radius: 4px;
            }

                .tz-list li:hover {
                    background: #33a0a0;
                }

                .tz-list li.selected {
                    background: #006666;
                }



        .tz-save {
            grid-column: 1/-1;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            margin-top: 12px;
        }

            .tz-save .save-left, .tz-save .dst-right {
                display: flex;
                align-items: center;
                gap: 8px;
            }

        .dst-state {
            color: #bbb;
            margin-left: 6px;
        }

        .switch {
            position: relative;
            display: inline-block;
            width: 40px;
            height: 20px;
        }

            .switch input {
                opacity: 0;
                width: 0;
                height: 0;
            }

        .slider {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: #555;
            border-radius: 20px;
            transition: .4s;
        }

            .slider::before {
                content: '';
                position: absolute;
                width: 16px;
                height: 16px;
                left: 2px;
                bottom: 2px;
                background: #fff;
                border-radius: 50%;
                transition: .4s;
            }

        input:checked + .slider {
            background: #006666;
        }

            input:checked + .slider::before {
                transform: translateX(20px);
            }
        /* Logo */
        .logo {
            display: flex;
            align-items: center;
            gap: 8px;
            font: 800 42px 'Manrope', sans-serif;
            color: #fff;
            text-decoration: none;
            transition: color 0.3s;
        }

            .logo img {
                height: 70px;
                display: block;
            }

            .logo div {
                display: flex;
                flex-direction: column;
                justify-content: center;
                line-height: 1;
            }

        .logo-text {
            display: block;
        }

        .logo-subtext {
            display: block;
            margin-top: -4px;
            font: 500 14px 'Manrope', sans-serif;
            letter-spacing: 0.3em;
            text-transform: uppercase;
        }

        .logo:hover .logo-text,
        .logo:hover .logo-subtext {
            color: transparent;
            background: radial-gradient(circle at 50% 50%, #22d1a6, #1bb69b 30%, #159b8f 55%, #187c83 75%, #125f5c);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-size: 200% auto;
            animation: logoPulse 4s infinite ease-in-out;
        }

        @keyframes logoPulse {
            0%,100% {
                background-position: 0% 50%;
            }

            50% {
                background-position: 100% 50%;
            }
        }
        
                .lang-dd {
            position: relative;
            grid-column: 4;
            justify-self: end;
            margin-right: 0;
        }

        .lang-toggle {
            width: 32px;
            height: 32px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            background: transparent;
            border: none;
            border-radius: 10px;
            transition: background .18s ease, box-shadow .18s ease, transform .12s ease, border-color .18s ease;
        }

            .lang-toggle svg {
                width: 20px;
                height: 20px;
            }

        .lang-dd summary, .lang-toggle {
            list-style: none;
        }

            .lang-dd summary::-webkit-details-marker, .lang-toggle::-webkit-details-marker {
                display: none;
            }

            .lang-dd summary::marker, .lang-toggle::marker {
                content: '';
            }

        .lang-dd[open] .lang-toggle {
            background: rgba(255,255,255,.10);
            box-shadow: 0 6px 16px rgba(0,0,0,.28), 0 0 0 2px rgba(255,255,255,.14);
            transform: translateY(-1px);
        }

        .lang-toggle:hover {
            background: rgba(255,255,255,.08);
            box-shadow: 0 0 0 2px rgba(255,255,255,.12);
            transform: translateY(-1px);
        }

        .lang-toggle:focus-visible {
            outline: 2px solid #22c3c3;
            outline-offset: 2px;
        }

        .lang-panel {
            position: absolute;
            right: 0;
            top: calc(100% + 8px);
            background: rgba(20,20,20,.95);
            border-radius: 12px;
            padding: 12px;
            box-shadow: 0 8px 24px rgba(0,0,0,.5);
            display: grid;
            gap: 8px;
            min-width: 200px;
            opacity: 0;
            transform: translateY(6px) scale(.98);
            visibility: hidden;
            pointer-events: none;
            transition: opacity .18s ease, transform .22s cubic-bezier(.22,.8,.24,.99), visibility 0s linear .18s, box-shadow .2s ease;
        }

            .lang-panel::before {
                content: '';
                position: absolute;
                top: -8px;
                right: 16px;
                border: 8px solid transparent;
                border-bottom-color: rgba(20,20,20,.95);
            }

        .lang-dd[open] .lang-panel {
            opacity: 1;
            transform: none;
            visibility: visible;
            pointer-events: auto;
            transition-delay: 0s;
        }

        .lang-panel button {
            position: relative;
            padding: 10px 12px;
            border: 1px solid rgba(255,255,255,.18);
            background: rgba(255,255,255,.04);
            color: #fff;
            border-radius: 10px;
            font-weight: 600;
            cursor: pointer;
            text-align: left;
            transition: background .18s ease, border-color .18s ease, transform .06s ease, box-shadow .18s ease;
        }

            .lang-panel button:hover {
                background: rgba(255,255,255,.08);
                border-color: rgba(255,255,255,.28);
                box-shadow: 0 2px 6px rgba(0,0,0,.20);
            }

            .lang-panel button:active {
                transform: translateY(1px);
            }

            .lang-panel button:focus-visible {
                outline: 2px solid #22c3c3;
                outline-offset: 2px;
            }

            .lang-panel button:active {
                transform: translateY(1px);
            }

            .lang-panel button:focus-visible {
                outline: 2px solid #22c3c3;
                outline-offset: 2px;
            }
            .lang-panel button.active {
                background: rgba(34, 195, 195, .12);
                border-color: rgba(34, 195, 195, .45);
                box-shadow: inset 0 0 0 1px rgba(34,195,195,.25);
            }

                .lang-panel button.active::after {
                    content: '✓';
                    position: absolute;
                    right: 12px;
                    top: 50%;
                    transform: translateY(-50%);
                    opacity: .9;
                    font-weight: 800;
                }

        .lang-zone.lang {
            display: contents;
        }


/* ===== v4 fixes (menu colors + correct mobile visibility) ===== */

/* ensure the "mobile" burger menu is truly hidden above 900px (it was being overridden by .nav-dd display rules) */
.nav-dd.nav-dd--mobile{ display:none !important; }
@media (max-width: 900px){
  .nav-dd.nav-dd--mobile{ display:block !important; }
}

/* menu gradients per page (same palette as the circular pills) */
.nav-panel .nav-menu-item--news{ --menu-grad: var(--menu-news); }
.nav-panel .nav-menu-item--launches{ --menu-grad: var(--menu-launches); }
.nav-panel .nav-menu-item--tech{ --menu-grad: var(--menu-tech); }
.nav-panel .nav-menu-item--gallery{ --menu-grad: var(--menu-gallery); }
.nav-panel .nav-menu-item--quiz{ --menu-grad: var(--menu-quiz); }
.nav-panel .nav-menu-item--about{ --menu-grad: var(--menu-about); }
.nav-panel .nav-menu-item--team{ --menu-grad: var(--tab-team); }
.nav-panel .nav-menu-item--support{ --menu-grad: var(--tab-support); }
