/* ── PWA install toast ─────────────────────────────────────────────────────
   Shown by src/systems/pwa.js. Hidden by default; JS toggles .is-visible. */
.pwa-toast {
    position: fixed;
    left: 50%;
    bottom: calc(74px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    display: none;
    align-items: center;
    gap: 12px;
    width: min(92vw, 460px);
    padding: 12px 14px;
    z-index: 9500;
    background: linear-gradient(180deg, #33200e 0%, #1d1108 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(218, 168, 76, 0.18);
    color: #f5e8d0;
    font-size: 14px;
    line-height: 1.35;
}

.pwa-toast.is-visible {
    display: flex;
}

.pwa-toast-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    object-fit: contain;
}

.pwa-toast-text {
    flex: 1 1 auto;
    min-width: 0;
}

.pwa-toast-title {
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 12px;
    color: #daa84c;
    margin-bottom: 2px;
}

.pwa-toast-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.pwa-toast-install {
    appearance: none;
    border: 0;
    border-radius: 3px;
    padding: 9px 16px;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #241305;
    background: linear-gradient(180deg, #f0c56b 0%, #c78d2e 100%);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.pwa-toast-install:active {
    transform: translateY(1px);
    filter: brightness(1.1);
}

.pwa-toast-close {
    appearance: none;
    border: 0;
    background: transparent;
    color: #a8895a;
    font-size: 20px;
    line-height: 1;
    padding: 4px 6px;
    cursor: pointer;
}

.pwa-toast-close:hover {
    color: #f5e8d0;
}

/* Standalone (installed) mode: keep the toast clear of the very bottom edge */
@media (display-mode: standalone) {
    .pwa-toast {
        bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    }
}
