/* ============================================
   Bingo Page — Visual-First Design
   ============================================ */

/* ---- Hero Header ---- */
.bingo-hero {
    background: var(--gradient-primary);
    padding: 100px 20px 32px;
    text-align: center;
    color: var(--text-white);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.bingo-hero-inner {
    flex: 1;
}

.bingo-hero-emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 4px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.bingo-hero h1 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    margin: 0;
    line-height: 1.1;
}

.bingo-hero p {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 6px;
}

/* Progress Ring */
.bingo-progress {
    position: relative;
    width: 90px;
    height: 90px;
    flex-shrink: 0;
}

.bingo-ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.bingo-ring-bg {
    fill: none;
    stroke: rgba(255,255,255,0.2);
    stroke-width: 6;
}

.bingo-ring-fill {
    fill: none;
    stroke: #ffd93d;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 263.9;
    stroke-dashoffset: 263.9;
    transition: stroke-dashoffset 0.6s ease;
}

.bingo-ring-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bingo-ring-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.bingo-ring-label {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ---- Prize Track ---- */
.bingo-prizes {
    padding: 20px 0 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.prize-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-width: max-content;
    padding: 0 16px;
}

.prize-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 14px;
    background: var(--bg-white);
    border-radius: 16px;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    min-width: 90px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.prize-node.unlocked {
    border-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    box-shadow: 0 0 12px rgba(16,185,129,0.25);
}

.prize-node-gold {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-color: #f59e0b;
}

.prize-node-gold.unlocked {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fef3c7, #fbbf24);
    box-shadow: 0 0 20px rgba(245,158,11,0.4);
}

.prize-icon {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 4px;
}

.prize-label {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.prize-desc {
    font-size: 0.65rem;
    color: var(--text-light);
    margin-top: 2px;
}

.prize-connector {
    width: 24px;
    height: 3px;
    background: var(--border-color);
    flex-shrink: 0;
    border-radius: 2px;
}

.prize-connector.active {
    background: linear-gradient(90deg, #10b981, #34d399);
}

/* ---- Bingo Grid + Rules Layout ---- */
.bingo-grid-section {
    padding: 20px 0 24px;
}

.bingo-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    max-width: 700px;
    margin: 0 auto;
}

.bingo-layout .bingo-grid {
    max-width: 520px;
}

.bingo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    width: 100%;
}

/* ---- Info Row (Rules + Points side by side) ---- */
.bingo-info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
}

@media (max-width: 640px) {
    .bingo-info-row {
        grid-template-columns: 1fr;
    }
}

.bingo-info-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 22px 20px;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.bingo-info-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin: 0 0 14px;
    color: var(--text-dark);
}

/* Rules list */
.bingo-rules-list {
    margin: 0 0 16px;
    padding-left: 20px;
    list-style: none;
    counter-reset: bingo-step;
}

.bingo-rules-list li {
    counter-increment: bingo-step;
    position: relative;
    padding: 5px 0 5px 28px;
    font-size: 0.85rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.bingo-rules-list li::before {
    content: counter(bingo-step);
    position: absolute;
    left: 0;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bingo-rules-extras {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bingo-rule-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(118, 75, 162, 0.04);
    border-radius: 10px;
    border: 1px solid rgba(118, 75, 162, 0.08);
}

.bingo-rule-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.bingo-rule-card strong {
    font-size: 0.8rem;
    color: var(--text-dark);
    display: block;
    margin-bottom: 1px;
}

.bingo-rule-card p {
    font-size: 0.75rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}

/* Points tiers */
.bingo-points-tiers {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.bingo-tier {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(118, 75, 162, 0.05);
    border: 2px solid rgba(118, 75, 162, 0.1);
    transition: transform 0.15s ease;
}

.bingo-tier:hover {
    transform: scale(1.02);
}

.bingo-tier-line {
    background: rgba(255, 152, 0, 0.06);
    border-color: rgba(255, 152, 0, 0.18);
}

.bingo-tier-full {
    background: linear-gradient(135deg, rgba(249, 168, 37, 0.1), rgba(255, 215, 0, 0.14));
    border-color: rgba(249, 168, 37, 0.3);
}

.bingo-tier-icon {
    font-size: 2rem;
    flex-shrink: 0;
    line-height: 1;
}

.bingo-tier-body {
    flex: 1;
    min-width: 0;
}

.bingo-tier-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 3px;
}

.bingo-tier-label {
    font-weight: 800;
    font-size: 0.88rem;
    color: var(--text-dark);
}

.bingo-tier-label small {
    font-weight: 600;
    font-size: 0.72rem;
    opacity: 0.7;
}

.bingo-tier-pts {
    font-weight: 800;
    font-size: 0.75rem;
    color: white;
    background: var(--gradient-primary);
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.bingo-tier-line .bingo-tier-pts {
    background: linear-gradient(135deg, #ff9800, #f57c00);
}

.bingo-tier-full .bingo-tier-pts {
    background: linear-gradient(135deg, #f9a825, #ff8f00);
}

.bingo-tier-reward {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
    font-style: italic;
}

.bingo-tier-full .bingo-tier-reward {
    color: #b8860b;
    font-weight: 600;
}

/* Connector line between tiers */
.bingo-tier-connector {
    display: flex;
    justify-content: center;
    padding: 0;
    height: 18px;
}

.bingo-tier-connector span {
    display: block;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(118, 75, 162, 0.15), rgba(118, 75, 162, 0.3));
    border-radius: 2px;
}

/* Base cell */
.bingo-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px 8px 12px;
    border-radius: 16px;
    min-height: 110px;
    position: relative;
    cursor: default;
    transition: transform 0.15s, box-shadow 0.15s;
    overflow: hidden;
}

/* Unclaimed — inviting card */
.bingo-cell.unclaimed {
    cursor: pointer;
    background: var(--bg-white);
    border: 2px dashed #d1d5db;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.bingo-cell.unclaimed:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: var(--primary);
    border-style: solid;
    box-shadow: 0 8px 24px rgba(255,107,157,0.2);
}

.bingo-cell.unclaimed:active {
    transform: scale(0.96);
}

/* Claimed — filled card with team colour */
.bingo-cell.claimed {
    background: color-mix(in srgb, var(--team-colour, #10b981) 15%, white);
    border: 2px solid var(--team-colour, #10b981);
    box-shadow: 0 2px 12px color-mix(in srgb, var(--team-colour, #10b981) 20%, transparent);
}

.bingo-cell.claimed-self {
    background: linear-gradient(135deg, #fef9c3, #fef3c7);
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245,158,11,0.15), 0 2px 12px rgba(245,158,11,0.2);
}

/* Cell emoji */
.bingo-cell-emoji {
    font-size: 1.6rem;
    line-height: 1;
    margin-bottom: 4px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

/* Cell text */
.bingo-cell-text {
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--text-dark);
}

/* Claimer badge */
.bingo-cell-claimant {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--team-colour, #10b981);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.claimed-self .bingo-cell-claimant {
    color: #d97706;
}

/* Tap hint */
.bingo-cell-tap {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary, #ff6b9d);
    margin-top: 4px;
    opacity: 0.6;
    font-weight: 700;
}

/* Photo badge */
.bingo-cell.has-photo::before {
    content: "\1F4F7";
    position: absolute;
    top: 6px;
    right: 6px;
    font-size: 0.65rem;
}

/* Checkmark on claimed */
.bingo-cell.claimed::after {
    content: "\2713";
    position: absolute;
    top: 6px;
    left: 8px;
    font-size: 0.6rem;
    color: var(--team-colour, #10b981);
    font-weight: 800;
}

/* In-line glow */
.bingo-cell.in-line {
    animation: lineGlow 1.5s ease-in-out infinite alternate;
}

/* Cell pop on claim */
.bingo-cell.cell-pop {
    animation: cellPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---- Locked Cells ---- */
.bingo-cell-locked {
    background: linear-gradient(135deg, #f3e8ff, #ede9fe);
    border: 2px solid #c4b5fd;
    cursor: default;
    min-height: 120px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.bingo-cell-locked:hover {
    transform: translateY(-3px);
    border-color: #a78bfa;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3), 0 0 40px rgba(139, 92, 246, 0.15);
}

.bingo-cell-locked .bingo-cell-emoji {
    font-size: 2rem;
}

.bingo-cell-locked .bingo-cell-text {
    color: #7c3aed;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
}

/* Locked banner shown above grid */
.bingo-locked-banner {
    max-width: 520px;
    margin: 0 auto 16px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    border-radius: 16px;
    text-align: center;
    color: white;
}

.bingo-locked-banner h3 {
    font-size: 1.1rem;
    margin: 0 0 4px;
}

.bingo-locked-banner p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0;
}

/* ---- Claim Drawer (Centred Modal) ---- */
.bingo-claim-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s;
}

.bingo-claim-backdrop.visible {
    opacity: 1;
}

.bingo-claim-drawer {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    z-index: 9999;
    background: var(--bg-white);
    border-radius: 24px;
    padding: 32px 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 400px;
    width: calc(100% - 40px);
    text-align: center;
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.3s;
}

.bingo-claim-drawer.open {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.bingo-drawer-handle {
    display: none;
}

.bingo-drawer-emoji {
    font-size: 3rem;
    margin-bottom: 8px;
}

.bingo-drawer-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
    line-height: 1.3;
}

.bingo-drawer-hint {
    font-size: 0.82rem;
    color: var(--text-light);
    margin: 0 0 14px;
    line-height: 1.4;
}

.bingo-drawer-photo {
    margin-bottom: 16px;
}

.bingo-photo-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--bg-light);
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--text-dark);
    transition: background 0.15s;
}

.bingo-photo-label:hover {
    background: #e5e7eb;
}

.bingo-drawer-photo input[type="file"] {
    display: none;
}

.bingo-photo-preview {
    margin-top: 12px;
    max-height: 120px;
    border-radius: 12px;
    overflow: hidden;
}

.bingo-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.bingo-photo-remove {
    margin-top: 8px;
    background: none;
    border: none;
    color: #ef4444;
    font-size: 0.8rem;
    cursor: pointer;
    font-weight: 600;
}

.bingo-claim-btn {
    display: block;
    width: 100%;
    padding: 16px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    margin-bottom: 10px;
}

.bingo-claim-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,107,157,0.3);
}

.bingo-cancel-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 0.9rem;
    cursor: pointer;
}

/* ---- Punishment Board ---- */
.bingo-punishments-section {
    padding-bottom: 16px;
}

.bingo-punishment-item {
    max-width: 500px;
    margin: 0 auto 10px;
    padding: 14px 18px;
    background: var(--bg-white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--team-colour, var(--secondary));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: var(--shadow-sm);
}

.bingo-punishment-info {
    flex: 1;
    font-size: 0.88rem;
    color: var(--text-dark);
}

.bingo-punishment-by {
    font-size: 0.75rem;
    color: var(--text-light);
}

.bingo-punishment-done {
    background: #16a34a;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}

.bingo-punishment-done:hover {
    background: #15803d;
}

.bingo-punishment-status {
    font-size: 0.8rem;
    color: #16a34a;
    font-weight: 700;
}

.bingo-punishment-item.completed {
    opacity: 0.5;
}

/* ---- Leaderboard ---- */
.bingo-leaderboard-section {
    padding-bottom: 16px;
}

.bingo-leaderboard-list {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bingo-lb-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg-white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.bingo-lb-me {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fefce8, #fef9c3);
}

.bingo-lb-rank {
    font-size: 1.1rem;
    font-weight: 800;
    min-width: 28px;
    text-align: center;
}

.bingo-lb-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.bingo-lb-name {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.bingo-lb-claims {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 600;
}

.bingo-lb-lines {
    font-size: 0.75rem;
    background: var(--gradient-primary);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
}

/* ---- Activity Feed ---- */
.bingo-activity-section {
    padding-bottom: 24px;
}

.bingo-feed {
    max-width: 500px;
    margin: 0 auto;
    max-height: 250px;
    overflow-y: auto;
}

.bingo-feed-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.82rem;
}

.bingo-feed-text {
    flex: 1;
    color: var(--text-dark);
}

.bingo-feed-time {
    flex-shrink: 0;
    color: var(--text-light);
    font-size: 0.75rem;
}

.bingo-feed-empty {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    padding: 1rem;
    font-size: 0.85rem;
}

/* ---- Admin Bar (top of page) ---- */
.bingo-admin-bar {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 700;
}

.bingo-preview-btn {
    background: white;
    color: #92400e;
    border: none;
    border-radius: 10px;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}

.bingo-preview-btn:hover {
    background: #fef3c7;
}

/* ---- Admin Panel ---- */
.bingo-admin {
    max-width: 500px;
    margin: 24px auto;
    background: #fff8f0;
    border: 2px solid #f59e0b;
    border-radius: 16px;
    padding: 18px;
}

.bingo-admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.bingo-admin-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bingo-admin-preview-btn {
    background: #7c3aed;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}

.bingo-admin-preview-btn:hover {
    background: #6d28d9;
}

.bingo-admin-preview-btn.active {
    background: #16a34a;
}

.bingo-admin-header h3 {
    font-size: 1rem;
    color: #92400e;
    margin: 0;
}

.bingo-admin-count {
    font-size: 0.8rem;
    background: #f59e0b;
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.bingo-admin-claims {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bingo-admin-empty {
    color: #92400e;
    font-size: 0.85rem;
    text-align: center;
    padding: 12px;
}

.bingo-admin-claim {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    background: white;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.06);
}

.bingo-admin-claim.revoked {
    opacity: 0.5;
    text-decoration: line-through;
    background: #fef2f2;
}

.bingo-admin-claim-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.bingo-admin-claim-item {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bingo-admin-claim-meta {
    font-size: 0.75rem;
    color: #94a3b8;
}

.bingo-admin-btn {
    flex-shrink: 0;
    border: none;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
}

.bingo-admin-btn-revoke {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.bingo-admin-btn-revoke:hover {
    background: #dc2626;
    color: white;
}

.bingo-admin-btn-restore {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.bingo-admin-btn-restore:hover {
    background: #16a34a;
    color: white;
}

/* ---- Line Celebration Modal ---- */
.bingo-line-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(6px);
    padding: 20px;
    overflow-y: auto;
}

.bingo-line-modal-inner {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 24px 80px rgba(0,0,0,0.4);
    max-height: 90vh;
    overflow-y: auto;
}

.bingo-line-celebration h2 {
    font-size: 1.8rem;
    background: var(--gradient-festive, var(--gradient-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.bingo-line-celebration p {
    font-size: 1rem;
    color: var(--text-light);
}

.bingo-punishment-picker h3,
.bingo-guest-picker h3,
.bingo-line-confirm h3 {
    font-size: 1.1rem;
    margin: 1rem 0 0.75rem;
    color: var(--text-dark);
}

.bingo-punishment-cards {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 0.5rem;
}

.bingo-punishment-card {
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 14px;
    padding: 14px 16px;
    cursor: pointer;
    font-size: 0.88rem;
    text-align: left;
    transition: border-color 0.15s, transform 0.15s;
    font-family: inherit;
    color: var(--text-dark);
}

.bingo-punishment-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,107,157,0.15);
}

.bingo-guest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 0.5rem;
}

.bingo-guest-btn {
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 14px;
    padding: 10px 8px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    transition: border-color 0.15s, transform 0.15s;
    font-family: inherit;
    color: var(--text-dark);
}

.bingo-guest-btn:hover {
    border-color: var(--primary);
    transform: scale(1.05);
}

.bingo-line-confirm p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary);
    margin: 0.5rem 0 1rem;
}

/* ---- Toast ---- */
.bingo-toast {
    position: fixed;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10001;
    background: var(--text-dark);
    color: var(--text-white);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: top 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    white-space: nowrap;
}

.bingo-toast.show {
    top: 20px;
}

/* ---- Animations ---- */
@keyframes cellPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

@keyframes lineGlow {
    0%, 100% { box-shadow: 0 0 8px var(--team-colour, rgba(124,58,237,0.4)); }
    50% { box-shadow: 0 0 20px var(--team-colour, rgba(124,58,237,0.6)); }
}

@keyframes confettiFall {
    0% { transform: translateY(-10px) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

.bingo-confetti-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 10002;
    overflow: hidden;
}

.bingo-confetti-piece {
    position: absolute;
    top: -10px;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    animation: confettiFall 2.5s ease-in forwards;
}

/* ---- Mobile ---- */
@media (max-width: 480px) {
    .bingo-hero {
        padding: 90px 16px 24px;
        flex-direction: column;
        gap: 16px;
    }

    .bingo-hero h1 {
        font-size: 1.8rem;
    }

    .bingo-hero-emoji {
        font-size: 2.4rem;
    }

    .bingo-progress {
        width: 70px;
        height: 70px;
    }

    .bingo-ring-num {
        font-size: 1.3rem;
    }

    .prize-track {
        justify-content: flex-start;
    }

    .prize-node {
        padding: 10px 10px;
        min-width: 76px;
    }

    .prize-icon {
        font-size: 1.4rem;
    }

    .prize-label {
        font-size: 0.65rem;
    }

    .prize-connector {
        width: 16px;
    }

    .bingo-grid {
        gap: 8px;
    }

    .bingo-cell {
        padding: 10px 6px 8px;
        min-height: 95px;
        border-radius: 14px;
    }

    .bingo-cell-emoji {
        font-size: 1.3rem;
    }

    .bingo-cell-locked .bingo-cell-emoji {
        font-size: 1.6rem;
    }

    .bingo-cell-locked {
        min-height: 100px;
    }

    .bingo-cell-text {
        font-size: 0.62rem;
    }

    .bingo-cell-claimant {
        font-size: 0.55rem;
    }

    .bingo-cell-tap {
        font-size: 0.5rem;
    }

    .bingo-claim-drawer {
        width: calc(100% - 32px);
    }

    .bingo-guest-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bingo-line-modal-inner {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 360px) {
    .bingo-cell {
        min-height: 80px;
        padding: 8px 4px 6px;
    }

    .bingo-cell-emoji {
        font-size: 1.1rem;
    }

    .bingo-cell-text {
        font-size: 0.58rem;
    }
}
