/* Phone-only callout pointing at the navbar's "Track workout" button. */
.log-nudge { position: absolute; left: 0; right: 0; z-index: 1020; pointer-events: none; }
.log-nudge[hidden] { display: none; }
.log-nudge-arrow {
    position: absolute;
    top: 2px;
    width: 30px;
    text-align: center;
    font-size: 1.75rem;
    line-height: 1;
    color: #14502c;                 /* the bubble's colour: one object */
    background: #fff;               /* fills the circle's arrow cut-out */
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
    animation: log-nudge-bounce 1.1s ease-in-out infinite;
}
@keyframes log-nudge-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}
.log-nudge-bubble {
    pointer-events: auto;
    position: absolute;
    top: 30px;
    right: 12px;
    max-width: min(300px, calc(100vw - 24px));
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding: 10px 6px 10px 14px;
    border-radius: 12px;
    background: #14502c;
    font-size: 15px;
    line-height: 1.35;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
}
.log-nudge-link { color: #fff; text-decoration: none; padding: 2px 0; }
.log-nudge-link:hover, .log-nudge-link:focus { color: #fff; }
.log-nudge-link strong { display: block; }
.log-nudge-x {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    margin: -8px -2px -8px 0;
    border: 0;
    background: none;
    color: rgba(255, 255, 255, .8);
    font-size: 22px;
    line-height: 1;
}
@media (prefers-reduced-motion: reduce) { .log-nudge-arrow { animation: none; } }
@media (min-width: 992px) { .log-nudge { display: none !important; } }
