.consent-banner {
    position: fixed;
    z-index: 2147483000;
    left: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    width: 101px;
    height: 90px;
    color: #1F1F1F;
    font-family: 'Prologue', system-ui, sans-serif;
    animation: consent-appear 300ms ease-out;
    pointer-events: none;
}

.consent-banner.is-open {
    width: min(400px, 90vw);
    height: auto;
    aspect-ratio: 100 / 89;
}

.consent-shape {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.consent-toggle {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 90%;
    padding: 2px;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 9px;
    cursor: pointer;
    pointer-events: auto;
}

.consent-toggle svg { width: 22px; height: 22px; }
.consent-banner.is-open .consent-toggle { top: 15%; bottom: auto; }
.consent-banner.is-open .consent-toggle svg { width: 24px; height: 24px; }

.consent-details {
    position: absolute;
    bottom: 4%;
    left: 20%;
    width: 60%;
    text-align: center;
    font-size: 10px;
    line-height: 1.3;
}

.consent-details p { margin: 0 0 3px; padding: 0 2px; }
.consent-details a { color: inherit; text-decoration: underline; }
.consent-details a, .consent-actions button { pointer-events: auto; }
.consent-actions { display: flex; justify-content: center; gap: 8px; }
.consent-actions button {
    width: 100px;
    min-height: 22px;
    padding: 2px 5px;
    border: 1px solid #1F1F1F;
    border-radius: 999px;
    background: #1F1F1F;
    color: #FF7900;
    font: inherit;
    cursor: pointer;
}

.consent-banner :focus-visible, [data-consent-open]:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

[data-consent-open] {
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

@keyframes consent-appear { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 639px) {
    .consent-banner.is-open { width: min(88vw, 50.56vh); height: min(78.32vw, 45vh); }
    .consent-details { font-size: 9px; line-height: 1.2; }
}
@media (prefers-reduced-motion: reduce) {
    .consent-banner { animation: none; }
}
