#maelan-vie-privee,
#maelan-consent[hidden],
.maelan-consent-fallback[hidden] {
    display: none !important;
}

.maelan-consent-footer-links a {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.maelan-consent-fallback {
    padding: 0.85rem 1.25rem;
    background: #1b1536;
    color: #fff;
    text-align: center;
}

.maelan-consent-fallback a {
    color: #fff;
}

#maelan-consent {
    position: fixed;
    inset: auto 0 0;
    z-index: 2147483000;
    max-height: min(85vh, 36rem);
    overflow: auto;
    background: #fff;
    border-top: 4px solid #97184f;
    box-shadow: 0 -3px 24px #26163933;
    color: #231a33;
}

.maelan-consent-inner {
    max-width: 66rem;
    margin: auto;
    padding: 1rem clamp(1rem, 4vw, 2rem);
}

#maelan-consent-title {
    margin: 0 0 0.4rem;
    color: #231a33;
    font-size: clamp(1.25rem, 2.8vw, 1.65rem);
}

#maelan-consent p {
    color: #231a33;
    margin: 0.45rem 0;
    line-height: 1.5;
}

#maelan-consent summary {
    cursor: pointer;
    font-weight: 650;
}

#maelan-consent a {
    color: #811246;
    text-decoration: underline;
}

.maelan-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.75rem;
}

#maelan-consent .maelan-consent-actions button {
    min-height: 44px;
    padding: 0.45rem 0.95rem;
    border: 2px solid #811246;
    border-radius: 0.4rem;
    background: #fff;
    color: #811246;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

#maelan-consent .maelan-consent-actions button:hover {
    background: #f8e9f1;
}

#maelan-consent :focus-visible,
.maelan-consent-footer-links a:focus-visible {
    outline: 3px solid #6b145b;
    outline-offset: 3px;
}

.maelan-consent-status {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
