#tcc-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000;
    color: #fff;
    padding: 16px 20px;
    z-index: 9999;
    font-family: sans-serif;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.4);
}

/* Container layout */

.tcc-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

/* Message text */

.tcc-container p {
    margin: 0;
    flex: 1 1 auto;       /* was 1 1 300px — that forced a huge min-height on mobile */
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Button group — keeps buttons together on desktop */

.tcc-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    align-items: center;
    flex-wrap: wrap;
}

/* Buttons */

#tcc-accept,
#tcc-reject {
    padding: 10px 18px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Link */

#tcc-banner a {
    color: #f1d600;
    text-decoration: none;
    font-size: 0.85rem;
    white-space: nowrap;
}

#tcc-banner a:hover {
    text-decoration: underline;
}

/*--Placeholder--*/
.tcc-embed-placeholder {
    background: #f5f5f5;
    padding: 30px;
    text-align: center;
    border: 1px solid #ddd;
}

.tcc-embed-placeholder p {
    margin-bottom: 10px;
}

.tcc-embed-placeholder button {
    padding: 10px 16px;
    cursor: pointer;
    border: none;
    background: #000;
    color: #fff;
}

/* ── Mobile ── */

@media (max-width: 600px) {

    #tcc-banner {
        padding: 14px 16px;
    }

    .tcc-container {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .tcc-container p {
        font-size: 0.88rem;
    }

    .tcc-buttons {
        flex-direction: column;
        gap: 8px;
    }

    #tcc-accept,
    #tcc-reject {
        width: 100%;
        text-align: center;
        padding: 12px;
    }

    #tcc-banner a {
        display: block;
        text-align: center;
        margin-top: 2px;
    }

}
