/* ==========================================================================
   Cookie 同意横幅（黑白色调科技风）
   ========================================================================== */

.nk-cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: none;
    background: #101010;
    border-top: 1px solid #2c2c2c;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.45);
    font-family: inherit;
}

.nk-cookie-consent.nk-show {
    display: block;
    animation: nkCookieSlideUp 0.35s ease-out;
}

@keyframes nkCookieSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nk-cookie-consent__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.nk-cookie-consent__text {
    flex: 1 1 480px;
    margin: 0;
    color: #d6d6d6;
    font-size: 14px;
    line-height: 1.7;
}

.nk-cookie-consent__text a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.nk-cookie-consent__text a:hover {
    color: #9e9e9e;
}

.nk-cookie-consent__btns {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nk-cookie-consent__btn {
    display: inline-block;
    padding: 10px 26px;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: 1px solid #ffffff;
    background: transparent;
    color: #ffffff;
    transition: all 0.25s ease;
}

.nk-cookie-consent__btn--accept {
    background: #ffffff;
    color: #101010;
    font-weight: 600;
}

.nk-cookie-consent__btn--accept:hover {
    background: #d9d9d9;
    border-color: #d9d9d9;
}

.nk-cookie-consent__btn--reject:hover {
    background: #2a2a2a;
}

/* 阿拉伯语等 RTL 语言保持布局方向正确 */
[dir="rtl"] .nk-cookie-consent__inner {
    direction: rtl;
}

/* 移动端：纵向堆叠 */
@media (max-width: 767px) {
    .nk-cookie-consent__inner {
        padding: 14px 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .nk-cookie-consent__text {
        flex: 1 1 auto;
        font-size: 13px;
    }

    .nk-cookie-consent__btns {
        width: 100%;
    }

    .nk-cookie-consent__btn {
        flex: 1;
        text-align: center;
        padding: 10px 12px;
    }
}
