body {
    font-family: Arial, sans-serif;
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
    background: #36393f;
    color: white;
}

.context {
    background: #2f3136;
    border-left: 4px solid #5865f2;
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 0 4px 4px 0;
}

.context.hint {
    border-left-color: #faa61a;
    opacity: 0.8;
}

.context .author {
    color: #5865f2;
    font-weight: bold;
    margin-bottom: 5px;
}

.context.hint .author {
    color: #faa61a;
}

.context .message {
    color: #dcddde;
}

.prompt {
    color: #b9bbbe;
    margin: 20px 0;
    font-size: 18px;
}

.prompt .name {
    color: #5865f2;
    font-weight: bold;
}

.guess-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 10px 0;
}

.letter-box {
    width: 30px;
    height: 40px;
    text-align: center;
    font-size: 20px;
    font-family: monospace;
    border: 2px solid #565656;
    background: #3a3a3c;
    color: white;
    border-radius: 4px;
    text-transform: lowercase;
}

.letter-box:focus {
    outline: none;
    border-color: #5865f2;
}

.letter-box.fixed {
    background: #2a2a2c;
    border-color: #3a3a3c;
    color: #888;
}

.letter-box.correct {
    background: #538d4e;
    border-color: #538d4e;
}

.letter-box.present {
    background: #b59f3b;
    border-color: #b59f3b;
}

.letter-box.wrong {
    background: #3a3a3c;
    border-color: #3a3a3c;
}

.letter-box.locked {
    opacity: 0.9;
}

.letter-box.invalid {
    border-color: #ed4245;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background: #5865f2;
    color: white;
    border: none;
    border-radius: 4px;
    margin-right: 10px;
    margin-top: 20px;
}

button:hover {
    background: #4752c4;
}

button.hint-btn {
    background: #faa61a;
}

button.hint-btn:hover {
    background: #d99316;
}

button.hint-btn:disabled {
    background: #555;
    cursor: not-allowed;
}

.win-message {
    color: #57f287;
    font-size: 24px;
    margin: 20px 0;
}

.lose-message {
    color: #ed4245;
    font-size: 18px;
    margin: 20px 0;
}

.error-message {
    color: #ed4245;
    font-size: 16px;
    margin: 10px 0;
}

.timestamp {
    color: #72767d;
    font-size: 12px;
    font-weight: normal;
}

#message {
    margin-top: 20px;
}

.guess-number {
    color: #72767d;
    font-size: 14px;
    margin-top: 15px;
    margin-bottom: 5px;
}

.word-count {
    color: #72767d;
    font-size: 12px;
    margin-bottom: 20px;
}

#hints-container {
    margin-bottom: 10px;
}

.section-label {
    color: #72767d;
    font-size: 12px;
    margin: 15px 0 5px 0;
    text-transform: uppercase;
}

/* Navigation */
.nav {
    margin-bottom: 20px;
}

.nav a {
    color: #5865f2;
    text-decoration: none;
    margin-right: 20px;
}

.nav a:hover {
    text-decoration: underline;
}

.nav a.active {
    color: white;
    font-weight: bold;
}

/* Who Said Game */
.message-display {
    background: #2f3136;
    padding: 20px;
    border-radius: 8px;
    font-size: 20px;
    margin: 20px 0;
    color: #dcddde;
    text-align: center;
}

.author-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.author-btn {
    padding: 15px;
    background: #2f3136;
    border: 2px solid #565656;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.author-btn:hover {
    border-color: #5865f2;
    background: #3a3a3c;
}

.author-btn.correct {
    background: #538d4e;
    border-color: #538d4e;
}

.author-btn.wrong {
    background: #ed4245;
    border-color: #ed4245;
}

.author-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.stats {
    color: #72767d;
    font-size: 14px;
    margin: 10px 0;
}