feat(combat): replace the victory placeholder with the reward summary
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -328,6 +328,10 @@
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.outcome--won {
|
||||
inline-size: min(32rem, 90%);
|
||||
}
|
||||
|
||||
.outcome--won .outcome__title {
|
||||
color: var(--ar-gold);
|
||||
}
|
||||
@@ -503,3 +507,61 @@
|
||||
max-inline-size: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* Reward summary: dark stone and bronze, large readable values, restrained
|
||||
rarity emphasis. No confetti, no popups, no slot-machine reveal (spec §50). */
|
||||
.rewards {
|
||||
display: grid;
|
||||
gap: var(--ar-space-3);
|
||||
justify-items: center;
|
||||
inline-size: 100%;
|
||||
margin-block-start: var(--ar-space-3);
|
||||
padding-block-start: var(--ar-space-3);
|
||||
border-block-start: 1px solid var(--ar-border);
|
||||
}
|
||||
|
||||
.rewards__title {
|
||||
margin: 0;
|
||||
color: var(--ar-text-muted);
|
||||
font-family: Georgia, 'Times New Roman', serif;
|
||||
font-size: var(--ar-font-sm);
|
||||
font-weight: 400;
|
||||
letter-spacing: 0.16em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.rewards__currencies {
|
||||
display: flex;
|
||||
gap: var(--ar-space-6);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.rewards__currency {
|
||||
display: grid;
|
||||
gap: var(--ar-space-1);
|
||||
justify-items: center;
|
||||
}
|
||||
|
||||
.rewards__currency dt {
|
||||
color: var(--ar-text-muted);
|
||||
font-size: var(--ar-font-sm);
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.rewards__currency dd {
|
||||
margin: 0;
|
||||
color: var(--ar-gold);
|
||||
font-family: Georgia, 'Times New Roman', serif;
|
||||
font-size: clamp(1.25rem, 2.5vw, 1.6rem);
|
||||
}
|
||||
|
||||
.rewards__loot {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: var(--ar-space-4);
|
||||
justify-content: center;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user