#dgs-meta-consent[hidden],
#dgs-cookie-settings[hidden] {
    display: none !important;
}

#dgs-meta-consent {
    position: fixed;
    z-index: 150;
    inset-inline-start: max(0.75rem, env(safe-area-inset-left));
    inset-block-end: max(0.75rem, env(safe-area-inset-bottom));
    box-sizing: border-box;
    width: min(34rem, calc(100% - 1.5rem));
    max-height: calc(100vh - 1.5rem);
    overflow: auto;
    padding: clamp(0.875rem, 3vw, 1.25rem);
    border: 1px solid #bbc3c3;
    border-radius: 1rem;
    background: #fff;
    color: #172727;
    box-shadow: 0 0.625rem 2rem #0003;
    font-size: 1rem;
    line-height: 1.5;
}

#dgs-meta-consent h2 { margin: 0; font-size: 1.25rem; color: inherit; }
#dgs-meta-consent p { margin: 0.5rem 0 0; color: inherit; }
#dgs-meta-consent details { margin-top: 0.625rem; }
#dgs-meta-consent summary { cursor: pointer; }
#dgs-meta-consent a { color: #0a524b; text-decoration: underline; }

#dgs-meta-consent .dgs-cookie-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.625rem;
    margin-top: 0.75rem;
}

#dgs-meta-consent button {
    min-height: 2.75rem;
    padding: 0.5rem;
    border: 1px solid #526d6a;
    border-radius: 0.5rem;
    background: #eef4f3;
    color: #173a37;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

#dgs-meta-consent button:hover { background: #dfecea; }

#dgs-cookie-settings {
    padding: 0.25rem 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}
