/* ===== Family Game - Headers ===== */

/* Common header styles */
.fg-waiting-header,
.bowling-header,
.bowling-player-header,
.yut-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    position: relative;
    z-index: 100;
    flex-shrink: 0;
}

.fg-waiting-header {
    padding: 10px 14px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.bowling-header {
    padding: 16px 24px;
}

.bowling-player-header {
    padding: 12px 16px;
}

.yut-header {
    padding: 8px 16px;
    height: 48px;
}

/* Header titles */
.bowling-title,
.bowling-player-title,
.yut-title {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.bowling-player-title,
.yut-title {
    font-size: 18px;
    gap: 8px;
}

.yut-title {
    font-size: 22px;
    gap: 10px;
}

/* Room info section */
.fg-waiting-room,
.bowling-room-info,
.yut-room-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.fg-waiting-room {
    color: #ffd700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(255, 215, 0, 0.3);
}

.bowling-room-info,
.yut-room-info {
    gap: 20px;
}

.yut-room-info {
    gap: 16px;
}

/* Room code badges */
.fg-waiting-room-code,
.bowling-room-code,
.yut-room-code {
    padding: 4px 10px;
    background: linear-gradient(180deg, #d4af37 0%, #aa8a1a 100%);
    border: 1px solid #ffd700;
    color: #1a1a1a;
    border-radius: 12px;
    font-weight: 700;
    font-size: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.bowling-room-code {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    border: none;
    color: white;
    box-shadow: none;
}

.yut-room-code {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 13px;
    border: none;
    color: white;
    box-shadow: none;
}

/* Player info badges */
.player-score-badge {
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    color: #000;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
}

.yut-nickname {
    font-size: 14px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
}

/* Team badges */
.yut-team-badge {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
}

.yut-team-badge.team1 {
    background: rgba(59, 130, 246, 0.4);
    color: #93c5fd;
}

.yut-team-badge.team2 {
    background: rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}
