/* Projekt: Ninabella | https://nina3c.dk/
 * Brugsvilkår: LICENSE.md / /brugsvilkaar/ | Kilder: SOURCES.md
 * Projekt-credit angiver ikke verificeret ophav til alle bidrag.
 */
/*
 * Ninabella | https://nina3c.dk/
 * Side / effekt / komponent: storage-notice
 * Fil: css/storage-notice.css
 * Version registreret: 2026-10-04T19:00:49+02:00 (Europe/Copenhagen)
 * Filens oprettelsesdato: 2026-10-01T18:10:48+02:00
 * Observeret seneste filændring før registrering: 2026-10-01T18:10:48+02:00
 * Fildatoer kan ændres ved kopiering og dokumenterer ikke første udviklingsdato.
 * Registreringen daterer denne version; oprindelig udviklingsdato er ikke verificeret.
 */
/* Valg om lokal lagring i spillene */
.storage-notice[hidden] {
    display: none;
}

.storage-notice {
    position: fixed;
    z-index: 5000;
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    left: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: min(720px, calc(100% - 28px));
    margin: 0 auto;
    padding: 20px 22px;
    color: #f8f7ff;
    background: linear-gradient(135deg, rgba(20, 30, 61, 0.98), rgba(47, 25, 72, 0.98));
    border: 2px solid rgba(93, 207, 255, 0.72);
    border-radius: 22px;
    box-shadow: 0 14px 42px rgba(0, 0, 0, 0.42), 0 0 28px rgba(223, 69, 215, 0.16);
}

.storage-notice-copy {
    min-width: 0;
}

.storage-notice-kicker {
    margin: 0 0 4px;
    color: #62d9ff;
    font-family: var(--font-code);
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.storage-notice h2 {
    margin: 0;
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.5vw, 1.4rem);
    line-height: 1.15;
}

.storage-notice-copy > p:last-child {
    margin: 7px 0 0;
    color: #d6dcf2;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.45;
}

.storage-notice-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    max-width: 260px;
}

.storage-notice button,
.storage-notice a {
    min-height: 42px;
    padding: 9px 13px;
    border: 1px solid rgba(217, 226, 255, 0.68);
    border-radius: 12px;
    color: #fff;
    background: transparent;
    font: 700 0.88rem/1.1 var(--font-display);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.storage-notice-accept {
    border-color: #53df9f !important;
    background: rgba(34, 167, 104, 0.2) !important;
}

.storage-notice-decline {
    border-color: #df7fe0 !important;
    background: rgba(185, 68, 178, 0.16) !important;
}

.storage-notice button:hover,
.storage-notice a:hover {
    transform: translateY(-1px);
    filter: brightness(1.13);
}

.storage-notice button:focus-visible,
.storage-notice a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

@media (max-width: 680px) {
    .storage-notice {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
        padding: 18px;
    }

    .storage-notice-actions {
        justify-content: flex-start;
        max-width: none;
    }
}
