File size: 1,581 Bytes
50ba6d4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
.dash { display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }

.ring-card { position: relative; display: grid; place-items: center; padding: 8px 0; }
.big-ring { width: 200px; height: 200px; transform: rotate(-90deg); }
.big-ring circle { fill: none; stroke-width: 12; }
.big-ring .track { stroke: var(--bg-tint); }
.big-ring .bar {
  stroke: var(--accent); stroke-linecap: round;
  stroke-dasharray: 326.7; stroke-dashoffset: 326.7;
  transition: stroke-dashoffset 1.1s cubic-bezier(.4,0,.2,1), stroke var(--t-morph);
}
.ring-center { position: absolute; text-align: center; }
.ring-center strong { font-size: 2.6rem; font-weight: 800; display: block; line-height: 1; }
.ring-center small { color: var(--ink-soft); font-size: .85rem; }

.stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px; text-align: center; }
.stat b { font-size: 1.3rem; display: block; }
.stat span { font-size: .75rem; color: var(--ink-soft); }

.meal-list { display: flex; flex-direction: column; gap: 10px; }
.meal {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px;
}
.meal .mi b { font-weight: 600; }
.meal .mi small { display: block; color: var(--ink-soft); font-size: .78rem; }
.meal .mk { font-weight: 700; color: var(--accent); transition: color var(--t-morph); }
.empty { text-align: center; color: var(--ink-soft); padding: 24px; }