
#agreedBanner {
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 21474836461;
    background-color: rgba(0,0,0,0.8);
    color: #EFEFEF;
    margin: 0;
    font-size: 1.8em;
    font-family: Arial, sans-serif;
    padding: clamp(0.5rem, 2vw, 2rem);
    box-sizing: border-box;
    /* żżżżżżżżż żżż żżżżżżżżżżżż ż żżżżżżż */
    opacity: 1;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: translateY(0);
}

/* żżżżż żżż żżżżżżż ż żżżżżżżżż */
#agreedBanner.is-hiding {
    opacity: 0;
    transform: translateY(20px); /* żżżżżż żżżżżżżż żżżż żżż żżżżżżż */
    pointer-events: none; /* żżżżż żżżżżż żżżż żżżżżżżż żż żżżżż żżżżżżżż */
}

.agreed-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.agreed-text {
    flex: 1;
    min-width: 280px;
    line-height: 1.4;
}

.agreed-text a {
    text-decoration: underline;
    color: #21a6ff;
}

#agreedBtn {
    padding: 0.4em 1em;
    cursor: pointer;
    white-space: nowrap;
    border: 1px solid #aaa;
    background: #EFEFEF;
    color: #333;
}


#agreedBanner p {
    color: #EFEFEF;
    font-size: 1em;
    font-family: Arial, sans-serif;
}


@media (max-width: 960px) {
    .agreed-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }

    .agreed-text {
        width: 100%;
        min-width: auto;
    }

    #agreedBtn {
        align-self: center;
    }
}

