/* Unsaved-scores warning (JS/save-retry.js) - pinned to the bottom of the
   screen so the scorer sees it wherever they're scrolled to. Used by the
   competition pages, the match scorecard and practice matches. */
.save-error-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1000;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 16px;
    max-width: 720px;
    margin: 0 auto;
    padding: 12px 16px;
    border-radius: 10px;
    background: #3a1d12;
    border: 1px solid #d4a017;
    color: #ffe2a8;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.save-error-banner.save-error-final {
    background: #4a0f1c;
    border-color: #ff8a8a;
    color: #ffd6d6;
}

.save-error-text {
    margin: 0;
    flex: 1 1 260px;
    line-height: 1.4;
}

.save-error-retry {
    flex: 0 0 auto;
    padding: 8px 16px;
    border: 0;
    border-radius: 8px;
    background: #d4a017;
    color: #1a1a1a;
    font-weight: 700;
    cursor: pointer;
}

.save-error-dismiss {
    flex: 0 0 auto;
    padding: 8px 16px;
    border: 1px solid currentColor;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    font-weight: 700;
    cursor: pointer;
}
