.as72-cookie-bar {
    pointer-events: none;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(70px + env(safe-area-inset-bottom, 0px) + 12px);
    width: calc(100% - 24px);
    max-width: 380px;
    z-index: 9990;
    background: #ffffff;
    color: #1a1a1a;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    padding: 8px 10px 8px 14px;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.4;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.as72-cookie-bar__inner {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.as72-cookie-bar__content {
    flex: 1;
    min-width: 0;
}

.as72-cookie-bar__text-short {
    display: inline;
    line-height: 1.3;
    white-space: normal;
}

.as72-cookie-bar__toggle {
    color: #1a1a1a;
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    white-space: nowrap;
}

.as72-cookie-bar__toggle:hover {
    opacity: 0.7;
}

.as72-cookie-bar__details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 180ms ease, opacity 150ms ease;
}

.as72-cookie-bar__heading {
    font-weight: 600;
    margin: 0 0 8px 0;
    font-size: 14px;
}

.as72-cookie-bar__details p {
    margin: 0 0 8px 0;
}

.as72-cookie-bar__details p:last-child {
    margin-bottom: 0;
}

.as72-cookie-bar__details a {
    color: #1a1a1a;
    text-decoration: underline;
}

.as72-cookie-bar__btn {
    flex: 0 0 auto;
    height: 32px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    border: 0;
    background: #1a1a1a;
    color: #ffffff;
    transition: opacity 150ms ease;
    line-height: 1;
    white-space: nowrap;
    min-width: 70px;
}

.as72-cookie-bar__btn:hover {
    opacity: 0.85;
}

.as72-cookie-bar.is-expanded {
    padding: 14px 16px;
}

.as72-cookie-bar.is-expanded .as72-cookie-bar__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

.as72-cookie-bar.is-expanded .as72-cookie-bar__text-short {
    display: none;
}

.as72-cookie-bar.is-expanded .as72-cookie-bar__details {
    max-height: 600px;
    opacity: 1;
}

.as72-cookie-bar.is-expanded .as72-cookie-bar__btn {
    align-self: center;
    min-width: 120px;
}

@media (max-width: 380px) {
    .as72-cookie-bar {
        font-size: 12px;
        padding: 8px 8px 8px 12px;
    }

    .as72-cookie-bar__inner {
        gap: 8px;
    }

    .as72-cookie-bar__btn {
        min-width: 60px;
        padding: 0 12px;
        font-size: 12px;
    }

    .as72-cookie-bar.is-expanded {
        padding: 14px 14px;
    }
}

@media (min-width: 768px) {
    .as72-cookie-bar {
        left: auto;
        right: 24px;
        bottom: 16px;
        transform: none;
        width: auto;
        max-width: 380px;
        margin-left: auto;
        max-height: calc(100vh - 80px);
    }
}
