#cookie-consent-banner[hidden] {
    display: none !important;
}

.cookie-consent-banner {
    position: fixed;
    z-index: 10050;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem 0 max(1rem, env(safe-area-inset-bottom));
    background: rgba(18, 22, 28, 0.96);
    color: rgba(255, 255, 255, 0.92);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.25rem;
}

.cookie-consent-text {
    flex: 1 1 220px;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tope-cc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.55rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.tope-cc-btn:focus-visible {
    outline: 2px solid #ccff00;
    outline-offset: 2px;
}

.tope-cc-btn--outline {
    border-color: rgba(255, 255, 255, 0.45);
    background: transparent;
    color: #fff;
}

.tope-cc-btn--outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.tope-cc-btn--primary {
    border-color: #ff8400;
    background: linear-gradient(135deg, #ff8400, #e67600);
    color: #12161c;
}

.tope-cc-btn--primary:hover {
    filter: brightness(1.05);
}

.cookie-consent-more {
    flex: 1 1 100%;
    margin: 0;
    font-size: 0.8rem;
}

.cookie-consent-more a {
    color: #ff9f4a;
    text-decoration: underline;
}

.cookie-consent-more a:hover {
    color: #ffb574;
}

@media (max-width: 640px) {
    .cookie-consent-actions {
        width: 100%;
    }

    .tope-cc-btn {
        flex: 1 1 auto;
    }
}
