.navbar_logo {
    width: 168px;
    max-width: none;
    height: auto;
}

.oulu-nav-dropdown-list {
    padding: .9rem;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 1.2rem;
    background: rgba(6, 10, 19, .98);
    box-shadow: 0 26px 80px rgba(0, 0, 0, .42);
    backdrop-filter: blur(18px);
}

.oulu-nav-dropdown-list--elastic {
    width: min(46rem, calc(100vw - 2rem));
}

.oulu-nav-dropdown-list--dedicated {
    width: min(31rem, calc(100vw - 2rem));
}

.oulu-nav-dropdown-list .navbar-dropdown_dropdown-content {
    width: 100%;
}

.oulu-nav-grid {
    display: grid;
    gap: .9rem;
}

.oulu-nav-grid--elastic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.oulu-nav-grid--dedicated {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.oulu-nav-card {
    display: block;
    min-height: 11rem;
    padding: 1rem 1rem 1.05rem;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 1.15rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, .045) 0%, rgba(255, 255, 255, .028) 100%);
    text-decoration: none;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    transition: transform .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.oulu-nav-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 216, 77, .3);
    background: linear-gradient(180deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, .04) 100%);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .2);
}

.oulu-nav-card-top {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .65rem;
}

.oulu-nav-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
    flex: 0 0 auto;
}

.oulu-nav-flag-image {
    width: 1.35rem;
    height: 1.35rem;
    object-fit: cover;
    border-radius: 999px;
    display: block;
}

.oulu-nav-title {
    color: #fff;
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 600;
    min-width: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-break: break-word;
}

.oulu-nav-card.is-recommended .oulu-nav-title::after {
    content: " 推荐";
    color: #ffd84d;
    font-size: .78rem;
    font-weight: 700;
}

.oulu-nav-desc {
    color: rgba(255, 255, 255, .7);
    font-size: .84rem;
    line-height: 1.6;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-break: break-word;
}

.oulu-nav-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: .75rem;
}

.oulu-nav-tag {
    display: inline-flex;
    align-items: center;
    padding: .28rem .58rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .84);
    font-size: .73rem;
    line-height: 1;
    white-space: nowrap;
}

@media screen and (max-width: 991px) {
    .oulu-nav-dropdown-list {
        position: static;
        width: 100%;
        max-width: none;
        min-width: 0;
        margin-top: .75rem;
        padding: .75rem;
        box-shadow: none;
        border-radius: 1rem;
    }

    .oulu-nav-grid--elastic,
    .oulu-nav-grid--dedicated {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

@media screen and (max-width: 767px) {
    .navbar_logo {
        width: 142px;
    }

    .oulu-nav-card {
        min-height: auto;
        padding: .95rem;
    }

    .oulu-nav-title {
        font-size: .94rem;
    }

    .oulu-nav-desc {
        font-size: .8rem;
    }
}
