/* ============================================================
   Tip jar — Buy Me a Coffee link used across all games
   Drop-in: <link rel="stylesheet" href="/shared/tip-jar.css">
   ============================================================ */

.tip-jar-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #ffdd00, #ffaa00);
    color: #2a2200;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.2s ease;
    white-space: nowrap;
    line-height: 1;
}

.tip-jar-btn:hover,
.tip-jar-btn:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.32);
    filter: brightness(1.05);
    outline: none;
}

.tip-jar-btn:active {
    transform: translateY(0);
}

.tip-jar-btn.compact {
    padding: 6px 10px;
    font-size: 0.8rem;
}

/* Larger "support the dev" prompt shown on game-over / win screens */
.tip-jar-prompt {
    margin-top: 18px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(255, 221, 0, 0.12), rgba(255, 170, 0, 0.18));
    border: 1px solid rgba(255, 170, 0, 0.4);
    border-radius: 12px;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.tip-jar-prompt p {
    margin: 0 0 10px;
    font-size: 0.95rem;
    color: inherit;
    opacity: 0.85;
}

.tip-jar-prompt .tip-jar-btn {
    padding: 10px 20px;
    font-size: 0.95rem;
}
