body {
    font-family: 'Press Start 2P', cursive;
    background-color: #222;
    color: #fff;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    font-size: 32px;
    text-shadow: 2px 2px #000;
}

main {
    background-color: #444;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.player-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.player-avatar {
    font-size: 64px;
    cursor: pointer;
    margin-right: 20px;
}

.player-details h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.player-details p {
    font-size: 16px;
    margin-bottom: 5px;
}

.player-inventory {
    margin-top: 20px;
}

.player-inventory h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.player-inventory ul {
    list-style-type: none;
    padding: 0;
}

.player-inventory li {
    font-size: 16px;
    margin-bottom: 5px;
}

.emoji-picker {
    margin-top: 20px;
    text-align: center;
}
.emoji {
    font-size: 32px;
    cursor: pointer;
    margin: 5px;
}

footer {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: #888;
}

/* ... (previous CSS styles) ... */

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #666;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    width: 0;
    height: 100%;
    background-color: #4caf50;
    transition: width 0.5s ease-in-out;
}

.player-location {
    margin-top: 20px;
}

.player-location h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.player-location p {
    font-size: 16px;
    margin-bottom: 10px;
}

/* ... (previous CSS styles) ... */
.player-name {
    cursor: pointer;
}

.player-name input {
    font-family: 'Press Start 2P', cursive;
    font-size: 24px;
    background-color: transparent;
    border: none;
    color: #fff;
    outline: none;
    width: 100%;
}

/* ... (previous CSS code) ... */
.player-monsters {
    margin-top: 20px;
}

.player-monsters h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

#monster-info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

#monster-name {
    margin-right: 10px;
}

.emoji-picker {
    width: 300px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.emoji-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(40px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.emoji {
    font-size: 32px;
    cursor: pointer;
    text-align: center;
}

#close-picker {
    display: block;
    margin: 0 auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.help-icon {
    font-size: 24px;
    cursor: pointer;
}

.help-dialog {
    width: 400px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.help-dialog h2 {
    margin-top: 0;
}

.help-dialog ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.help-dialog li {
    margin-bottom: 10px;
}

#close-help {
    display: block;
    margin: 0 auto;
}