/* ABBA ONE: shared presentation only. Official badges retain their artwork. */
.abba-play-badge {
    display: inline-block;
    width: 210px;
    max-width: calc(100% - 32px);
    padding: 16px;
    box-sizing: content-box;
    flex: 0 0 auto;
    border-radius: 6px;
    line-height: 0;
    text-decoration: none;
}
.abba-play-badge img {
    display: block;
    width: 100%;
    height: auto;
}
.abba-play-badge:focus-visible {
    outline: 3px solid #93c5fd;
    outline-offset: 4px;
}
.abba-one-promotion {
    text-align: center;
}
.abba-one-promotion-copy h3 {
    margin: 0 0 .5rem;
    color: #e2e8f0;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: .025em;
}
.abba-one-promotion-copy p {
    max-width: 62ch;
    margin: 0 auto;
    color: #cbd5e1;
    font-size: .95rem;
    line-height: 1.6;
}
.abba-one-promotion-copy .abba-one-promotion-headline {
    margin-bottom: .6rem;
    color: #f8fafc;
    font-size: clamp(1.45rem, 1.15rem + 1.1vw, 2.1rem);
    font-weight: 700;
    line-height: 1.2;
}
.abba-one-promotion-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}
.abba-one-promotion-actions .btn {
    white-space: normal;
}
.abba-login-promotion {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(148, 163, 184, .18);
    text-align: center;
}
.abba-login-promotion h2 {
    margin: 0 0 6px;
    color: #e2e8f0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}
.abba-login-promotion p {
    max-width: 43ch;
    margin: 0 auto 8px;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.5;
}
.abba-login-promotion .abba-play-badge {
    width: 180px;
    padding: 14px;
}
/* Animate only the two in-page links, leaving the artwork and shortcut intact. */
@media (prefers-reduced-motion: no-preference) {
    .abba-one-promotion-actions .abba-play-badge,
    .abba-login-promotion .abba-play-badge {
        animation: abba-play-pulse 3s ease-in-out infinite;
    }
}
@keyframes abba-play-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 4px rgba(96, 165, 250, .08);
    }
    50% {
        transform: scale(1.04);
        box-shadow: 0 0 14px rgba(96, 165, 250, .27);
    }
}
/* Preserve the WhatsApp control's position and dimensions in its existing group. */
.abba-site-shortcuts {
    position: fixed;
    right: max(1.25rem, env(safe-area-inset-right));
    bottom: max(1.25rem, env(safe-area-inset-bottom));
    z-index: 1038;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    pointer-events: none;
}
.abba-site-shortcuts > * {
    pointer-events: auto;
}
.abba-site-shortcuts .abba-whatsapp-contact {
    position: relative;
    right: auto;
    bottom: auto;
}
.abba-site-play-shortcut .abba-play-badge {
    position: relative;
    width: 160px;
    padding: 12px;
}
.abba-site-play-shortcut .abba-play-badge::after {
    content: attr(data-tooltip);
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background: #111827;
    color: #fff;
    font: 600 13px/1.4 "Segoe UI", sans-serif;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
}
.abba-site-play-shortcut .abba-play-badge:hover::after,
.abba-site-play-shortcut .abba-play-badge:focus-visible::after {
    opacity: 1;
}
body:has(.navbar-collapse.show) .abba-site-shortcuts,
body:has(.navbar-collapse.collapsing) .abba-site-shortcuts {
    visibility: hidden;
}
/* Show the full floating badge only when the 1320px content container leaves
   a free side margin. Smaller screens retain the in-page app access. */
@media (max-width: 1727.98px) {
    .abba-site-play-shortcut { display: none; }
}
@media (max-width: 575.98px) {
    .abba-one-promotion-actions {
        flex-direction: column;
        gap: .75rem;
    }
    .abba-one-promotion-actions .btn {
        max-width: 100%;
    }
    .abba-site-shortcuts {
        right: max(.8rem, env(safe-area-inset-right));
        bottom: max(.8rem, env(safe-area-inset-bottom));
    }
}
