Add gradient backgrounds to all status messages, match final-turn badge size

- Default gradient on base .status-message (dark green)
- Add round-over/game-over (gold) and reveal (purple) gradient styles
- Tag action prompts (swap, flip, discard) as your-turn type
- Match final-turn badge font size and padding to status message on mobile
- Hide status message when empty

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
adlee-was-taken
2026-02-22 21:31:20 -05:00
parent cb311ec0da
commit cb49fd545b
2 changed files with 29 additions and 7 deletions

View File

@@ -1665,6 +1665,12 @@ input::placeholder {
text-align: center;
white-space: nowrap;
color: #fff;
background: linear-gradient(135deg, #4a6741 0%, #3d5a35 100%);
}
/* Empty status - hide completely */
.status-message:empty {
display: none;
}
.status-message.your-turn {
@@ -1684,6 +1690,19 @@ input::placeholder {
color: #fff;
}
/* Round/game over status */
.status-message.round-over,
.status-message.game-over {
background: linear-gradient(135deg, #f0c040 0%, #d4a017 100%);
color: #2d3436;
}
/* Reveal status */
.status-message.reveal {
background: linear-gradient(135deg, #8b7eb8 0%, #6b5b95 100%);
color: #fff;
}
/* Final turn badge - enhanced V3 with countdown */
.final-turn-badge {
display: flex;
@@ -1701,7 +1720,7 @@ input::placeholder {
}
.final-turn-badge .final-turn-text {
font-size: 0.85rem;
font-size: 0.9rem;
}
.final-turn-badge.hidden {
@@ -5125,11 +5144,14 @@ body.mobile-portrait .mute-btn {
}
body.mobile-portrait .final-turn-badge {
font-size: 0.6rem;
padding: 2px 6px;
padding: 6px 16px;
white-space: nowrap;
}
body.mobile-portrait .final-turn-badge .final-turn-text {
font-size: 1.02rem;
}
/* --- Mobile: Game table — opponents pinned top, rest centered in remaining space --- */
body.mobile-portrait .game-table {
display: flex;