/* Keep the full menu on one row; use the existing compact navigation below 1280px. */
@media only screen and (min-width: 1280px) {
    header.main .hbox {
        box-sizing: border-box;
        padding-right: 20px;
        padding-left: 20px;
    }

    header.main .fix-hidden {
        display: flex;
        align-items: center;
        width: 100%;
        height: 70px;
        overflow: visible;
    }

    header.main .hbox .logo,
    header.main .head-main-nav,
    header.main .headitems,
    header.main .dtuser,
    header.main .dtuser .gravatar,
    header.main .dtuser .gravatar .image {
        float: none;
    }

    header.main .hbox .logo {
        flex: 0 0 auto;
    }

    header.main .head-main-nav {
        flex: 1 1 auto;
        min-width: 0;
    }

    header.main .head-main-nav ul.main-header {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        float: none;
        width: max-content;
        height: 70px;
    }

    header.main .head-main-nav ul.main-header > li {
        position: relative;
        flex: 0 0 auto;
        float: none;
        height: 70px;
    }

    header.main .head-main-nav ul.main-header > li > a {
        display: flex;
        align-items: center;
        gap: 7px;
        float: none;
        height: 70px;
        padding: 0 12px;
        font-size: 15px;
        line-height: 20px;
        letter-spacing: 0.02em;
        white-space: nowrap;
    }

    header.main .head-main-nav ul.main-header > li > a > i,
    header.main .head-main-nav ul.main-header > li > a > svg {
        flex: 0 0 auto;
        top: auto;
        margin: 0;
        padding: 0;
        font-size: 16px;
    }

    header.main .head-main-nav ul.main-header > li.menu-item-has-children > a::after {
        float: none;
        margin: -3px 0 0;
    }

    header.main .head-main-nav ul.main-header > li > ul.sub-menu {
        top: 100%;
        left: 0;
        min-width: 190px;
    }

    header.main .head-main-nav ul.main-header > li:focus-within > ul.sub-menu {
        display: block;
    }

    header.main .yume-header-actions,
    header.main .yume-header-actions.register_active {
        position: relative;
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        width: auto;
        height: 70px;
        margin: 0 0 0 16px;
    }

    header.main .hbox .yume-header-actions .yume-header-search {
        width: clamp(180px, 14vw, 220px);
        min-width: 180px;
        max-width: 220px;
        padding: 0;
        overflow: visible;
    }

    header.main .hbox .yume-header-search form {
        position: relative;
        width: 100%;
        height: 42px;
        padding: 0;
        overflow: hidden;
        border: 1px solid rgba(113, 154, 255, 0.18);
        border-radius: 12px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.035));
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 8px 24px rgba(0, 0, 0, 0.14);
        transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
    }

    header.main .hbox .yume-header-search form:focus-within {
        border-color: rgba(109, 184, 255, 0.62);
        background: linear-gradient(180deg, rgba(67, 137, 255, 0.11), rgba(255, 255, 255, 0.045));
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 0 3px rgba(67, 137, 255, 0.1), 0 10px 28px rgba(0, 0, 0, 0.18);
    }

    header.main .hbox .yume-header-search form input[type="text"] {
        box-sizing: border-box;
        width: 100%;
        height: 40px;
        min-height: 40px;
        padding: 0 48px 0 15px;
        border: 0 !important;
        border-radius: 0 !important;
        outline: 0;
        background: transparent !important;
        color: #f7f9ff !important;
        font-family: "Rajdhani", sans-serif;
        font-size: 15px;
        font-weight: 500;
        letter-spacing: 0.01em;
        box-shadow: none !important;
    }

    header.main .hbox .yume-header-search form input[type="text"]::placeholder {
        color: #7f8798;
        opacity: 1;
    }

    header.main .hbox .yume-header-search form button[type="submit"] {
        position: absolute;
        top: 0;
        right: 0;
        display: grid;
        place-items: center;
        width: 44px;
        height: 40px;
        padding: 0;
        border: 0;
        outline: 0;
        background: transparent;
        color: #f5f8ff !important;
        font-size: 15px;
        cursor: pointer;
        transition: color 180ms ease, transform 180ms ease;
    }

    header.main .hbox .yume-header-search form button[type="submit"]:hover,
    header.main .hbox .yume-header-search form button[type="submit"]:focus-visible {
        color: #06f31d !important;
        transform: scale(1.08);
    }

    header.main .yume-header-account {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        height: 38px;
        margin: 0 0 0 13px;
        padding: 0 0 0 14px;
        border-left: 1px solid rgba(255, 255, 255, 0.17);
    }

    header.main .yume-header-account .gravatar {
        position: relative;
        display: flex;
        align-items: center;
        padding: 0;
    }

    header.main .yume-header-account .gravatar .image {
        position: relative;
        display: flex;
        width: 38px;
        height: 38px;
    }

    header.main .yume-header-account .gravatar .image > a,
    header.main .yume-header-account > a.clicklogin {
        display: grid;
        place-items: center;
        width: 38px;
        height: 38px;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.13);
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.055);
        color: #f6f8ff;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
        transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
    }

    header.main .yume-header-account .gravatar .image > a:hover,
    header.main .yume-header-account .gravatar .image > a:focus-visible,
    header.main .yume-header-account > a.clicklogin:hover,
    header.main .yume-header-account > a.clicklogin:focus-visible {
        border-color: rgba(109, 184, 255, 0.6);
        background: rgba(67, 137, 255, 0.12);
        box-shadow: 0 0 0 3px rgba(67, 137, 255, 0.08), 0 8px 22px rgba(0, 0, 0, 0.22);
        transform: translateY(-1px);
    }

    header.main .yume-header-account .gravatar img {
        display: block;
        width: 34px;
        height: 34px;
        margin: 0;
        border: 0;
        border-radius: 50%;
        object-fit: cover;
    }

    header.main .yume-header-account > a.clicklogin i {
        font-size: 22px;
    }

    header.main .yume-header-account .gravatar .image span {
        top: -7px;
        right: -7px;
        min-width: 18px;
        padding: 2px 5px;
        border: 2px solid #11151d;
        border-radius: 10px;
        background: #06f31d;
        color: #071008;
        font-size: 10px;
        font-weight: 800;
        line-height: 12px;
        text-align: center;
    }

    header.main .yume-header-account .gravatar:hover::after,
    header.main .yume-header-account .gravatar:focus-within::after {
        content: "";
        position: absolute;
        top: 100%;
        right: 0;
        width: 110px;
        height: 12px;
    }

    header.main .yume-header-account a#dooplay_signout {
        position: absolute;
        top: calc(100% + 11px);
        right: 0;
        z-index: 110;
        width: max-content;
        min-width: 104px;
        padding: 10px 14px;
        float: none;
        border: 1px solid rgba(113, 154, 255, 0.18);
        border-radius: 10px;
        background: rgba(12, 16, 24, 0.98);
        color: #dce7ff;
        font-family: "Rajdhani", sans-serif;
        font-size: 14px;
        font-weight: 600;
        line-height: 1;
        text-align: center;
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-4px);
        transition: opacity 160ms ease, visibility 160ms ease, transform 160ms ease, color 160ms ease;
    }

    header.main .yume-header-account .gravatar:hover > a#dooplay_signout,
    header.main .yume-header-account .gravatar:focus-within > a#dooplay_signout {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    header.main .yume-header-account a#dooplay_signout:hover,
    header.main .yume-header-account a#dooplay_signout:focus-visible {
        color: #06f31d;
    }

    header.main .live-search.ltr:not(:empty) {
        right: 20px;
        overflow: hidden;
        border: 1px solid rgba(113, 154, 255, 0.16);
        border-radius: 0 0 14px 14px;
        background: rgba(10, 13, 20, 0.98);
        box-shadow: 0 20px 44px rgba(0, 0, 0, 0.36);
    }

    @media only screen and (max-width: 1399px) {
        header.main .head-main-nav ul.main-header > li > a {
            gap: 6px;
            padding-right: 8px;
            padding-left: 8px;
            font-size: 14px;
        }

        header.main .hbox .yume-header-actions .yume-header-search {
            width: 180px;
        }
    }
}

/* This range previously used the desktop bar despite being too narrow for all eight links. */
@media only screen and (min-width: 769px) and (max-width: 1279px) {
    header.main {
        display: none;
    }

    header.responsive {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 70px;
    }

    header.responsive .logo {
        padding: 0;
    }

    header.responsive .logo a {
        display: inline-flex;
        align-items: center;
        min-height: 70px;
    }

    header.responsive .logo img {
        display: block;
    }

    .fixheadresp header.responsive .nav,
    .fixheadresp header.responsive .search {
        position: absolute;
        top: 0;
        z-index: 1;
    }

    header.responsive a.aresp {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 70px;
        height: 70px;
        padding: 0;
    }

    .fixheadresp .search_responsive {
        display: block;
    }

    .fixheadresp .formblock,
    .fixheadresp .sidblock {
        display: block !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    header.main .yume-header-actions *,
    header.main .yume-header-actions *::before,
    header.main .yume-header-actions *::after {
        transition-duration: 0.01ms;
    }
}
