#stcm-wrapper {
    --fontFamily: "Open Sans", Arial, sans-serif;
    --primaryColor: #ff3636;
    --backgroundColor: #171717;
    --textColor: #ffffff;
    --iconColor: #171717;
    --iconBackgroundColor: #ff3636;
    --boxShadow: 0 10px 30px rgba(0, 0, 0, 0.32);
    --backdropBackgroundColor: rgba(0, 0, 0, 0.5);
    --backdropBackgroundBlur: 2px;
}

#stcm-wrapper a {
    color: var(--primaryColor);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

#stcm-wrapper a:hover {
    color: #ffffff;
}

#stcm-wrapper #stcm-banner {
    width: 560px;
    padding: 20px 24px;
    border: 1px solid #444444;
    border-radius: 4px;
    box-shadow: var(--boxShadow);
}

#stcm-wrapper #stcm-banner p {
    margin: 0;
    font-size: 15px;
    line-height: 22px;
    text-align: justify;
}

#stcm-wrapper #stcm-banner p + p {
    margin-top: 8px;
}

#stcm-wrapper #stcm-banner .stcm-actions {
    gap: 10px;
    margin-top: 14px;
}

#stcm-wrapper .stcm-button,
#stcm-wrapper button {
    min-height: 44px;
}

#stcm-wrapper .stcm-button {
    padding: 8px 16px;
    border-color: #e72121;
    border-radius: 4px;
    background: #e72121;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}

#stcm-wrapper .stcm-button-primary:hover,
#stcm-wrapper .stcm-button-primary:active {
    border-color: #ff3636;
    background: #171717;
    color: #ff3636;
}

#stcm-wrapper #stcm-banner .stcm-preferences-button {
    min-height: 44px;
    padding: 8px;
    border-radius: 4px;
    color: #ff3636;
    font-size: 14px;
    line-height: 20px;
}

#stcm-wrapper #stcm-banner .stcm-actions-row {
    gap: 8px;
}

#stcm-wrapper #stcm-banner a.stcm-logo {
    width: 44px;
    height: 44px;
}

#stcm-wrapper #stcm-modal {
    width: 680px;
    padding: 24px;
    border: 1px solid #444444;
    border-radius: 4px;
    box-shadow: var(--boxShadow);
}

#stcm-wrapper #stcm-modal header {
    margin-bottom: 12px;
}

#stcm-wrapper #stcm-modal h1 {
    font-size: 22px;
    line-height: 28px;
}

#stcm-wrapper #stcm-modal section {
    margin-top: 16px;
}

#stcm-wrapper #stcm-modal fieldset {
    margin-bottom: 20px;
}

#stcm-wrapper #stcm-modal p {
    font-size: 15px;
    line-height: 22px;
    opacity: 1;
}

#stcm-wrapper #stcm-modal footer {
    gap: 10px;
    margin-top: 16px;
}

#stcm-wrapper #stcm-icon {
    bottom: 84px;
    left: 30px;
    width: 44px;
    height: 44px;
    border: 1px solid #ff3636;
}

#stcm-wrapper a:focus-visible,
#stcm-wrapper button:focus-visible,
#stcm-wrapper input:focus-visible + .stcm-toggle-track {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
    box-shadow: 0 0 0 2px #171717;
}

@media (max-width: 767px) {
    #stcm-wrapper #stcm-prompt {
        max-height: calc(100vh - 24px);
        overflow-y: auto;
    }
}

@media (max-width: 599px) {
    #stcm-wrapper #stcm-banner {
        right: 12px;
        bottom: 12px;
        left: 12px;
        width: auto;
        max-width: none;
        padding: 16px;
        transform: none;
        animation-name: stcm-slide-down;
    }

    #stcm-wrapper #stcm-banner .stcm-actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    #stcm-wrapper #stcm-banner .stcm-actions-row {
        display: contents;
    }

    #stcm-wrapper #stcm-banner a.stcm-logo {
        display: none;
    }

    #stcm-wrapper #stcm-modal {
        width: calc(100% - 24px);
        max-height: calc(100% - 48px);
        padding: 18px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #stcm-wrapper *,
    #stcm-wrapper *::before,
    #stcm-wrapper *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
