/* "This is your free game" notice — drops down from the top of a Season Pass
   scoreboard (public/js/score-keeper/season-pass-notice.js). Brand blue accent on a
   dark card so it reads over every board theme. */
.spg-notice {
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 10090;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    box-sizing: border-box;
    width: min(32rem, calc(100% - 1.5rem));
    margin-top: calc(env(safe-area-inset-top, 0px) + 0.75rem);
    padding: 0.9rem 2.4rem 0.95rem 0.95rem;
    border-radius: 0.9rem;
    background: #0f172a;
    color: #f8fafc;
    box-shadow: 0 18px 48px rgba(2, 6, 23, 0.45);
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.45;
    transform: translate(-50%, calc(-100% - 2rem));
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.spg-notice.is-open { transform: translate(-50%, 0); }

.spg-notice__icon { font-size: 1.6rem; line-height: 1; padding-top: 0.1rem; }
.spg-notice__body { min-width: 0; }
.spg-notice__title { margin: 0 0 0.2rem; font-size: 1rem; font-weight: 800; }
.spg-notice__text { margin: 0; font-size: 0.875rem; color: #cbd5e1; }

.spg-notice__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.7rem; }
.spg-notice__cta,
.spg-notice__ok {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.9rem;
    border-radius: 0.55rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}
.spg-notice__cta { background: #2ba8ff; color: #fff; border: 0; }
.spg-notice__cta:hover { background: #1a97f0; }
.spg-notice__ok { background: transparent; color: #e2e8f0; border: 1px solid rgba(226, 232, 240, 0.35); }

.spg-notice__close {
    position: absolute;
    top: 0.45rem;
    right: 0.55rem;
    border: 0;
    background: transparent;
    color: #94a3b8;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.2rem 0.35rem;
}

@media (prefers-reduced-motion: reduce) {
    .spg-notice { transition: none; }
}
