body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}
.container {
    width: 100%;
    max-width: 800px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.hidden { display: none; }

/* --- LAYOUT DEL JUEGO --- */
#game-layout {
    display: flex;
    gap: 20px;
}
#main-content {
    flex-grow: 1;
}
#sidebar {
    flex-basis: 200px;
    flex-shrink: 0;
    border-left: 1px solid #eeeeee;
    padding-left: 20px;
}

/* --- ESTILOS DE TEXTO Y ENLACES --- */
h1, h3 { color: #111; }
h1 { text-align: center; margin-top: 0; }
#room-description {
    white-space: pre-wrap;
    line-height: 1.6;
    padding-bottom: 15px;
    margin-bottom: 15px;
    color: #555;
}
#choices { list-style: none; padding: 0; margin: 0; border-top: 1px solid #eeeeee; padding-top: 15px;}
#choices a {
    color: #007bff;
    text-decoration: none;
    cursor: pointer;
    display: block;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}
#choices a:hover { background-color: #f0f8ff; }

/* --- INVENTARIO Y JUGADORES --- */
#inventory-list, #players-present {
    list-style: none;
    padding: 0;
    color: #666;
    font-size: 0.9em;
}

/* --- BOTONES --- */
.btn {
    background-color: transparent;
    border: 2px solid #007bff;
    color: #007bff;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 1em;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}
.btn:hover { background-color: #007bff; color: #fff; }
#login-container { text-align: center; }
#sign-out { position: absolute; top: 15px; right: 15px; font-size: 0.8em; padding: 5px 10px; }