File size: 41,707 Bytes
6f0d0e5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
:root {
  --bg: #f4f7f5; --card: #ffffff; --card2: #edf3ef; --line: #dfe8e2; --ink: #0b1a13; --muted: #4f6158; --quiet: #84958c;
  --green: #0e6a44; --green2: #13895a; --btn: #0e6a44; --btn-ink: #ffffff; --gold: #0e6a44; --gold-soft: rgba(14, 106, 68, .09);
  --hl: rgba(14, 106, 68, .07); --bad: #c4352b; --bad-soft: rgba(196, 53, 43, .09); --amber: #b7791f;
  --shadow: 0 1px 2px rgba(10, 40, 25, .04), 0 4px 16px rgba(10, 40, 25, .05);
  --ar: 32px; --qf: "Scheherazade New"; --radius: 20px; --nav: 64px;
}
:root[data-theme="sepia"] {
  --bg: #f5efe1; --card: #fbf7ec; --card2: #efe6d2; --line: #e3d7bd; --ink: #2b2115; --muted: #6b5b45; --quiet: #9a8a70;
  --green: #2f6b3f; --green2: #3b8150; --btn: #2f6b3f; --btn-ink: #fff; --gold: #2f6b3f; --gold-soft: rgba(47, 107, 63, .1); --hl: rgba(47, 107, 63, .08);
}
:root[data-theme="dark"] {
  --bg: #0b110e; --card: #121a16; --card2: #19231e; --line: #22302a; --ink: #eef5f0; --muted: #a7b9ae; --quiet: #71857a;
  --green: #2fa36b; --green2: #1f8a57; --btn: #2fa36b; --btn-ink: #04110a; --gold: #46c486; --gold-soft: rgba(70, 196, 134, .13);
  --hl: rgba(70, 196, 134, .09); --bad: #ff6b5e; --bad-soft: rgba(255, 107, 94, .13); --amber: #e0a943; --shadow: none;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font: 15.5px/1.55 Inter, system-ui, sans-serif; min-height: 100vh; padding-bottom: calc(var(--nav) + 30px + env(safe-area-inset-bottom));
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.playing { padding-bottom: calc(var(--nav) + 130px + env(safe-area-inset-bottom)); }
[dir="rtl"] body { font-family: "Noto Naskh Arabic", Inter, system-ui, sans-serif; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select { font: inherit; color: var(--ink); }
a { color: inherit; text-decoration: none; }
svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.q { font-family: var(--qf), "Amiri Quran", serif; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(14px); }
.top .wrap { display: flex; align-items: center; gap: 6px; height: 60px; }
.top h1 { font-size: 18px; font-weight: 700; margin: 0; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand { font-weight: 800; letter-spacing: .2px; font-size: 21px; flex: 1; display: flex; align-items: center; gap: 10px; }
.brand img { width: 32px; height: 32px; border-radius: 10px; }
.ib { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; color: var(--ink); flex: none; }
.ib:hover { background: var(--card2); }
.ib.big { width: 54px; height: 54px; border-radius: 50%; background: var(--btn); color: var(--btn-ink); }
[dir="rtl"] .flip { transform: scaleX(-1); }

/* bottom navigation */
.nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: color-mix(in srgb, var(--card) 96%, transparent); backdrop-filter: blur(16px);
  border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.nav .wrap { display: flex; height: var(--nav); padding: 0 6px; }
.nav a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--quiet); font-size: 11.5px; font-weight: 600; }
.nav a svg { width: 24px; height: 24px; }
.nav a.on { color: var(--green); }
.nav a.on .pip { background: var(--gold-soft); }
.nav .pip { width: 54px; height: 30px; border-radius: 15px; display: grid; place-items: center; transition: background .2s; }

/* cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.sec { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .6px; text-transform: uppercase; margin: 24px 2px 10px; display: flex; align-items: center; }
.sec a { margin-inline-start: auto; color: var(--green); text-transform: none; letter-spacing: 0; font-size: 13px; }
[dir="rtl"] .sec { letter-spacing: 0; font-size: 15px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--btn); color: var(--btn-ink); border-radius: 999px; padding: 11px 20px; font-weight: 700; white-space: nowrap; font-size: 15px; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn.soft { background: var(--gold-soft); color: var(--green); }
.btn.wide { width: 100%; padding: 15px; }
.btn:disabled { opacity: .5; }
.btn svg { width: 19px; height: 19px; }

/* hero */
.hero { position: relative; overflow: hidden; margin-top: 6px; border-radius: 26px; padding: 20px; color: #fff;
  background: linear-gradient(135deg, #0b5c3b 0%, #0f7a4e 55%, #17975f 100%); box-shadow: 0 8px 28px rgba(14, 106, 68, .25); }
.hero::after { content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='white' stroke-width='1.2'%3E%3Crect x='17' y='17' width='26' height='26'/%3E%3Crect x='17' y='17' width='26' height='26' transform='rotate(45 30 30)'/%3E%3Ccircle cx='30' cy='30' r='6'/%3E%3C/g%3E%3C/svg%3E"); }
.hero > * { position: relative; z-index: 1; }
.hero .d1 { font-size: 13px; opacity: .85; font-weight: 600; }
.hero .d2 { font-family: "Noto Naskh Arabic", serif; font-size: 20px; font-weight: 600; margin-top: 2px; }
.hero .next { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 18px; gap: 10px; }
.hero .next .l { font-size: 13px; opacity: .85; }
.hero .next .n { font-size: 26px; font-weight: 800; letter-spacing: -.3px; }
.hero .next .c { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; }
.hero .btn { background: #fff; color: #0b5c3b; }
.hero .row2 { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.hero .chipw { background: rgba(255, 255, 255, .16); border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 600; }

.cont { display: flex; align-items: center; gap: 14px; }
.cont .t { flex: 1; min-width: 0; }
.cont .k { color: var(--green); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; }
.cont .n { font-weight: 700; font-size: 18px; }
.cont .s { color: var(--muted); font-size: 13.5px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px 8px; display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center; font-weight: 600; font-size: 13.5px; box-shadow: var(--shadow); }
.tile .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--gold-soft); color: var(--green); display: grid; place-items: center; }
.tile .ic svg { width: 24px; height: 24px; }
.tile:active { transform: scale(.98); }
.daily .ar { font-size: calc(var(--ar) * .85); line-height: 2; direction: rtl; text-align: right; }
.daily .en { color: var(--muted); font-size: 15px; margin-top: 6px; }
.daily .ref { color: var(--green); font-size: 13px; margin-top: 8px; font-weight: 700; }
.quick { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 4px; scrollbar-width: none; }
.quick::-webkit-scrollbar { display: none; }
.pill { flex: none; padding: 9px 15px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 600; white-space: nowrap; }
.pill.on { background: var(--green); color: #fff; border-color: var(--green); }

/* streak */
.sk { display: flex; align-items: baseline; gap: 8px; }
.sk .v { font-size: 30px; font-weight: 800; }
.sk .l { color: var(--muted); font-size: 13.5px; }
.sk .b { margin-inline-start: auto; color: var(--muted); font-size: 12.5px; }
.week { display: flex; gap: 6px; margin-top: 10px; }
.week span { flex: 1; text-align: center; font-size: 11px; color: var(--quiet); }
.week span i { display: block; height: 28px; border-radius: 9px; background: var(--card2); margin-bottom: 4px; }
.week span.on i { background: var(--green); }
.week span.today { color: var(--ink); font-weight: 700; }
.goal { height: 8px; border-radius: 8px; background: var(--card2); overflow: hidden; margin-top: 10px; }
.goal div { height: 100%; background: var(--green); border-radius: 8px; }

/* lists */
.tabs { display: flex; gap: 4px; background: var(--card2); border-radius: 14px; padding: 4px; margin: 14px 0 6px; }
.tabs button { flex: 1; padding: 9px 0; border-radius: 11px; color: var(--muted); font-weight: 700; font-size: 14px; }
.tabs button.on { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.search { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 14px; box-shadow: var(--shadow); }
.search svg { color: var(--quiet); width: 20px; height: 20px; }
.search input { flex: 1; border: 0; outline: 0; background: none; height: 50px; font-size: 15.5px; min-width: 0; }
.list { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: 14px; padding: 13px 6px; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.num { width: 40px; height: 40px; flex: none; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--green);
  background: var(--gold-soft); border-radius: 12px; transform: rotate(45deg); }
.num span { transform: rotate(-45deg); }
.row .mid { flex: 1; min-width: 0; }
.row .t1 { font-weight: 700; font-size: 16px; }
.row .t2 { color: var(--muted); font-size: 13px; }
.row .arn { font-family: var(--qf), "Amiri Quran", serif; font-size: 24px; color: var(--ink); direction: rtl; }
.row .end { color: var(--quiet); }
.listcard { padding: 4px 12px; }
.empty { color: var(--muted); text-align: center; padding: 40px 0; }

/* reader */
.shead { text-align: center; padding: 18px 0 6px; }
.shead .arn { font-family: var(--qf), "Amiri Quran", serif; font-size: 44px; line-height: 1.5; }
.shead .t { font-weight: 700; font-size: 18px; }
.shead .s { color: var(--muted); font-size: 13.5px; }
.shead .acts { display: flex; justify-content: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.basmala { font-family: var(--qf), "Amiri Quran", serif; font-size: calc(var(--ar) * 1.02); text-align: center; padding: 18px 0 10px; direction: rtl; }
.ayah { padding: 16px 14px; margin-bottom: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; transition: background .3s, border-color .3s; scroll-margin-top: 80px; box-shadow: var(--shadow); }
.ayah.playing { background: var(--hl); border-color: var(--green); }
.ayah .bar { display: flex; align-items: center; gap: 2px; margin-bottom: 6px; color: var(--quiet); }
.ayah .bar .ref { font-size: 12.5px; font-weight: 700; color: var(--green); background: var(--gold-soft); padding: 4px 10px; border-radius: 999px; }
.ayah .bar .sp { flex: 1; }
.ayah .bar .ib { width: 36px; height: 36px; color: var(--quiet); }
.ayah .bar .ib svg { width: 20px; height: 20px; }
.ayah .bar .ib.on { color: var(--green); }
.ayah .ar { font-family: var(--qf), "Amiri Quran", serif; font-size: var(--ar); line-height: 2.05; direction: rtl; text-align: right; word-spacing: 3px; color: var(--ink); }
.ayah .tr { color: var(--green); font-size: 14.5px; margin-top: 8px; font-style: italic; }
.ayah .en { color: var(--muted); margin-top: 8px; font-size: 16.5px; line-height: 1.65; }
[dir="rtl"] .ayah .en, [dir="rtl"] .ayah .tr { direction: ltr; text-align: left; }
.ayah .tf, .tfbox { margin-top: 12px; padding: 12px 14px; background: var(--card2); border-radius: 14px;
  font-family: "Noto Naskh Arabic", serif; direction: rtl; text-align: right; font-size: 17px; line-height: 1.9; color: var(--ink); }
.ayah .tf b, .tfbox b { display: block; color: var(--green); font-size: 12.5px; margin-bottom: 4px; font-family: Inter, sans-serif; }
.mark { font-family: "Amiri Quran", serif; color: var(--green); font-size: .78em; margin: 0 4px; white-space: nowrap; }
.sajda { color: var(--green); font-size: 12.5px; font-weight: 700; margin-inline-start: 6px; }
.mushaf { font-family: var(--qf), "Amiri Quran", serif; font-size: var(--ar); line-height: 2.25; direction: rtl; text-align: justify; text-align-last: center;
  padding: 18px 16px 22px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.mushaf .w { border-radius: 8px; transition: background .3s; cursor: pointer; }
.mushaf .w.playing { background: var(--hl); }
.pager { display: flex; gap: 10px; margin: 22px 0; }
.pager a { flex: 1; }
.juzh { color: var(--green); font-size: 12.5px; font-weight: 700; text-align: center; padding: 6px 0 12px; letter-spacing: .5px; }

/* player */
.player { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--nav) + 10px + env(safe-area-inset-bottom)); width: min(740px, calc(100% - 20px));
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 10px 12px 12px; z-index: 40; box-shadow: 0 10px 40px rgba(10, 40, 25, .18);
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 10px; }
.player[hidden] { display: none; }
.pl-info { min-width: 0; padding-inline-start: 4px; }
.pl-title { font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-sub { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-btns { display: flex; align-items: center; gap: 2px; }
.chip { min-width: 40px; height: 32px; padding: 0 8px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--muted); }
.chip.on { color: var(--green); border-color: var(--green); }
.pl-bar { grid-column: 1 / -1; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; margin-top: 6px; }
.pl-bar div { height: 100%; width: 0; background: var(--green); transition: width .25s linear; }
@media (max-width: 520px) { .player { grid-template-columns: 1fr; } .pl-btns { justify-content: space-between; } }

/* sheet */
.sheet-wrap { position: fixed; inset: 0; background: rgba(5, 20, 12, .45); z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.sheet-wrap[hidden] { display: none; }
.sheet { background: var(--card); border-radius: 26px 26px 0 0; width: min(760px, 100%); max-height: 88vh; overflow: auto;
  padding: 10px 18px calc(24px + env(safe-area-inset-bottom)); animation: up .22s ease-out; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.sheet .grab { width: 40px; height: 4px; border-radius: 4px; background: var(--line); margin: 0 auto 14px; }
.sheet h3 { margin: 0 0 12px; font-size: 19px; }
.opt { display: flex; align-items: center; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--line); width: 100%; text-align: start; }
.opt:last-child { border-bottom: 0; }
.opt .l { flex: 1; font-weight: 600; }
.opt .d { color: var(--muted); font-size: 13px; font-weight: 400; }
.opt .ico { color: var(--green); }
.seg { display: flex; gap: 3px; background: var(--card2); border-radius: 12px; padding: 3px; flex-wrap: wrap; }
.seg button { padding: 7px 12px; border-radius: 9px; font-size: 13px; color: var(--muted); font-weight: 700; }
.seg button.on { background: var(--btn); color: var(--btn-ink); }
.sw { width: 48px; height: 28px; border-radius: 999px; background: var(--line); position: relative; flex: none; transition: background .2s; }
.sw::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: inset-inline-start .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.sw.on { background: var(--green); }
.sw.on::after { inset-inline-start: 23px; }
select.sel { background: var(--card2); border: 1px solid var(--line); border-radius: 12px; padding: 9px 10px; max-width: 210px; }
input[type=range] { accent-color: var(--green); width: 150px; }
.prog { height: 6px; background: var(--card2); border-radius: 6px; overflow: hidden; margin-top: 8px; }
.prog div { height: 100%; background: var(--green); width: 0; transition: width .2s; }

.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--nav) + 120px); background: var(--ink); color: var(--bg); padding: 11px 18px;
  border-radius: 999px; font-weight: 700; font-size: 14px; z-index: 80; max-width: 90%; text-align: center; }
.foot { color: var(--quiet); font-size: 12px; text-align: center; padding: 30px 0 10px; line-height: 1.8; }
.foot b { color: var(--muted); }
.res { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.res .ar { font-family: var(--qf), "Amiri Quran", serif; font-size: 24px; line-height: 2; direction: rtl; text-align: right; }
.res .en { color: var(--muted); font-size: 14.5px; }
.res mark { background: var(--gold-soft); color: var(--ink); border-radius: 4px; padding: 0 2px; }
.res .ref { color: var(--green); font-size: 12.5px; font-weight: 700; margin-bottom: 4px; }

/* tasbih */
.tasbih { text-align: center; padding: 20px 0; }
.tasbih .c { font-size: 68px; font-weight: 800; font-variant-numeric: tabular-nums; }
.tasbih .w { font-family: var(--qf), "Amiri Quran", serif; font-size: 34px; margin: 8px 0 18px; }
.tasbih .tap { width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #19a06a, #0b5c3b); margin: 0 auto; display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 20px; user-select: none; box-shadow: 0 12px 30px rgba(14, 106, 68, .35); }
.tasbih .tap:active { transform: scale(.97); }

/* prayer */
.ptimes .row { padding: 14px 8px; }
.ptimes .row.now { background: var(--gold-soft); border-radius: 14px; border-bottom-color: transparent; }
.ptimes .row.now .t1 { color: var(--green); }
.ptimes .tm { font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }
.compass { width: 250px; height: 250px; margin: 10px auto; position: relative; border-radius: 50%; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.compass .dial { position: absolute; inset: 0; transition: transform .2s linear; }
.compass .dial span { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); font-weight: 800; color: var(--bad); }
.compass .kaaba { position: absolute; inset: 0; transition: transform .2s linear; }
.compass .kaaba i { position: absolute; left: 50%; top: 22px; width: 4px; height: 100px; background: var(--green); transform: translateX(-50%); border-radius: 4px; }
.compass .kaaba b { position: absolute; left: 50%; top: 2px; transform: translateX(-50%); font-size: 28px; }
.compass .center { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); transform: translate(-50%, -50%); }

/* adhkar, ramadan, hifz */
.dhikr { margin-bottom: 10px; }
.dhikr .ar { font-family: "Noto Naskh Arabic", serif; font-size: 21px; line-height: 2; direction: rtl; text-align: right; font-weight: 600; }
.dhikr .ar.q { font-family: var(--qf), "Amiri Quran", serif; font-size: 25px; font-weight: 400; }
.dhikr .src { color: var(--quiet); font-size: 12.5px; margin-top: 4px; }
.dhikr .cnt { display: flex; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.dhikr .cnt .btn { flex: 1; }
.dhikr.done { opacity: .55; }
.grid30 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; }
.grid30 button { aspect-ratio: 1; border-radius: 12px; background: var(--card2); font-weight: 700; font-size: 14px; color: var(--muted); border: 1.5px solid transparent; }
.grid30 button.on { background: var(--green); color: #fff; }
.grid30 button.today { border-color: var(--green); color: var(--green); }
.grid30 button.on.today { color: #fff; }
.grid30 button.odd10::after { content: "✦"; display: block; font-size: 8px; line-height: 0; margin-top: 2px; color: var(--amber); }
.stat3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat3 .card { padding: 12px; text-align: center; }
.stat3 .v { font-size: 22px; font-weight: 800; }
.stat3 .l { color: var(--muted); font-size: 12px; }
.ring { width: 150px; height: 150px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; background: conic-gradient(var(--green) calc(var(--p) * 1%), var(--card2) 0); }
.ring > div { width: 122px; height: 122px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; align-content: center; }
.ring b { font-size: 38px; line-height: 1; }
.ring span { color: var(--muted); font-size: 13px; }
.hstate { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--card2); color: var(--muted); white-space: nowrap; }
.hstate.learning { background: rgba(183, 121, 31, .13); color: var(--amber); }
.hstate.done { background: var(--gold-soft); color: var(--green); }
.rec { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--card); margin-bottom: 8px; width: 100%; text-align: start; }
.rec.on { border-color: var(--green); background: var(--hl); }
.rec .av { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, #0b5c3b, #17975f); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 17px; flex: none; }
.rec .mid { flex: 1; }
.rec .t1 { font-weight: 700; }
.rec .t2 { color: var(--muted); font-size: 12.5px; }

/* recite */
.rstat { display: flex; align-items: center; gap: 18px; margin: 14px 0 8px; }
.rstat div { display: flex; flex-direction: column; }
.rstat b { font-size: 20px; }
.rstat span { color: var(--muted); font-size: 12px; }
.rlive { margin-inline-start: auto; flex-direction: row !important; align-items: center; gap: 8px; color: var(--green); font-weight: 700; font-size: 13px; }
.rlive i { width: 10px; height: 10px; border-radius: 50%; background: var(--bad); animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.rtext { font-family: var(--qf), "Amiri Quran", serif; font-size: var(--ar); line-height: 2.25; direction: rtl; text-align: justify; text-align-last: center;
  padding: 18px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.rtext.small { font-size: calc(var(--ar) * .72); }
.rw { border-radius: 8px; padding: 0 2px; transition: background .2s, color .2s; }
.rw.cur { background: var(--gold-soft); box-shadow: 0 0 0 2px var(--green) inset; }
.rw.ok { color: var(--green); }
.rw.fixed { color: var(--amber); }
.rw.tried { color: var(--bad); background: var(--bad-soft); }
.rw.missed, .rw.hint { color: var(--bad); text-decoration: underline wavy var(--bad); text-underline-offset: 8px; }
.rw.hid { color: var(--quiet); letter-spacing: 2px; }
.rheard { color: var(--quiet); font-size: 13px; text-align: center; min-height: 20px; direction: rtl; margin-top: 8px; }
.rbtns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 18px 0; }
.rscore { text-align: center; padding: 22px 0 6px; }
.rscore .g { font-size: 22px; font-weight: 800; margin-top: 14px; }
.rscore .d { color: var(--muted); font-size: 14px; margin-top: 4px; line-height: 1.7; }
.rerr { display: flex; align-items: center; justify-content: space-between; padding: 10px 2px; border-bottom: 1px solid var(--line); }
.rerr:last-child { border-bottom: 0; }
.rerr .w { font-family: var(--qf), "Amiri Quran", serif; font-size: 26px; color: var(--bad); }
.rerr .k { color: var(--muted); font-size: 12px; }
.lead { color: var(--muted); font-size: 14.5px; margin: 4px 2px 0; }
h2.big { font-size: 26px; margin: 10px 2px 0; letter-spacing: -.3px; }

/* 2.1 */
.ayah.hl-green { border-inline-start: 6px solid #2fa36b; } .ayah.hl-yellow { border-inline-start: 6px solid #e3b341; background: rgba(227, 179, 65, .07); }
.ayah.hl-blue { border-inline-start: 6px solid #3b82c4; } .ayah.hl-pink { border-inline-start: 6px solid #d65f8a; }
.ayah .note { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--card2); font-size: 14.5px; white-space: pre-wrap; }
.names { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 12px; }
.nm { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px 10px; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; box-shadow: var(--shadow); position: relative; }
.nm.on { border-color: var(--green); background: var(--hl); }
.nm .i { position: absolute; top: 8px; inset-inline-start: 10px; font-size: 11px; color: var(--quiet); font-weight: 700; }
.nm .a { font-family: var(--qf), "Amiri Quran", serif; font-size: 30px; color: var(--green); line-height: 1.6; }
.nm .e { font-weight: 700; font-size: 13.5px; } .nm .m { color: var(--muted); font-size: 12px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal b { font-size: 11px; color: var(--quiet); padding: 4px 0; }
.cal span { aspect-ratio: 1; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.cal span i { font-style: normal; font-weight: 700; font-size: 15px; } .cal span small { font-size: 10px; color: var(--quiet); }
.cal span.ev { background: var(--gold-soft); } .cal span.ev i { color: var(--green); }
.cal span.tod { background: var(--green); } .cal span.tod i, .cal span.tod small { color: #fff; }
.pdone { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; color: transparent; margin-inline-start: 12px; }
.pdone.on { background: var(--green); border-color: var(--green); color: #fff; }
.pdone svg { width: 20px; height: 20px; }
.pweek { display: flex; align-items: flex-end; gap: 8px; height: 80px; }
.pweek span { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; font-size: 12px; color: var(--muted); font-weight: 700; }
.pweek span i { width: 100%; max-width: 34px; border-radius: 8px; background: var(--green); }

/* 2.2: game */
.gamecard { display: flex; align-items: center; gap: 14px; margin-top: 12px; background: linear-gradient(120deg, #e9f7ef, #fff6dc); }
:root[data-theme="dark"] .gamecard { background: linear-gradient(120deg, #13261c, #2a2410); }
.gamecard .gc-art { width: 52px; height: 52px; border-radius: 16px; background: #f2c14e; display: grid; place-items: center; font-size: 28px; flex: none; }
.gamecard div { flex: 1; } .gamecard b { display: block; font-size: 16px; } .gamecard div span { color: var(--muted); font-size: 13px; }
.gwrap { position: relative; width: 100%; aspect-ratio: 17 / 14; max-height: 62vh; border-radius: 22px; overflow: hidden; background: #e8f6ee; box-shadow: var(--shadow); touch-action: none; user-select: none; -webkit-user-select: none; }
.gwrap canvas { width: 100%; height: 100%; display: block; }
.gpad { display: flex; gap: 12px; padding: 14px 4px 0; touch-action: none; user-select: none; -webkit-user-select: none; }
.gpad span { flex: 1; }
.gpad button { width: 72px; height: 72px; border-radius: 50%; background: var(--card); border: 1.5px solid var(--line); color: #0e6a44; font-size: 24px; font-weight: 800; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.gpad button.j { width: 84px; height: 84px; background: rgba(14, 106, 68, .85); color: #fff; }
@media (hover: hover) and (pointer: fine) { .gpad { display: none; } .gwrap { aspect-ratio: 16 / 9; max-height: 70vh; } }
.gover { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(6, 30, 18, .35); padding: 14px; }
.gcard { background: var(--card); color: var(--ink); border-radius: 22px; padding: 20px; width: min(420px, 100%); text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,.25); max-height: 100%; overflow: auto; }
.gcard h2 { margin: 6px 0; } .gcard p { color: var(--muted); }
.gcard.ask { text-align: start; }
.gq { font-weight: 800; font-size: 17px; color: var(--green); }
.gar { font-size: 26px; line-height: 2; direction: rtl; text-align: right; margin: 8px 0; }
.gopts { display: grid; gap: 8px; margin-top: 12px; }
.gopts button { padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card2); font-weight: 700; font-size: 15px; text-align: center; }
.gopts button.q { font-size: 24px; font-weight: 400; }
.gopts button.ok { background: var(--green); border-color: var(--green); color: #fff; }
.gopts button.bad { background: var(--bad); border-color: var(--bad); color: #fff; }

/* 2.3: Sheikh Aws */
.sav { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #0b5c3b, #17975f); color: #fff; display: grid; place-items: center;
  font-family: "Noto Naskh Arabic", serif; font-weight: 700; font-size: 17px; flex: none; }
.sav.big { width: 52px; height: 52px; font-size: 26px; border-radius: 16px; }
.sheikhcard { display: flex; align-items: center; gap: 14px; margin-top: 12px; background: linear-gradient(120deg, #e3f4ea, #ffffff); border-color: #bfe3cf; }
:root[data-theme="dark"] .sheikhcard { background: linear-gradient(120deg, #123222, #121a16); border-color: #1f4a33; }
.sheikhcard div { flex: 1; } .sheikhcard b { display: block; font-size: 16px; } .sheikhcard div span { color: var(--muted); font-size: 13px; }
.sintro { text-align: center; padding: 20px 4px 4px; }
.sbig { width: 78px; height: 78px; margin: 0 auto; border-radius: 24px; background: linear-gradient(135deg, #0b5c3b, #17975f); color: #fff; display: grid; place-items: center;
  font-family: "Noto Naskh Arabic", serif; font-size: 40px; font-weight: 700; box-shadow: 0 10px 26px rgba(14, 106, 68, .3); }
.ssug { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
.ssug .pill { white-space: normal; text-align: center; }
.msg { display: flex; gap: 10px; margin: 14px 0; align-items: flex-start; }
.msg.me { justify-content: flex-end; }
.msg.me > div { background: var(--green); color: #fff; padding: 11px 15px; border-radius: 20px 20px 6px 20px; max-width: 82%; white-space: pre-wrap; }
[dir="rtl"] .msg.me > div { border-radius: 20px 20px 20px 6px; }
.msg.ai .body { background: var(--card); border: 1px solid var(--line); padding: 12px 15px; border-radius: 6px 20px 20px 20px; max-width: calc(100% - 44px); box-shadow: var(--shadow); line-height: 1.65; }
[dir="rtl"] .msg.ai .body { border-radius: 20px 6px 20px 20px; }
.msg.ai .body p { margin: 0 0 8px; } .msg.ai .body p:last-child { margin: 0; }
.msg.ai .body ul, .msg.ai .body ol { margin: 4px 0 8px; padding-inline-start: 22px; }
.msg.ai .body li { margin: 3px 0; }
.qref { display: inline-flex; align-items: center; padding: 1px 9px; margin: 0 2px; border-radius: 999px; background: var(--gold-soft); color: var(--green); font-weight: 700; font-size: 13px; }
.qbox { display: block; margin: 8px 0; padding: 10px 12px; border-radius: 14px; background: var(--card2); }
.qbox .ar { display: block; font-size: 24px; line-height: 2; direction: rtl; text-align: right; }
.qbox .en { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }
.qbox a { display: inline-block; margin-top: 6px; color: var(--green); font-weight: 700; font-size: 13px; }
.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--quiet); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .2; } }
.askbar { position: sticky; bottom: calc(var(--nav) + 8px + env(safe-area-inset-bottom)); display: flex; gap: 8px; align-items: flex-end; background: var(--card); border: 1px solid var(--line);
  border-radius: 22px; padding: 8px 8px 8px 14px; box-shadow: 0 6px 24px rgba(10, 40, 25, .12); margin-top: 16px; }
.askbar textarea { flex: 1; border: 0; outline: 0; resize: none; background: none; font: inherit; color: var(--ink); padding: 8px 0; max-height: 140px; }
.sdisc { text-align: center; color: var(--quiet); font-size: 12px; margin: 8px 0 0; }

/* 2.5 */
.ayah .tl { border-top: 1px dashed var(--line); padding-top: 8px; }
.ayah .tl[dir="rtl"] { text-align: right; font-family: "Noto Naskh Arabic", serif; font-size: 18px; }
.wbw { display: flex; flex-wrap: wrap; flex-direction: row-reverse; gap: 6px; margin-top: 12px; }
.wd { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px 10px; border-radius: 14px; background: var(--card2); border: 1.5px solid transparent; min-width: 64px; }
.wd.on { border-color: var(--green); background: var(--hl); }
.wd .a { font-size: 24px; line-height: 1.6; } .wd .t { font-size: 11.5px; color: var(--green); font-style: italic; } .wd .m { font-size: 12px; color: var(--muted); text-align: center; max-width: 120px; }
.pgbar { display: flex; justify-content: space-between; color: var(--green); font-weight: 700; font-size: 13px; margin: 6px 4px 8px; }
.pghead { text-align: center; font-size: 30px; margin: 14px 0 2px; padding: 6px; border-radius: 16px; background: var(--gold-soft); color: var(--green); }
.mushaf.pg { margin-bottom: 8px; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 110px; }
.bars span { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.bars span i { display: block; width: 100%; background: var(--green); border-radius: 4px 4px 2px 2px; }
.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bdg { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 6px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 12px; font-weight: 600; color: var(--quiet); }
.bdg.on { color: var(--ink); border-color: var(--green); background: var(--hl); }
.bdg .i { font-size: 28px; }

/* the universal account chip sits above the tab bar */
.hub-chip { bottom: calc(var(--nav) + 14px + env(safe-area-inset-bottom)) !important; }
.hub-box { bottom: calc(var(--nav) + 56px + env(safe-area-inset-bottom)) !important; }

/* 2.7: sun and moon sky in the home card, letters, feelings */
.hero.sky { background: #0b2a40; }
.hero.sky::after { opacity: .05; }
.hero > .skybg { position: absolute; inset: 0; z-index: 0; }
.hero > .skybg svg { width: 100%; height: 100%; display: block; }
.hero.sky .d1, .hero.sky .d2, .hero.sky .next { text-shadow: 0 1px 6px rgba(0, 0, 0, .35); }
.letters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; direction: rtl; }
.lt { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px 4px; display: flex; flex-direction: column; align-items: center; box-shadow: var(--shadow); }
.lt.on { border-color: var(--green); background: var(--hl); }
.lt .a { font-family: "Noto Naskh Arabic", serif; font-size: 34px; line-height: 1.4; color: var(--green); } .lt .n { font-size: 12px; color: var(--muted); direction: ltr; }
.vow { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; direction: rtl; }
.vow > * { display: flex; flex-direction: column; align-items: center; padding: 8px 14px; border-radius: 14px; background: var(--card2); min-width: 64px; }
.vow .a { font-size: 38px; line-height: 1.5; font-family: "Noto Naskh Arabic", serif; } .vow span:last-child { font-size: 12px; color: var(--muted); }

/* 2.8: Today card, Friday, Sheikh Aws tab */
.today-row { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.today-row .k { color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.today-row .t { color: var(--ink); font-size: 15px; } .today-row .q.t { font-size: 22px; line-height: 1.9; direction: rtl; text-align: right; }
.today-row b.q { font-size: 20px; color: var(--green); font-weight: 400; }
.friday { border-color: #e7c88f; background: linear-gradient(120deg, #fff7e6, var(--card)); }
:root[data-theme="dark"] .friday { background: linear-gradient(120deg, #2a2010, var(--card)); border-color: #5a4320; }
.nav a { font-size: 10.5px; }
.nav .pip { width: 46px; }
.nav a.sk-tab .pip { background: linear-gradient(135deg, #0b5c3b, #17975f); color: #fff; width: 46px; height: 32px; }
.nav a.sk-tab.on { color: var(--green); }

/* 2.9: every part is a tab; no More page */
.nav .tabsrow { display: flex; overflow-x: auto; scrollbar-width: none; height: var(--nav); padding: 0 4px; scroll-snap-type: x proximity; }
.nav .tabsrow::-webkit-scrollbar { display: none; }
.nav .tabsrow a { flex: 0 0 auto; min-width: 68px; padding: 0 6px; scroll-snap-align: center; }
@media (min-width: 900px) { .nav .tabsrow { justify-content: center; } }
.subnav { position: sticky; top: 60px; z-index: 19; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(14px); }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 8px; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 7px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.subnav a.on { background: var(--green); border-color: var(--green); color: #fff; }

/* 3.2: modern, minimal, calm. Flat surfaces with hairline borders, one green accent, little motion. */
html { touch-action: manipulation; }
:root { --radius: 16px; --shadow: none; --line: #e6ebe8; --card2: #f1f5f2; --muted: #5d6b64; }
:root[data-theme="dark"] { --line: #1f2a25; --card2: #161f1b; }
body { font-size: 15px; }
.card, .tile, .ayah, .mushaf, .rtext, .listcard, .player, .search { box-shadow: none !important; border-radius: 16px; }
.card { padding: 16px; }
.btn { border-radius: 12px; font-weight: 600; padding: 10px 16px; font-size: 14.5px; }
.btn.soft { background: var(--card2); color: var(--ink); }
.btn.ghost { border-width: 1px; }
button, a { transition: opacity .12s ease, background-color .12s ease; }
.btn:active, .pill:active, .rec:active, .ib:active, .tile:active, .chip:active, .seg button:active, .pdone:active { opacity: .6; }
.row:active, a.card:active, .opt:active { background-color: var(--card2); }
#app > .wrap { animation: pageIn .14s ease-out; }
body.same #app > .wrap { animation: none; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
.sheet { animation: none; } .toast { animation: none; }
.sec { text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 600; color: var(--quiet); margin: 28px 2px 10px; }
[dir="rtl"] .sec { font-size: 14px; }
.top { border-bottom: 1px solid transparent; }
.top h1 { font-size: 17px; font-weight: 600; }
.brand { font-size: 19px; font-weight: 700; }
.brand img { width: 28px; height: 28px; border-radius: 8px; }
/* hero: calm, no pattern */
.hero { border-radius: 20px; box-shadow: none; padding: 18px; }
.hero::after { display: none; }
.hero .next .n { font-size: 22px; } .hero .next .c { font-size: 26px; }
/* continue reading and the streak line */
.cont { gap: 12px; } .cont .k { letter-spacing: 0; text-transform: none; font-weight: 600; color: var(--quiet); font-size: 12.5px; } .cont .n { font-size: 17px; font-weight: 600; }
.cont .go { color: var(--quiet); transform: scaleX(-1); display: grid; } [dir="rtl"] .cont .go { transform: none; }
.streakline { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; margin-top: 10px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); font-size: 13.5px; color: var(--muted); }
.streakline i { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--green) var(--p), var(--card2) var(--p)); }
.daily .k, .today-row .k { text-transform: none !important; letter-spacing: 0 !important; color: var(--quiet) !important; font-weight: 600 !important; }
.today-row { border-top-color: var(--line); }
/* tab bar: icons and words, no pills */
.nav { border-top: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 94%, transparent); }
.nav .tabsrow a { min-width: 64px; font-size: 10.5px; font-weight: 500; color: var(--quiet); gap: 2px; }
.nav .pip, .nav a.sk-tab .pip { width: auto; height: 28px; background: none !important; color: inherit; }
.nav a.on { color: var(--green); font-weight: 600; }
.nav a.on .pip { background: none; }
/* section tabs: words with an underline */
.subnav .wrap { gap: 18px; padding-bottom: 0; border-bottom: 1px solid var(--line); }
.subnav a { padding: 10px 0; border: 0; border-radius: 0; background: none; font-weight: 500; color: var(--quiet); border-bottom: 2px solid transparent; }
.subnav a.on { background: none; color: var(--ink); border-bottom-color: var(--green); }
/* lists and tiles */
.num { width: 34px; height: 34px; border-radius: 10px; transform: none; font-size: 12.5px; }
.num span { transform: none; }
.row .t1 { font-weight: 600; font-size: 15px; }
.tile { padding: 14px 8px; font-weight: 500; }
.tile .ic { background: var(--card2); }
.pill { border-radius: 10px; font-weight: 500; }
.ayah { border-radius: 16px; padding: 16px; }
.ayah .bar .ref { background: none; padding: 0; color: var(--quiet); font-weight: 600; }
.gamecard, .sheikhcard, .friday { background: var(--card) !important; }