.ruckuzAdSlot {
    display: block;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 8px;
    border-top: 2px solid #6b58b8;
    background: rgba(255, 253, 246, 0.92);
}

.ruckuzAdSlot[hidden],
.ruckuzAdSlot[data-ad-active="false"] {
    display: none !important;
}

body.darkMode .ruckuzAdSlot {
    border-color: #8b6cff;
    background: rgba(36, 32, 56, 0.96);
}

.ruckuzAdLabel {
    margin-bottom: 5px;
    color: #817a91;
    font-size: 11px;
    text-align: center;
}

body.darkMode .ruckuzAdLabel {
    color: #aaa2bd;
}

#ruckuzAdConsent {
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 30000;
    max-width: 760px;
    margin: 0 auto;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 3px solid #6b58b8;
    background: #fffdf6;
    color: #30254f;
    font-family: "RuckuZDoodle", Arial, sans-serif;
}

body.darkMode #ruckuzAdConsent {
    border-color: #8b6cff;
    background: #302b48;
    color: #f5f0ff;
}

.ruckuzAdConsentText {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ruckuzAdConsentText a {
    color: #6b58b8;
}

body.darkMode .ruckuzAdConsentText a {
    color: #b79cff;
}

.ruckuzAdConsentActions {
    flex-shrink: 0;
    display: flex;
    gap: 8px;
}

.ruckuzAdConsentActions button {
    padding: 8px 12px;
    border: 2px solid #6b58b8;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

body.darkMode .ruckuzAdConsentActions button {
    border-color: #8b6cff;
}

@media (max-width: 768px) {
    .ruckuzAdSlot {
        display: none !important;
    }

    #ruckuzAdConsent {
        align-items: stretch;
        flex-direction: column;
    }

    .ruckuzAdConsentActions {
        width: 100%;
    }

    .ruckuzAdConsentActions button {
        flex: 1;
    }
}
