[data-cookie-service='dmca'] {
    display: none;
}

.cookieConsent {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: min(460px, calc(100% - 30px));
    z-index: 9999;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid rgba(22, 255, 190, 0.3);
    background: linear-gradient(145deg, rgba(6, 18, 41, 0.96), rgba(7, 14, 30, 0.96));
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    color: #d7f7f2;
    contain: paint;
}

.cookieConsent.is-hidden {
    display: none;
}

.cookieConsent__title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #ffffff;
}

.cookieConsent__text,
.cookieConsent__policy {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.45;
}

.cookieConsent__policy a {
    color: #2ff0be;
    text-decoration: none;
    font-weight: 700;
}

.cookieConsent__actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.cookieConsent__btn {
    min-height: 44px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
    width: 100%;
    white-space: nowrap;
}

.cookieConsent__btn--primary {
    background: linear-gradient(90deg, #12d99e, #2db5e9);
    color: #041423;
}

.cookieConsent__btn--ghost {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(147, 163, 184, 0.45);
    color: #e2f5ff;
}

.cookieConsent__btn--line {
    background: transparent;
    border-color: rgba(47, 240, 190, 0.45);
    color: #32f2c2;
}

.cookieConsent__btn:hover {
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.16);
}

.cookieModal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    contain: layout paint;
    will-change: opacity;
}

.cookieModal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.cookieModal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 6, 14, 0.84);
}

.cookieModal__dialog {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(620px, calc(100% - 30px));
    max-height: calc(100vh - 30px);
    overflow: auto;
    padding: 20px;
    border-radius: 18px;
    border: 1px solid rgba(22, 255, 190, 0.28);
    background: linear-gradient(145deg, #091a36, #061225);
    color: #e7fbf8;
}

.cookieModal__title {
    margin: 0 0 14px;
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
}

.cookieModal__group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    margin-bottom: 10px;
    border: 1px solid rgba(47, 240, 190, 0.2);
    border-radius: 12px;
    background: rgba(4, 14, 30, 0.52);
}

.cookieModal__group--toggle input[type='checkbox'] {
    width: 22px;
    height: 22px;
    accent-color: #24e5bc;
}

.cookieModal__groupTitle {
    font-size: 16px;
    font-weight: 700;
    color: #f8fdff;
    margin-bottom: 4px;
}

.cookieModal__groupText {
    margin: 0;
    font-size: 13px;
    color: #b7d4df;
    line-height: 1.45;
}

.cookieModal__tag {
    border: 1px solid rgba(68, 190, 255, 0.35);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 700;
    color: #9fd8ff;
}

.cookieModal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 8px;
}

.cookieModal__saved {
    min-height: 18px;
    margin-top: 8px;
    font-size: 13px;
    color: #2ff0be;
}

@media (max-width: 767px) {
    .cookieConsent {
        right: 10px;
        left: 10px;
        width: auto;
        bottom: 10px;
    }

    .cookieModal__dialog {
        padding: 15px;
    }

    .cookieConsent__actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cookieModal__actions {
        justify-content: stretch;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cookieConsent__btn,
    .cookieModal,
    .cookieModal__dialog {
        transition: none;
    }
}
