/* Can Radyo push bell + toast (standalone; used with restored player assets) */
.header-push-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.header-push-bell {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: 0.45rem;
    background: transparent;
    color: var(--cr-muted);
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease;
}
.header-push-bell[hidden] {
    display: none !important;
}
.header-push-wrap:has(.header-push-bell[hidden]) {
    display: none;
}
.header-push-bell:hover,
.header-push-bell:focus-visible {
    color: var(--cr-accent);
    background: color-mix(in srgb, var(--cr-accent) 12%, transparent);
}
.header-push-bell__icon {
    position: relative;
    display: inline-flex;
    width: 20px;
    height: 20px;
}
.header-push-bell__svg {
    display: block;
}
.header-push-bell__slash {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform: translate(-50%, -50%) rotate(-42deg);
    opacity: 0;
    pointer-events: none;
}
.header-push-bell.is-off .header-push-bell__slash {
    opacity: 1;
}
.header-push-bell.is-off {
    color: var(--cr-muted);
}
.header-push-bell.is-on {
    color: var(--cr-heading);
}
.header-push-bell.is-off .header-push-bell__icon {
    animation: cr-push-bell-nudge 2.8s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
    .header-push-bell.is-off .header-push-bell__icon {
        animation: none;
    }
}
@keyframes cr-push-bell-nudge {
    0%, 55%, 100% { transform: rotate(0deg) translateY(0); }
    60% { transform: rotate(18deg) translateY(-1px); }
    66% { transform: rotate(-16deg) translateY(0); }
    72% { transform: rotate(12deg); }
    78% { transform: rotate(-8deg); }
    84% { transform: rotate(5deg); }
    90% { transform: rotate(-2deg); }
}
.header-push-bell::after {
    content: attr(data-label);
    position: absolute;
    left: 50%;
    top: calc(100% + 8px);
    transform: translateX(-50%) translateY(2px);
    padding: 0.25rem 0.5rem;
    border-radius: 0.35rem;
    background: var(--cr-heading);
    color: var(--cr-bg);
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.12s ease, transform 0.12s ease;
    z-index: 80;
}
.header-push-bell:hover::after,
.header-push-bell:focus-visible::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.header-push-tip {
    position: fixed;
    top: calc(3.5rem + 8px);
    right: max(0.75rem, env(safe-area-inset-right));
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0.65rem;
    overflow: hidden;
    width: min(20rem, calc(100vw - 1.5rem));
    padding: 0.65rem 0.65rem 0.65rem 0.65rem;
    border-radius: 0.55rem;
    border: 1px solid var(--cr-border);
    background: var(--cr-surface);
    color: var(--cr-heading);
    font-size: 0.8rem;
    line-height: 1.4;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
    z-index: 130;
}
.header-push-tip[hidden] {
    display: none !important;
}
.header-push-tip__media {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.45rem;
    overflow: hidden;
    background: color-mix(in srgb, var(--cr-heading) 8%, var(--cr-surface));
    align-self: center;
}
.header-push-tip__media[hidden] {
    display: none !important;
}
.header-push-tip__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.header-push-tip__body {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    flex: 1;
    min-width: 0;
    padding: 0;
}
.header-push-tip__content {
    min-width: 0;
    flex: 1;
}
.header-push-tip__title {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--cr-heading);
    line-height: 1.25;
}
.header-push-tip__text {
    margin: 0.2rem 0 0;
    color: var(--cr-muted);
    font-size: 0.78rem;
    white-space: pre-wrap;
}
.header-push-tip__text:empty {
    display: none;
}
.header-push-tip__link {
    display: inline-flex;
    margin-top: 0.35rem;
    color: var(--cr-accent);
    font-size: 0.76rem;
    font-weight: 700;
    text-decoration: none;
}
.header-push-tip__link:hover,
.header-push-tip__link:focus-visible {
    text-decoration: underline;
    text-underline-offset: 2px;
}
.header-push-tip__link[hidden] {
    display: none !important;
}
.header-push-tip__close {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    margin: -0.15rem -0.1rem 0 0;
    border: none;
    border-radius: 0.35rem;
    background: transparent;
    color: var(--cr-muted);
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
}
.header-push-tip__close:hover,
.header-push-tip__close:focus-visible {
    color: var(--cr-heading);
    background: color-mix(in srgb, var(--cr-accent) 14%, transparent);
}

