BlueGit

projects-timfalken-com allianties

Files

allianties / build / style.css

style.css

style.css 18.9 KiB Download Raw
1:root {
2 --bg: #0c1020;
3 --bg-2: #151a2e;
4 --bg-3: #1c2340;
5 --gold: #e8c547;
6 --gold-dim: #b8942e;
7 --ink: #e8eaf2;
8 --muted: #9aa3bd;
9 --danger: #e85d5d;
10 --ok: #4ecb8d;
11 --cf: #c44b4b;
12 --line: rgba(200, 210, 240, 0.18);
13 --safe-b: max(12px, env(safe-area-inset-bottom, 0px));
14 --safe-t: max(8px, env(safe-area-inset-top, 0px));
15 --safe-r: max(8px, env(safe-area-inset-right, 0px));
16 --safe-l: max(8px, env(safe-area-inset-left, 0px));
17 --radius: 12px;
18 --hit: 44px;
19 --font: "Source Sans 3", "Segoe UI", "Noto Sans", "Hiragino Sans", "Noto Sans CJK JP", "Noto Sans CJK SC", "Noto Sans CJK KR", sans-serif;
20}
21* { box-sizing: border-box; }
22html, body {
23 margin: 0; padding: 0;
24 background: var(--bg);
25 color: var(--ink);
26 font-family: var(--font);
27 font-size: 16px;
28 line-height: 1.45;
29 min-height: 100%;
30 min-height: 100dvh;
31 -webkit-text-size-adjust: 100%;
32 touch-action: manipulation;
33}
34body { padding: var(--safe-t) var(--safe-r) var(--safe-b) var(--safe-l); }
35button, input, a.button {
36 font: inherit;
37 touch-action: manipulation;
38}
39button, a.button {
40 appearance: none;
41 display: inline-flex;
42 align-items: center;
43 justify-content: center;
44 min-height: var(--hit);
45 min-width: var(--hit);
46 padding: 10px 18px;
47 border: 0;
48 border-radius: 10px;
49 background: var(--gold);
50 color: #1a1404;
51 font-weight: 650;
52 cursor: pointer;
53 text-decoration: none;
54}
55button:disabled { opacity: 0.45; cursor: not-allowed; }
56button:focus-visible, a.button:focus-visible, input:focus-visible {
57 outline: 2px solid var(--gold);
58 outline-offset: 2px;
59}
60.btn-secondary, .btn-secondary:link {
61 background: var(--bg-3);
62 color: var(--ink);
63 border: 1px solid var(--line);
64}
65.btn-danger { background: var(--danger); color: #fff; }
66.btn-danger-outline {
67 background: transparent;
68 color: var(--danger);
69 border: 1px solid var(--danger);
70}
71.btn-back {
72 background: transparent;
73 color: var(--muted);
74 border: 1px solid var(--line);
75 min-width: auto;
76 margin-bottom: 8px;
77}
78input[type="text"], input[type="number"], input[type="time"], textarea {
79 background: var(--bg-2);
80 color: var(--ink);
81 border: 1px solid var(--line);
82 border-radius: 10px;
83 padding: 10px 12px;
84 min-height: var(--hit);
85 width: 100%;
86}
87.sr-only {
88 position: absolute; width: 1px; height: 1px;
89 padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
90}
91h1, h2 { font-weight: 700; letter-spacing: 0.01em; margin: 0 0 0.4em; }
92h1 { font-size: 2.1rem; color: var(--gold); text-align: center; }
93.tagline, .hint, small { color: var(--muted); }
94.tagline { text-align: center; margin: 0 0 1.2rem; }
95.hint, small { font-size: 0.92rem; }
96.error, .notice {
97 padding: 10px 14px;
98 border-radius: 10px;
99 margin: 12px 0;
100}
101.error { background: rgba(80,16,24,0.85); border: 1px solid #e88; color: #ffd6d6; }
102.notice { background: rgba(40,36,16,0.85); border: 1px solid var(--gold-dim); }
103.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 0.08em; }
104#app { max-width: 720px; margin: 0 auto; padding: 8px 16px 96px; }
105.screen { animation: fade 0.2s ease; }
106@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
107[hidden] { display: none !important; }
108
109.menu-account { text-align: center; margin: 1rem 0; }
110.menu-account a { color: var(--gold); }
111.menu-account a.button { color: #1a1404; }
112#menu-guest { display: flex; flex-direction: column; align-items: center; gap: 10px; }
113#menu-local-login { display: block; max-width: 36rem; line-height: 1.6; }
114.avatar-sm, .avatar {
115 border-radius: 50%;
116 object-fit: cover;
117 background: var(--bg-3);
118 vertical-align: middle;
119}
120.avatar-sm { width: 32px; height: 32px; margin-right: 6px; }
121#menu-actions { display: flex; flex-direction: column; gap: 12px; margin: 1.4rem 0; }
122.join-form { display: flex; gap: 8px; }
123.join-form input { flex: 1; text-transform: uppercase; letter-spacing: 0.12em; text-align: center; }
124
125.games-list, .player-list, .cf-ranges, #jury-list { list-style: none; padding: 0; margin: 0; }
126.games-list li, .player-list li, .game-card {
127 display: flex; align-items: center; gap: 12px;
128 background: var(--bg-2);
129 border: 1px solid var(--line);
130 border-radius: var(--radius);
131 padding: 10px 12px;
132 margin: 8px 0;
133 min-height: var(--hit);
134}
135.games-list button { margin-left: auto; }
136.player-dot {
137 width: 14px; height: 14px; border-radius: 50%;
138 flex-shrink: 0;
139 box-shadow: 0 0 0 2px #0006;
140}
141.invite-row { display: flex; gap: 8px; margin: 8px 0 16px; flex-wrap: wrap; }
142.invite-row input { flex: 1; min-width: 0; font-size: 0.82rem; letter-spacing: 0; }
143.actions { display: flex; flex-direction: column; gap: 10px; margin: 1.2rem 0; }
144
145.toggle {
146 display: flex; gap: 12px; align-items: flex-start;
147 padding: 12px 0;
148 cursor: pointer;
149}
150.toggle input[type="checkbox"] {
151 appearance: none;
152 width: 48px; height: 28px; min-height: 28px;
153 border-radius: 14px;
154 background: #2a3148;
155 border: 1px solid var(--line);
156 position: relative;
157 flex-shrink: 0;
158 margin-top: 2px;
159}
160.toggle input[type="checkbox"]::after {
161 content: "";
162 position: absolute; top: 2px; left: 2px;
163 width: 22px; height: 22px; border-radius: 50%;
164 background: #c8cde0;
165 transition: transform 0.15s ease;
166}
167.toggle input[type="checkbox"]:checked { background: var(--gold-dim); }
168.toggle input[type="checkbox"]:checked::after { transform: translateX(20px); background: #fff8e0; }
169.toggle small { display: block; margin-top: 4px; }
170.field { margin: 0 0 12px 60px; }
171.field input[type="number"] { max-width: 6rem; }
172
173/* Cease-fire clock */
174.cf-clock { display: flex; justify-content: center; margin: 12px 0; touch-action: none; }
175.cf-clock svg { width: min(86vw, 320px); height: auto; touch-action: none; user-select: none; }
176.cf-ranges li {
177 display: flex; gap: 8px; align-items: center;
178 padding: 8px 0;
179}
180.cf-ranges input[type="time"] { max-width: 8rem; min-height: 40px; }
181
182/* Top bar / countdowns */
183#top-bar {
184 position: sticky; top: 0; z-index: 8;
185 background: linear-gradient(180deg, #0c1020 70%, #0c102000);
186 padding: 4px 0 12px;
187 text-align: center;
188}
189#top-title { font-weight: 700; color: var(--gold); letter-spacing: 0.04em; }
190.countdown { margin: 4px 0; }
191.cd-label { display: block; font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
192.cd-hms {
193 font-variant-numeric: tabular-nums;
194 font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
195 font-size: 1.85rem;
196 font-weight: 700;
197 letter-spacing: 0.06em;
198 color: var(--gold);
199}
200#cf-countdown .cd-hms { color: #f0c0c0; font-size: 1.45rem; }
201#cf-countdown.active .cd-hms { color: var(--danger); }
202#top-meta { font-size: 0.9rem; color: var(--muted); min-height: 1.3em; }
203#shrink-banner { color: #ffcc77; margin-left: 8px; }
204
205#game-hud {
206 display: flex; align-items: center; gap: 8px;
207 flex-wrap: wrap;
208 margin-bottom: 8px;
209}
210#you-stats { flex: 1; font-size: 0.95rem; }
211#you-stats strong { color: var(--gold); }
212.banner {
213 background: rgba(40, 36, 16, 0.9);
214 border: 1px solid var(--gold-dim);
215 border-radius: 10px;
216 padding: 8px 12px;
217 text-align: center;
218}
219
220/* Board */
221#board-wrap {
222 display: flex; justify-content: center;
223 margin: 8px 0 16px;
224 touch-action: none;
225}
226#board {
227 display: grid;
228 gap: 3px;
229 width: min(96vw, 560px, calc(100dvh - 290px));
230 aspect-ratio: 1;
231 grid-template-rows: repeat(var(--n, 6), 1fr);
232 touch-action: none;
233 user-select: none;
234 -webkit-user-select: none;
235}
236.cell {
237 position: relative;
238 background: #1a2140;
239 border-radius: 6px;
240 border: 1px solid #2a3358;
241 min-width: 0; min-height: 0;
242 width: auto;
243 height: auto;
244 padding: 0;
245 aspect-ratio: 1;
246 cursor: pointer;
247 display: flex; align-items: center; justify-content: center;
248 touch-action: none;
249 color: inherit;
250}
251button.cell {
252 min-height: 0;
253 min-width: 0;
254 padding: 0;
255 background: #1a2140;
256 border-radius: 6px;
257 font-weight: 400;
258}
259.cell.impassable { background: #0a0c14; border-color: #111; cursor: default; }
260.cell.threat { box-shadow: inset 0 0 0 2px #e8a03a; background: #2a2210; }
261.cell.move-target { box-shadow: inset 0 0 0 3px var(--ok); background: #163226; }
262.cell.selected { box-shadow: inset 0 0 0 3px var(--gold); }
263.cell.in-range { box-shadow: inset 0 0 0 2px #e85d5d88; }
264.piece {
265 width: 82%;
266 height: 82%;
267 max-width: 82%;
268 max-height: 82%;
269 aspect-ratio: 1;
270 border-radius: 50%;
271 border: 3px solid var(--c, #fff);
272 box-shadow: 0 0 0 1px #0008, 0 2px 6px #0006;
273 object-fit: cover;
274 background: #222;
275 pointer-events: none;
276 flex-shrink: 0;
277}
278.piece.dead { filter: grayscale(1) brightness(0.7); opacity: 0.7; border-style: dashed; }
279.avatar-wrap-fixed {
280 display: inline-flex;
281 flex-shrink: 0;
282 align-items: center;
283 justify-content: center;
284 width: var(--sz, 40px);
285 height: var(--sz, 40px);
286}
287.piece-fixed {
288 width: var(--sz, 40px) !important;
289 height: var(--sz, 40px) !important;
290 max-width: none;
291 max-height: none;
292 border-width: 2px;
293 font-size: calc(var(--sz, 40px) * 0.38);
294}
295/* Token: always a visible circle in the player's colour with initials;
296 a profile picture (if it loads) is layered on top. See src/avatar.js. */
297.piece-token {
298 position: relative;
299 display: inline-flex;
300 align-items: center;
301 justify-content: center;
302 overflow: hidden;
303 background-color: var(--c, #888);
304 box-sizing: border-box;
305 line-height: 1;
306 user-select: none;
307}
308.cell { container-type: inline-size; }
309.piece-initials {
310 display: block;
311 font-weight: 800;
312 font-size: 0.8em;
313 font-size: 30cqw;
314 letter-spacing: 0.02em;
315 color: inherit;
316 text-shadow: 0 1px 2px #0006;
317 pointer-events: none;
318}
319.piece-fixed .piece-initials { font-size: calc(var(--sz, 40px) * 0.38); }
320.piece-img {
321 position: absolute;
322 inset: 0;
323 width: 100%;
324 height: 100%;
325 object-fit: cover;
326 border-radius: 50%;
327 pointer-events: none;
328}
329.piece.has-img .piece-initials { visibility: hidden; }
330#menu-avatar { display: inline-flex; background: none; }
331
332/* Timeline */
333#timeline {
334 position: sticky; bottom: 0;
335 display: flex; align-items: center; gap: 8px;
336 background: #0c1020ee;
337 padding: 8px 0 calc(8px + 48px); /* room for lang picker */
338 z-index: 7;
339 touch-action: none;
340}
341#tl-play, #tl-live { flex-shrink: 0; }
342#tl-play { width: var(--hit); padding: 0; font-size: 1.1rem; }
343#tl-track {
344 position: relative;
345 flex: 1;
346 height: 44px;
347 background: var(--bg-2);
348 border: 1px solid var(--line);
349 border-radius: 8px;
350 touch-action: none;
351 cursor: pointer;
352}
353#tl-ticks { position: absolute; inset: 0; pointer-events: none; }
354.tl-tick {
355 position: absolute; top: 8px; bottom: 8px;
356 width: 2px; background: var(--gold);
357 transform: translateX(-1px);
358}
359#tl-head {
360 position: absolute; top: 4px; bottom: 4px;
361 width: 4px; background: #fff;
362 border-radius: 2px;
363 transform: translateX(-2px);
364 pointer-events: none;
365 box-shadow: 0 0 6px #fff8;
366}
367
368/* Jury */
369#jury-panel {
370 background: var(--bg-2);
371 border: 1px solid var(--line);
372 border-radius: var(--radius);
373 padding: 12px;
374 margin: 8px 0 16px;
375}
376#jury-list li { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
377#jury-list button { margin-left: auto; }
378
379/* Modal / sheet / settings */
380.modal, .sheet, .settings-panel {
381 position: fixed; inset: 0;
382 background: #0008;
383 z-index: 20;
384 display: flex; align-items: flex-end; justify-content: center;
385 padding: 16px 16px var(--safe-b);
386 touch-action: none;
387}
388.modal { align-items: center; }
389.modal-card, .sheet-card, .settings-panel {
390 background: var(--bg-2);
391 border: 1px solid var(--line);
392 border-radius: 16px;
393 padding: 20px 18px 16px;
394 width: min(100%, 440px);
395 max-height: min(88vh, 40rem);
396 overflow-y: auto;
397 -webkit-overflow-scrolling: touch;
398 touch-action: pan-y;
399 position: relative;
400}
401.settings-panel {
402 position: fixed; inset: auto 16px var(--safe-b) 16px;
403 margin: 0 auto;
404 display: flex; flex-direction: column; gap: 10px;
405 top: auto;
406 background: var(--bg-2);
407}
408.modal-close {
409 position: absolute; top: 8px; right: 8px;
410 background: transparent; color: var(--ink);
411 min-width: var(--hit); width: var(--hit);
412}
413.chat-log {
414 max-height: 40vh; overflow-y: auto;
415 touch-action: pan-y;
416 display: flex; flex-direction: column; gap: 8px;
417 margin: 8px 0;
418}
419.chat-bubble {
420 max-width: 85%;
421 padding: 8px 12px;
422 border-radius: 12px;
423 background: var(--bg-3);
424}
425.chat-bubble.mine { align-self: flex-end; background: #3a3420; }
426.chat-compose { display: flex; gap: 8px; }
427.opt-list { display: flex; flex-direction: column; gap: 8px; }
428.opt-list button { width: 100%; }
429
430/* Language picker — same pattern as Meteors */
431.lang-picker {
432 position: fixed;
433 right: var(--safe-r);
434 bottom: var(--safe-b);
435 z-index: 15;
436 display: flex;
437 flex-direction: column-reverse;
438 align-items: flex-end;
439 gap: 8px;
440}
441.lang-current {
442 appearance: none;
443 border: 1px solid rgba(200, 210, 240, 0.35);
444 background: rgba(16, 20, 40, 0.92);
445 border-radius: 8px;
446 padding: 6px 7px;
447 cursor: pointer;
448 line-height: 0;
449 box-shadow: 0 4px 14px rgba(0,0,0,0.4);
450 min-width: 52px;
451 min-height: 40px;
452 color: inherit;
453}
454.lang-current img, .lang-option img {
455 display: block; width: 36px; height: 24px;
456 object-fit: cover; border-radius: 3px;
457 image-rendering: auto;
458 box-shadow: 0 0 0 1px rgba(0,0,0,0.35);
459}
460.lang-current:focus-visible, .lang-option:focus-visible,
461.lang-current[aria-expanded="true"] { border-color: var(--gold); outline: none; }
462.lang-list {
463 display: flex; flex-direction: column; gap: 4px;
464 background: rgba(16, 14, 30, 0.96);
465 border: 1px solid #5a5470;
466 border-radius: 12px;
467 padding: 8px;
468 max-height: min(70vh, 28rem);
469 overflow-y: auto;
470 -webkit-overflow-scrolling: touch;
471 touch-action: pan-y;
472 box-shadow: 0 12px 32px rgba(0,0,0,0.45);
473 min-width: 11.5rem;
474}
475.lang-list[hidden] { display: none !important; }
476.lang-option {
477 appearance: none;
478 display: flex; align-items: center; gap: 10px;
479 width: 100%;
480 border: 1px solid transparent;
481 background: transparent;
482 color: var(--ink);
483 font: inherit; font-size: 0.95rem;
484 padding: 6px 8px;
485 border-radius: 8px;
486 cursor: pointer;
487 text-align: left;
488 min-height: 40px;
489 white-space: nowrap;
490}
491.lang-option.current { border-color: var(--gold); background: rgba(40, 32, 16, 0.7); }
492
493@media (min-width: 700px) {
494 #app { padding-bottom: 80px; }
495 #menu-actions { flex-direction: row; align-items: stretch; }
496 .join-form { flex: 1; }
497 .actions { flex-direction: row; }
498 .modal { align-items: center; }
499}
500@media (prefers-reduced-motion: reduce) {
501 .screen { animation: none; }
502 .toggle input[type="checkbox"]::after { transition: none; }
503}
504
505/* Visibility options */
506.vis-panel { margin: 16px 0 8px; }
507.vis-panel h3 { font-size: 1.05rem; margin: 0 0 6px; }
508.vis-field {
509 border: 1px solid var(--line);
510 border-radius: var(--radius);
511 padding: 8px 12px 10px;
512 margin: 10px 0;
513 background: var(--bg-2);
514}
515.vis-field legend {
516 font-weight: 650;
517 padding: 0 6px;
518 color: var(--ink);
519}
520.vis-opt {
521 display: flex;
522 align-items: center;
523 gap: 10px;
524 min-height: var(--hit);
525 padding: 4px 4px;
526 cursor: pointer;
527 border-radius: 8px;
528 -webkit-tap-highlight-color: transparent;
529}
530.vis-opt:hover, .vis-opt:focus-within { background: #ffffff0c; }
531.vis-opt input[type="radio"] {
532 width: 22px;
533 height: 22px;
534 accent-color: var(--gold);
535 flex-shrink: 0;
536 margin: 0;
537}
538.vis-opt input:disabled { cursor: not-allowed; }
539
540/* Board effects (replay arrows / pulses) */
541#board-wrap { position: relative; }
542#board { position: relative; z-index: 1; overflow: visible; }
543.cell { overflow: visible; }
544.board-fx {
545 position: absolute;
546 inset: 0;
547 width: 100%;
548 height: 100%;
549 pointer-events: none;
550 z-index: 4;
551 overflow: visible;
552}
553.piece.moving {
554 position: relative;
555 z-index: 5;
556 will-change: transform;
557}
558.piece.range-pulse {
559 animation: range-pulse 0.55s ease-out;
560}
561@keyframes range-pulse {
562 0% { box-shadow: 0 0 0 0 rgba(232, 197, 71, 0.95), 0 0 0 1px #0008, 0 2px 6px #0006; }
563 60% { box-shadow: 0 0 0 18px rgba(232, 197, 71, 0), 0 0 0 1px #0008, 0 2px 6px #0006; }
564 100% { box-shadow: 0 0 0 0 rgba(232, 197, 71, 0), 0 0 0 1px #0008, 0 2px 6px #0006; }
565}
566.fx-float {
567 position: absolute;
568 z-index: 6;
569 pointer-events: none;
570 font-weight: 800;
571 font-size: 1.25rem;
572 font-variant-numeric: tabular-nums;
573 color: #4ecb8d;
574 text-shadow: 0 1px 4px #000c;
575 transform: translate(-50%, -50%);
576 animation: fx-rise 0.55s ease-out forwards;
577}
578@keyframes fx-rise {
579 from { opacity: 1; transform: translate(-50%, -40%) scale(1); }
580 to { opacity: 0.15; transform: translate(-50%, -140%) scale(1.25); }
581}
582
583/* Timeline: large touch target, ticks aligned with playhead (idx / n) */
584#timeline { touch-action: none; user-select: none; -webkit-user-select: none; }
585#tl-track {
586 height: var(--hit);
587 min-height: var(--hit);
588 touch-action: none;
589 cursor: pointer;
590}
591
592#tl-back, #tl-fwd { width: var(--hit); padding: 0; font-size: 1.4rem; font-weight: 700; }
593.ap-time-field { margin-left: 0; }
594.ap-time-field input[type="time"] { max-width: 10rem; }
595#ap-time-wrap.field { margin-left: 0; padding: 8px 0 12px; }
596
597.grid-field { margin-left: 0; padding: 8px 0 12px; }
598.grid-size-row { display: flex; align-items: center; gap: 8px; margin: 4px 0; }
599.grid-size-row input[type="number"] { max-width: 5rem; }
600.grid-times { opacity: 0.7; }
601#grid-use-suggested { margin-top: 6px; }
602
603#lobby-rules.readonly .toggle, #lobby-rules.readonly .field, #lobby-rules.readonly .vis-opt { opacity: 0.75; cursor: default; }
604#lobby-rules.readonly input { cursor: default; }
605#cf-clock svg { touch-action: none; -webkit-user-select: none; user-select: none; }
606#cf-clock svg.dragging { cursor: grabbing; }
607#cf-clock svg.readonly { cursor: default; }
608
609.tz-label { display: block; opacity: 0.65; font-size: 0.8em; }
610
611/* Game view: exactly one viewport tall (dvh = visible area, also with the
612 mobile URL bar). Header, HUD, board and timeline are stacked in a flex
613 column; the board takes the remaining space (container query) so the
614 page never needs to scroll and the header cannot overlap the HUD. */
615html.in-game, html.in-game body {
616 height: 100%;
617 height: 100dvh;
618 min-height: 0;
619 overflow: hidden;
620 overscroll-behavior: none;
621}
622html.in-game body { padding-bottom: 0; box-sizing: border-box; }
623html.in-game #app {
624 box-sizing: border-box;
625 height: 100%;
626 display: flex;
627 flex-direction: column;
628 padding: 4px 12px calc(var(--safe-b) + 4px);
629 overflow: hidden;
630}
631html.in-game #top-bar {
632 position: static;
633 flex: 0 0 auto;
634 background: none;
635 padding: 0 0 4px;
636}
637html.in-game #top-bar .countdown { margin: 0; }
638html.in-game #top-bar .cd-hms { font-size: 1.5rem; }
639html.in-game #game {
640 flex: 1 1 auto;
641 min-height: 0;
642 display: flex;
643 flex-direction: column;
644 overflow-y: auto;
645 overflow-x: hidden;
646}
647html.in-game #game-hud { flex: 0 0 auto; margin-bottom: 4px; }
648html.in-game #game-hud button { min-height: 40px; }
649html.in-game #board-wrap {
650 flex: 1 1 0;
651 min-height: 120px;
652 margin: 4px 0;
653 container-type: size;
654 align-items: center;
655}
656html.in-game #board { width: min(100cqw, 100cqh, 560px); }
657html.in-game #jury-panel { flex: 0 0 auto; margin: 4px 0; }
658html.in-game #timeline {
659 position: static;
660 flex: 0 0 auto;
661 padding: 4px 0;
662 min-height: 48px;
663}
664html.in-game #tl-caption { flex: 0 0 auto; margin: 2px 0 0; }
665/* In the game the language button sits in the empty top-right corner
666 (beside the header) instead of over the timeline; its list opens down. */
667html.in-game .lang-picker {
668 top: calc(var(--safe-t) + 4px);
669 bottom: auto;
670 right: calc(var(--safe-r) + 4px);
671 flex-direction: column;
672}
673html.in-game .lang-current { min-height: 34px; min-width: 44px; padding: 4px 5px; }
674html.in-game .lang-current img { width: 30px; height: 20px; }