.tw-cookie-consent.hidden,
.tw-cookie-modal.hidden {
    display: none;
}

.tw-cookie-consent {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1400;
    max-width: 560px;
    width: calc(100% - 40px);
}

.tw-cookie-consent__content {
    background: #100928;
    color: #fff;
    box-shadow: 0 24px 70px rgba(16, 9, 40, 0.35);
    padding: 24px;
}

.tw-cookie-consent__title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.tw-cookie-consent__text {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 15px;
    line-height: 1.7;
}

.tw-cookie-consent__actions,
.tw-cookie-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.tw-cookie-consent__button {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 18px;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.tw-cookie-consent__button:hover {
    border-color: #d80031;
    color: #fff;
}

.tw-cookie-consent__button--primary {
    background: #d80031;
    border-color: #d80031;
}

.tw-cookie-consent__button--primary:hover {
    background: #f20034;
    border-color: #f20034;
}

.tw-cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 1500;
}

.tw-cookie-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 9, 40, 0.72);
}

.tw-cookie-modal__panel {
    position: relative;
    margin: 40px auto;
    max-width: 720px;
    background: #fff;
    color: #100928;
    padding: 28px;
    box-shadow: 0 24px 70px rgba(16, 9, 40, 0.25);
}

.tw-cookie-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.tw-cookie-modal__title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.tw-cookie-modal__close {
    appearance: none;
    border: 0;
    background: transparent;
    color: #100928;
    cursor: pointer;
    font-size: 32px;
    line-height: 1;
    padding: 0;
}

.tw-cookie-modal__body {
    margin-top: 18px;
    display: grid;
    gap: 16px;
}

.tw-cookie-modal__option {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border: 1px solid #e2e8f0;
    padding: 16px;
}

.tw-cookie-modal__option input {
    margin-top: 3px;
}

.tw-cookie-modal__option strong {
    display: block;
    font-size: 15px;
}

.tw-cookie-modal__option small {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .tw-cookie-consent {
        right: 12px;
        bottom: 12px;
        width: calc(100% - 24px);
    }

    .tw-cookie-modal__panel {
        margin: 20px 12px;
        padding: 20px;
    }
}
