Open History to see the last commit
1.game-complete-backdrop {
2 position: fixed;
3 inset: 0;
4 background: rgba(19, 20, 21, 0.5);
5 z-index: 200;
6 display: flex;
7 align-items: center;
8 justify-content: center;
9 animation: game-complete-fade-in 0.3s ease-out;
10}
11
12.game-complete-dialog {
13 background: white;
14 border: 1px solid var(--color-border);
15 border-radius: var(--radius-lg);
16 box-shadow: var(--shadow-lg);
17 padding: 32px;
18 width: 90%;
19 max-width: 400px;
20 text-align: center;
21 animation: game-complete-slide-in 0.4s ease-out;
22}
23
24.game-complete-title {
25 font-size: 1.75rem;
26 font-weight: 700;
27 margin: 0 0 8px 0;
28 color: var(--color-text);
29}
30
31.game-complete-mode {
32 font-size: 0.875rem;
33 color: var(--color-muted);
34 margin-bottom: 24px;
35}
36
37.game-complete-winner {
38 display: flex;
39 align-items: center;
40 justify-content: center;
41 gap: 12px;
42 margin-bottom: 24px;
43}
44
45.game-complete-winner-dot {
46 width: 32px;
47 height: 32px;
48 border-radius: 50%;
49 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
50}
51
52.game-complete-winner-name {
53 font-size: 1.5rem;
54 font-weight: 700;
55}
56
57.game-complete-tie {
58 font-size: 1.5rem;
59 font-weight: 700;
60 margin-bottom: 24px;
61 color: var(--color-muted);
62}
63
64.game-complete-scores {
65 margin-bottom: 24px;
66}
67
68.game-complete-scores h3 {
69 font-size: 0.875rem;
70 font-weight: 600;
71 color: var(--color-muted);
72 margin: 0 0 12px 0;
73 text-transform: uppercase;
74 letter-spacing: 0.5px;
75}
76
77.game-complete-score-list {
78 display: flex;
79 flex-direction: column;
80 gap: 8px;
81}
82
83.game-complete-score-item {
84 display: flex;
85 align-items: center;
86 gap: 10px;
87 padding: 8px 16px;
88 background: var(--color-bg);
89 border-radius: var(--radius-sm);
90}
91
92.game-complete-score-dot {
93 width: 14px;
94 height: 14px;
95 border-radius: 50%;
96 flex-shrink: 0;
97}
98
99.game-complete-score-name {
100 flex: 1;
101 text-align: left;
102 font-weight: 500;
103}
104
105.game-complete-score-value {
106 font-weight: 700;
107 font-variant-numeric: tabular-nums;
108}
109
110.game-complete-button {
111 width: 100%;
112 padding: 14px;
113 font-size: 1rem;
114 font-weight: 600;
115 background: var(--color-text);
116 color: white;
117 border-radius: var(--radius-sm);
118 transition:
119 background-color var(--transition-fast),
120 transform var(--transition-fast);
121}
122
123.game-complete-button:hover {
124 background: #303236;
125}
126
127.game-complete-button:active {
128 transform: scale(0.98);
129}
130
131@keyframes game-complete-fade-in {
132 from {
133 opacity: 0;
134 }
135 to {
136 opacity: 1;
137 }
138}
139
140@keyframes game-complete-slide-in {
141 from {
142 opacity: 0;
143 transform: translateY(-20px) scale(0.95);
144 }
145 to {
146 opacity: 1;
147 transform: translateY(0) scale(1);
148 }
149}
150
151/* Mobile adjustments */
152@media (max-width: 640px) {
153 .game-complete-dialog {
154 padding: 24px;
155 }
156
157 .game-complete-title {
158 font-size: 1.5rem;
159 }
160
161 .game-complete-winner-name {
162 font-size: 1.25rem;
163 }
164}