.agys-v665-banner {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 800px;
    box-sizing: border-box;
    padding: 16px 20px;
    border: 1px solid #dcecf1;
    border-radius: 12px;
    background: #fff;
    color: #245565;
    box-shadow: 0 5px 28px rgba(0,0,0,.13);
    z-index: 99990;
    font-family: inherit;
    font-size: 13px;
    text-align: left;
}
.agys-v665-banner[hidden] {
    display: none !important;
}
.agys-v665-banner strong {
    font-size: 16px;
    color: #087b9e;
}
.agys-v665-banner p {
    margin: 8px 0 12px;
    line-height: 1.5;
}
.agys-v665-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.agys-v665-actions button {
    flex: 1;
    border: 1px solid #087b9e;
    border-radius: 6px;
    background: #fff;
    color: #087b9e;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 600;
    font-family: inherit;
}
.agys-v665-actions button:hover {
    background: #eef8fa;
}
.agys-v665-details {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 15px;
    font-size: 11px;
    margin-top: 9px;
}
.agys-v665-details a {
    color: #087b9e;
    text-decoration: underline;
}
.agys-v665-manage {
    display: block;
    margin: 10px auto;
    padding: 8px;
    background: #fff;
    border: 1px solid #dcecf1;
    border-radius: 5px;
    color: #087b9e;
    cursor: pointer;
    font-size: 12px;
}
.agys-v665-demo {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    padding: 0;
    border: 0;
    cursor: pointer;
    overflow: hidden;
    background: #073446;
}
.agys-v665-demo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.agys-v665-demo .agys-v660-playicon {
    display: block;
}
@media(max-width:600px) {
    .agys-v665-banner {
        bottom: 8px;
        width: calc(100% - 16px);
        padding: 12px;
        font-size: 12px;
    }
    .agys-v665-actions button {
        font-size: 12px;
        padding: 9px 7px;
    }
}

/* AGYS V6.6.6 - Bandeau horizontal */

#agys-cookie-banner-v665 {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    transform: none;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 10px 24px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    border: 0;
    border-top: 1px solid #dcecf1;
    border-radius: 0;
    background: #f4fafc;
    color: #245565;
    box-shadow: 0 -2px 10px rgba(0,0,0,.04);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 12px;
}

#agys-cookie-banner-v665[hidden] {
    display: none !important;
}

#agys-cookie-banner-v665 > strong {
    display: none;
}

#agys-cookie-banner-v665 > p {
    flex: 0 1 auto;
    margin: 0;
    line-height: 1.5;
    order: 0;
}

#agys-cookie-banner-v665 .agys-v665-details {
    margin: 0;
    padding: 0;
    order: 1;
    font-size: 11px;
}

#agys-cookie-banner-v665 .agys-v665-details span {
    display: none;
}

#agys-cookie-banner-v665 .agys-v665-actions {
    order: 2;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 0;
}

#agys-cookie-banner-v665 .agys-v665-actions button {
    flex: 1;
    min-width: 148px;
    padding: 8px 14px;
    border: 1px solid #087b9e;
    border-radius: 5px;
    background: #fff;
    color: #087b9e;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

#agys-cookie-banner-v665 .agys-v665-actions button:hover {
    background: #e2f3f8;
}

#agys-cookie-banner-v665 button:focus-visible {
    outline: 2px solid #087b9e;
    outline-offset: 2px;
}

@media(max-width: 700px) {

    #agys-cookie-banner-v665 {
        padding: 9px 12px;
        padding-bottom: calc(9px + env(safe-area-inset-bottom, 0px));
        gap: 7px;
        text-align: center;
    }

    #agys-cookie-banner-v665 > p {
        flex-basis: 100%;
        font-size: 11px;
    }

    #agys-cookie-banner-v665 .agys-v665-actions {
        width: 100%;
    }

    #agys-cookie-banner-v665 .agys-v665-actions button {
        min-width: 0;
        white-space: normal;
        padding: 9px 6px;
        font-size: 11px;
    }
}

