#tw-lcm-overlay {
    position: fixed;
    inset: 0;
    z-index: 999998;
    background: rgba(0, 0, 0, 0.35);
}

#tw-lcm-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 999999;
    max-width: 760px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

.tw-lcm-box {
    background: #ffffff;
    color: #1f1f1f;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    border: 1px solid #e5e5e5;
}

.tw-lcm-box h2 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.3;
}

.tw-lcm-box p {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.5;
}

.tw-lcm-small {
    font-size: 13px;
}

.tw-lcm-small a {
    color: #111111;
    text-decoration: underline;
}

.tw-lcm-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.tw-lcm-btn {
    border: 0;
    border-radius: 8px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.2;
}

.tw-lcm-btn-primary {
    background: #111111;
    color: #ffffff;
}

.tw-lcm-btn-secondary {
    background: #efefef;
    color: #111111;
}

.tw-lcm-btn-link {
    background: transparent;
    color: #111111;
    text-decoration: underline;
    padding-left: 4px;
    padding-right: 4px;
}

.tw-lcm-preferences {
    margin-top: 16px;
    border-top: 1px solid #eeeeee;
}

.tw-lcm-category {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #eeeeee;
}

.tw-lcm-category strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
}

.tw-lcm-category p {
    margin: 0;
    font-size: 13px;
    color: #555555;
}

.tw-lcm-switch {
    position: relative;
    flex: 0 0 auto;
    width: 48px;
    height: 26px;
    margin-top: 2px;
}

.tw-lcm-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.tw-lcm-switch span {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #cccccc;
    border-radius: 999px;
    transition: 0.2s;
}

.tw-lcm-switch span:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    top: 3px;
    background: #ffffff;
    border-radius: 50%;
    transition: 0.2s;
}

.tw-lcm-switch input:checked + span {
    background: #111111;
}

.tw-lcm-switch input:checked + span:before {
    transform: translateX(22px);
}

.tw-lcm-switch input:disabled + span {
    opacity: 0.65;
    cursor: not-allowed;
}

.tw-lcm-hidden {
    display: none !important;
}

.tw-lcm-open-settings {
    border: 0;
    border-radius: 8px;
    padding: 10px 14px;
    background: #111111;
    color: #ffffff;
    cursor: pointer;
    font-size: 14px;
}

@media (max-width: 600px) {
    #tw-lcm-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .tw-lcm-box {
        padding: 18px;
    }

    .tw-lcm-actions {
        flex-direction: column;
    }

    .tw-lcm-btn {
        width: 100%;
    }

    .tw-lcm-category {
        align-items: flex-start;
    }
}