1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
.chip-btn {
position: relative;
display: flex;
align-items: center;
gap: 14px;
padding: 12px 26px 12px 16px;
border: 1px solid #2a2a33;
border-radius: 12px;
background: #17171d;
color: #e4e4e7;
font-family: system-ui, sans-serif;
font-size: 14px;
font-weight: 600;
cursor: pointer;
overflow: hidden;
transition: border-color 0.3s ease, background 0.3s ease;
}
.chip-btn__slot {
position: relative;
width: 30px;
height: 22px;
border-radius: 4px;
background: #0b0b0f;
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.7);
overflow: hidden;
flex-shrink: 0;
}
.chip-btn__chip {
position: absolute;
top: -20px;
left: 4px;
width: 22px;
height: 16px;
border-radius: 3px;
background: linear-gradient(145deg, #f5d78b, #c9a24b);
transition: top 0.5s cubic-bezier(0.6, -0.2, 0.4, 1.3);
}
.chip-btn:active .chip-btn__chip,
.chip-btn:focus .chip-btn__chip {
top: 3px;
}
.chip-btn:active .chip-btn__slot,
.chip-btn:focus .chip-btn__slot {
box-shadow: inset 0 0 0 2px #22c55e, inset 0 2px 4px rgba(0, 0, 0, 0.7);
}
.chip-btn:hover {
border-color: #3f3f4a;
background: #1c1c24;
}