/* ==========================================================================
   SSM App-Banner – Android / Mobile App-Hinweis
   ========================================================================== */

.ssm-app-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99997;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient( 135deg, #0F172A 0%, #1E293B 100% );
    box-shadow: 0 -4px 20px rgba( 15, 23, 42, 0.35 );
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    animation: ssm-banner-slide-up 0.4s ease-out;
}

/* Wenn Sticky Player sichtbar ist, Banner darueber positionieren */
.ssm-app-banner.ssm-app-banner--above-player {
    bottom: 72px;
}

@keyframes ssm-banner-slide-up {
    from {
        transform: translateY( 100% );
        opacity: 0;
    }
    to {
        transform: translateY( 0 );
        opacity: 1;
    }
}

.ssm-app-banner__close {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: none;
    background: rgba( 255, 255, 255, 0.1 );
    color: #fff;
    font-size: 18px;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.ssm-app-banner__close:hover {
    background: rgba( 255, 255, 255, 0.2 );
}

.ssm-app-banner__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ssm-app-banner__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.ssm-app-banner__text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ssm-app-banner__text strong {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ssm-app-banner__text span {
    font-size: 12px;
    color: rgba( 255, 255, 255, 0.65 );
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ssm-app-banner__cta {
    flex-shrink: 0;
    display: inline-block;
    padding: 8px 16px;
    background: #00B4D8;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 20px;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.ssm-app-banner__cta:hover {
    background: #0096B7;
    color: #fff;
    text-decoration: none;
}

/* Reduzierte Bewegung */
@media ( prefers-reduced-motion: reduce ) {
    .ssm-app-banner {
        animation: none;
    }
}
