/* Game page frame: body padding, the white table container, the login-prompt banner and the
   two floating score bars. Loads after base.css, before game.css. */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}


/* GAME PAGE LAYOUT */
body:not(.instructions-page) {
    padding: 140px 0 40px 0;
}

.container {
    max-width: 650px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* LOGIN PROMPT BANNER for suspected players */
.login-prompt-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 8px 15px;
    text-align: center;
    font-size: 14px;
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.login-prompt-banner .login-prompt-link {
    color: white;
    font-weight: bold;
    text-decoration: underline;
}

.login-prompt-banner .login-prompt-link:hover {
    color: #e8f5e9;
}

.login-prompt-dismiss {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0 5px;
    opacity: 0.8;
}

.login-prompt-dismiss:hover {
    opacity: 1;
}


/* FLOATING HEADERS (GAME ONLY) */
.floating-game-score {
    position: fixed;
    top: 10px;
    left: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 10px 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.floating-hand-score {
    position: fixed;
    top: 80px;
    left: 8px;
    right: 8px;
    background: rgba(248, 249, 250, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 8px 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 998;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #495057;
}

.game-score-item,
.hand-score-item {
    text-align: center;
    flex: 1;
}

.game-score-label {
    font-size: 11px;
    color: #666;
    margin-bottom: 2px;
}

.game-score-value {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.game-score-parity {
    font-size: 9px;
    color: #666;
    margin-bottom: 2px;
    font-weight: normal;
    line-height: 1;
}

.hand-score-item .label {
    color: #6c757d;
    margin-bottom: 2px;
}

.hand-score-item .value {
    font-weight: 600;
    color: #333;
}

