-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
2639 lines (2361 loc) · 126 KB
/
Copy pathindex.html
File metadata and controls
2639 lines (2361 loc) · 126 KB
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
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Willz</title>
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><rect width='32' height='32' rx='8' fill='%23000'/><ellipse cx='16' cy='7.5' rx='5' ry='3.2' fill='%23E6007A'/><ellipse cx='16' cy='24.5' rx='5' ry='3.2' fill='%23E6007A'/><ellipse cx='7.2' cy='11.8' rx='3.2' ry='5' transform='rotate(-60 7.2 11.8)' fill='%23E6007A'/><ellipse cx='24.8' cy='11.8' rx='3.2' ry='5' transform='rotate(60 24.8 11.8)' fill='%23E6007A'/><ellipse cx='7.2' cy='20.2' rx='3.2' ry='5' transform='rotate(60 7.2 20.2)' fill='%23E6007A'/><ellipse cx='24.8' cy='20.2' rx='3.2' ry='5' transform='rotate(-60 24.8 20.2)' fill='%23E6007A'/></svg>" />
<link href="https://fonts.googleapis.com/css2?family=Unbounded:wght@300;400;500;600;700&family=DM+Mono:wght@400;500&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap" rel="stylesheet" />
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
/* ── Official Polkadot Brand ── */
--pk-pink: #E6007A;
--pk-black: #000000;
--pk-white: #FFFFFF;
/* ── App Surface Scale (dark) ── */
--bg: #08080d;
--surface: #0f0f17;
--surface2: #16161f;
--surface3: #1e1e28;
--border: rgba(255,255,255,0.08);
--border2: rgba(255,255,255,0.14);
--border-pink: rgba(230,0,122,0.28);
/* ── Pink derived ── */
--pink-dim: rgba(230,0,122,0.12);
--pink-glow: rgba(230,0,122,0.06);
--pink-strong: rgba(230,0,122,0.20);
/* ── Semantic ── */
--green: #2dd865;
--green-dim: rgba(45,216,101,0.12);
--amber: #fbbf24;
--amber-dim: rgba(251,191,36,0.12);
--red: #f87171;
--red-dim: rgba(248,113,113,0.12);
/* ── Text — boosted contrast ── */
--text: #ffffff;
--muted: #c0c0d8;
--muted2: #6b6b88;
/* ── Pink tones for readability ── */
--pk-pink-label: rgba(230,0,122,0.85);
--pk-pink-mid: rgba(230,0,122,0.95);
--sidebar-w: 240px;
--radius: 12px;
--radius-sm: 8px;
}
body {
font-family: 'DM Sans', sans-serif;
background: var(--bg);
color: var(--text);
min-height: 100vh;
display: flex;
overflow-x: hidden;
background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
background-size: 32px 32px;
}
/* ─── SIDEBAR ─────────────────────────────────────────── */
.sidebar {
width: var(--sidebar-w);
min-height: 100vh;
background: var(--pk-black);
border-right: 0.5px solid rgba(230,0,122,0.2);
display: flex;
flex-direction: column;
position: fixed;
top: 0; left: 0;
z-index: 50;
}
.sidebar-logo {
padding: 22px 18px 18px;
border-bottom: 0.5px solid rgba(230,0,122,0.15);
display: flex; align-items: center; gap: 11px;
}
.logo-mark {
width: 32px; height: 32px;
display: flex; align-items: center; justify-content: center;
}
.logo-mark svg { width: 32px; height: 32px; }
.logo-name {
font-family: 'Unbounded', sans-serif;
font-weight: 700; font-size: 15px;
color: var(--pk-white);
letter-spacing: -0.02em;
}
.logo-name span { color: var(--pk-pink); }
.sidebar-nav { padding: 14px 10px; flex: 1; }
.nav-section-label {
font-size: 11px; font-weight: 500;
letter-spacing: 0.1em; text-transform: uppercase;
color: var(--muted); padding: 0 10px;
margin: 14px 0 4px;
font-family: 'DM Mono', monospace;
}
.nav-item {
display: flex; align-items: center; gap: 10px;
padding: 10px 12px; border-radius: var(--radius-sm);
font-size: 14px; font-weight: 400; color: var(--muted);
cursor: pointer; transition: all 0.12s;
margin-bottom: 2px; border: 0.5px solid transparent;
user-select: none; line-height: 1.3;
}
.nav-item:hover { background: rgba(255,255,255,0.05); color: var(--text); }
.nav-item.active {
background: var(--pink-dim);
border-color: var(--border-pink);
color: var(--pk-pink);
}
.nav-dot {
width: 6px; height: 6px; border-radius: 50%;
background: currentColor; opacity: 0.5; flex-shrink: 0;
}
.nav-item.active .nav-dot { opacity: 1; }
.sidebar-footer {
padding: 14px 10px;
border-top: 0.5px solid rgba(230,0,122,0.12);
}
.wallet-pill {
padding: 10px 12px; border-radius: var(--radius-sm);
background: var(--surface2);
border: 0.5px solid var(--border2);
cursor: pointer; transition: border-color 0.12s;
}
.wallet-pill:hover { border-color: var(--border-pink); }
.wp-row1 {
display: flex; align-items: center; gap: 6px;
font-size: 12px; color: var(--muted); margin-bottom: 4px;
font-family: 'DM Sans', sans-serif; font-weight: 400;
}
.wp-led { width: 6px; height: 6px; border-radius: 50%; background: var(--muted2); transition: background 0.3s; }
.wp-led.live { background: var(--green); box-shadow: 0 0 5px rgba(34,197,94,0.5); }
.wp-addr {
font-family: 'DM Mono', monospace; font-size: 12px; color: var(--text);
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* ─── MAIN ────────────────────────────────────────────── */
.main { margin-left: var(--sidebar-w); flex: 1; min-height: 100vh; overflow-x: hidden; width: 0; min-width: 0; }
.topbar {
height: 54px;
background: rgba(9,9,9,0.92);
backdrop-filter: blur(12px);
border-bottom: 0.5px solid var(--border);
display: flex; align-items: center; justify-content: space-between;
padding: 0 28px;
position: sticky; top: 0; z-index: 40;
}
.topbar-left { display: flex; align-items: center; gap: 12px; }
.topbar-crumb {
font-family: 'Unbounded', sans-serif;
font-size: 11px; font-weight: 500; color: var(--text);
letter-spacing: 0.02em;
}
.topbar-badge {
font-size: 12px; font-weight: 500;
padding: 3px 9px; border-radius: 20px;
background: var(--pink-dim);
border: 0.5px solid var(--border-pink);
color: var(--pk-pink);
font-family: 'DM Mono', monospace;
}
.topbar-right { display: flex; align-items: center; gap: 10px; }
/* ─── BUTTONS ─────────────────────────────────────────── */
.btn {
font-family: 'DM Sans', sans-serif;
font-size: 13px; font-weight: 500;
padding: 8px 18px; border-radius: var(--radius-sm);
border: 0.5px solid var(--border2);
cursor: pointer; transition: all 0.12s; line-height: 1;
display: inline-flex; align-items: center; gap: 6px;
}
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--text); border-color: var(--border2); }
.btn-pink {
background: var(--pk-pink); color: #fff;
border-color: var(--pk-pink); font-weight: 600;
}
.btn-pink:hover { background: #cc006d; border-color: #cc006d; }
.btn-outline-pink {
background: transparent; color: var(--pk-pink);
border-color: var(--border-pink);
}
.btn-outline-pink:hover { background: var(--pink-dim); }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-xs { padding: 4px 10px; font-size: 11px; }
/* ─── PAGES ───────────────────────────────────────────── */
.page { display: none; padding: 28px 32px 60px; }
.page.active { display: block; }
.page-eyebrow {
font-family: 'DM Mono', monospace;
font-size: 11px; font-weight: 500;
letter-spacing: 0.14em; text-transform: uppercase;
color: var(--pk-pink-label); margin-bottom: 8px;
display: flex; align-items: center; gap: 10px;
}
.page-title {
font-family: 'Unbounded', sans-serif;
font-weight: 700; font-size: 26px;
color: var(--text); letter-spacing: -0.03em;
margin-bottom: 6px; line-height: 1.2;
}
.page-sub { font-size: 15px; color: var(--muted); margin-bottom: 32px; line-height: 1.65; }
/* ─── CARDS ───────────────────────────────────────────── */
.card {
background: var(--surface);
border: 0.5px solid var(--border);
border-radius: var(--radius); padding: 22px;
}
.card-header {
display: flex; align-items: center; justify-content: space-between;
margin-bottom: 18px;
}
.card-title {
font-family: 'DM Mono', monospace;
font-size: 12px; font-weight: 500;
color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em;
}
.card-accent { border-left: 2px solid var(--pk-pink); padding-left: 16px; }
/* ─── STATUS BANNER ───────────────────────────────────── */
.status-banner {
border-radius: var(--radius); padding: 20px 24px;
margin-bottom: 24px;
display: flex; align-items: center; justify-content: space-between;
border: 0.5px solid;
position: relative; overflow: hidden;
}
.status-banner::before {
content: ''; position: absolute;
left: 0; top: 0; bottom: 0; width: 3px;
}
.banner-safe { background: var(--green-dim); border-color: rgba(45,216,101,0.2); }
.banner-safe::before { background: var(--green); }
.banner-warn { background: var(--amber-dim); border-color: rgba(251,191,36,0.2); }
.banner-warn::before { background: var(--amber); }
.banner-info { background: var(--pink-dim); border-color: var(--border-pink); }
.banner-info::before { background: var(--pk-pink); }
.banner-label {
font-family: 'DM Mono', monospace;
font-size: 12px; font-weight: 500; letter-spacing: 0.1em;
text-transform: uppercase; margin-bottom: 5px;
}
.banner-value { font-size: 14px; color: var(--text); font-weight: 500; }
.countdown {
font-family: 'DM Mono', monospace;
font-size: 22px; color: var(--text); font-weight: 700;
letter-spacing: 0.06em;
}
/* ─── STAT GRID ───────────────────────────────────────── */
.stats-grid {
display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-bottom: 24px;
}
.stat-card {
background: var(--surface); border: 0.5px solid var(--border); border-radius: var(--radius); padding: 20px;
}
.stat-label {
font-family: 'DM Mono', monospace;
font-size: 11px; font-weight: 500; letter-spacing: 0.12em;
text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.stat-value { font-size: 24px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.stat-sub { font-size: 13px; color: var(--muted); }
.stat-pink { color: var(--text); }
.stat-green { color: var(--green); }
/* ─── TWO COL ─────────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-bottom: 24px; }
/* ─── HEARTBEAT ITEMS ─────────────────────────────────── */
.hb-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.hb-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.hb-on { background: var(--pk-pink); box-shadow: 0 0 8px rgba(230,0,122,0.6); }
.hb-off { background: var(--muted2); }
.hb-label { font-size: 14px; color: var(--text); flex: 1; }
.hb-time { font-family: 'DM Mono', monospace; font-size: 12px; color: var(--muted); }
/* progress */
.prog-track { height: 4px; border-radius: 2px; background: var(--surface3); margin-top: 16px; overflow: hidden; }
.prog-fill { height: 100%; background: var(--pk-pink); border-radius: 2px; }
/* ─── BENEFICIARY ─────────────────────────────────────── */
.bene-row {
display: flex; align-items: center; gap: 12px; padding: 11px 0;
border-bottom: 0.5px solid var(--border);
}
.bene-row:last-child { border-bottom: none; padding-bottom: 0; }
.bene-av {
width: 32px; height: 32px; border-radius: 50%;
background: var(--pink-strong);
border: 0.5px solid var(--border-pink);
display: flex; align-items: center; justify-content: center;
font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 500;
color: var(--pk-pink); flex-shrink: 0;
}
.bene-name { font-size: 14px; font-weight: 500; color: var(--text); }
.bene-addr { font-family: 'DM Mono', monospace; font-size: 12px; color: var(--muted); }
.bene-share { font-family: 'DM Mono', monospace; font-size: 14px; color: var(--text); font-weight: 600; }
/* ─── ASSET ROW ───────────────────────────────────────── */
.asset-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 0.5px solid var(--border); }
.asset-row:last-child { border-bottom: none; }
.asset-ic { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.asset-name { font-size: 13px; color: var(--text); flex: 1; }
.asset-amt { font-family: 'DM Mono', monospace; font-size: 13px; color: var(--muted); }
.asset-val { font-family: 'DM Mono', monospace; font-size: 13px; color: var(--text); margin-left: 10px; }
/* ─── BADGE ───────────────────────────────────────────── */
.badge {
font-family: 'DM Mono', monospace;
font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
padding: 3px 9px; border-radius: 4px;
}
.badge-live { background: var(--green-dim); color: var(--green); border: 0.5px solid rgba(34,197,94,0.2); }
.badge-draft { background: var(--surface2); color: var(--muted); border: 0.5px solid var(--border2); }
.badge-pink { background: var(--pink-dim); color: var(--pk-pink); border: 0.5px solid var(--border-pink); }
.badge-warn { background: var(--amber-dim); color: var(--amber); border: 0.5px solid rgba(245,158,11,0.2); }
/* ─── FORM ────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label {
display: block;
font-family: 'DM Mono', monospace;
font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
color: var(--muted); margin-bottom: 8px;
}
.form-input {
width: 100%; background: var(--surface2);
border: 0.5px solid var(--border2); border-radius: var(--radius-sm);
color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 14px;
padding: 11px 14px; outline: none; transition: border-color 0.12s;
}
.form-input:focus { border-color: var(--pk-pink); }
.form-input::placeholder { color: var(--muted2); }
textarea.form-input { resize: vertical; min-height: 120px; line-height: 1.65; }
select.form-input { cursor: pointer; }
.form-hint { font-size: 13px; color: var(--muted); margin-top: 7px; line-height: 1.55; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
/* ─── SETUP STEPPER ───────────────────────────────────── */
.stepper {
display: flex; margin-bottom: 30px;
background: var(--surface); border: 0.5px solid var(--border); border-radius: var(--radius);
overflow: hidden;
}
.step-tab {
flex: 1; padding: 14px 16px; display: flex; align-items: center; gap: 10px;
border-right: 0.5px solid var(--border); cursor: pointer; transition: background 0.12s;
}
.step-tab:last-child { border-right: none; }
.step-tab.s-active { background: var(--pink-dim); }
.step-tab.s-done { background: var(--green-dim); }
.step-num {
width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
display: flex; align-items: center; justify-content: center;
font-family: 'Unbounded', sans-serif; font-size: 12px; font-weight: 700;
}
.sn-idle { background: var(--surface3); color: var(--muted); }
.sn-active { background: var(--pk-pink); color: #fff; }
.sn-done { background: var(--green); color: #fff; }
.step-label {
font-family: 'DM Mono', monospace;
font-size: 11px; font-weight: 500;
}
.sl-idle { color: var(--muted); }
.sl-active { color: var(--pk-pink); }
.sl-done { color: var(--green); }
/* ─── BENEFICIARY CHIP ────────────────────────────────── */
.b-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.b-chip {
display: inline-flex; align-items: center; gap: 8px;
background: var(--surface2); border: 0.5px solid var(--border2);
border-radius: 6px; padding: 5px 10px;
font-family: 'DM Mono', monospace; font-size: 11px; color: var(--text);
}
.chip-x { color: var(--muted); cursor: pointer; font-size: 15px; line-height: 1; }
.chip-x:hover { color: var(--red); }
/* ─── AI BOX ──────────────────────────────────────────── */
.ai-wrap {
background: var(--pink-glow);
border: 0.5px solid var(--border-pink);
border-radius: var(--radius); padding: 16px; margin-top: 14px;
}
.ai-header { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.ai-led { width: 6px; height: 6px; border-radius: 50%; background: var(--pk-pink); animation: aled 2s ease-in-out infinite; }
@keyframes aled { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.ai-tag {
font-family: 'DM Mono', monospace; font-size: 12px; font-weight: 500;
letter-spacing: 0.1em; text-transform: uppercase; color: var(--pk-pink-label);
}
.ai-body { font-size: 13px; color: var(--text); line-height: 1.7; white-space: pre-line; }
.loader { display: flex; gap: 4px; align-items: center; }
.ldot { width: 4px; height: 4px; border-radius: 50%; background: var(--pk-pink); animation: lbounce 1.2s infinite; }
.ldot:nth-child(2) { animation-delay: 0.2s; }
.ldot:nth-child(3) { animation-delay: 0.4s; }
@keyframes lbounce { 0%,80%,100% { opacity: 0.2; } 40% { opacity: 1; } }
/* ─── TIMELINE ────────────────────────────────────────── */
.tl-item { display: flex; gap: 14px; padding-bottom: 22px; position: relative; }
.tl-item:not(:last-child)::before {
content: ''; position: absolute; left: 13px; top: 27px; bottom: 0;
width: 0.5px; background: var(--border2);
}
.tl-ic {
width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
display: flex; align-items: center; justify-content: center;
font-size: 11px; position: relative; z-index: 1;
}
.tl-pink { background: var(--pink-dim); border: 0.5px solid var(--border-pink); }
.tl-green { background: var(--green-dim); border: 0.5px solid rgba(34,197,94,0.3); }
.tl-gray { background: var(--surface2); border: 0.5px solid var(--border2); }
.tl-content { flex: 1; padding-top: 3px; }
.tl-event { font-size: 15px; font-weight: 500; color: var(--text); margin-bottom: 3px; }
.tl-time { font-family: 'DM Mono', monospace; font-size: 12px; color: var(--muted); }
.tl-detail { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.55; }
/* ─── DIVIDER ─────────────────────────────────────────── */
.divider { height: 0.5px; background: var(--border); margin: 18px 0; }
/* ─── MODAL ───────────────────────────────────────────── */
.overlay {
position: fixed; inset: 0;
background: rgba(0,0,0,0.88);
backdrop-filter: blur(12px);
z-index: 200; display: none;
align-items: center; justify-content: center; padding: 20px;
}
.overlay.open { display: flex; }
.modal {
background: var(--surface); border: 0.5px solid var(--border-pink);
border-radius: 14px; padding: 26px;
width: 100%; max-width: 460px;
animation: mup 0.18s ease;
}
@keyframes mup { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }
.modal-title {
font-family: 'Unbounded', sans-serif;
font-weight: 700; font-size: 16px; color: var(--text);
margin-bottom: 18px; display: flex; align-items: center; justify-content: space-between;
}
.mclose {
width: 28px; height: 28px; border-radius: 6px;
background: transparent; border: 0.5px solid var(--border2);
color: var(--muted); cursor: pointer; font-size: 14px;
display: flex; align-items: center; justify-content: center;
}
.mclose:hover { color: var(--text); }
/* ─── POLKADOT NETWORK STRIP ──────────────────────────── */
.network-strip {
display: inline-flex; align-items: center; gap: 7px;
padding: 4px 12px 4px 8px; border-radius: 20px;
background: var(--surface2); border: 0.5px solid var(--border-pink);
font-family: 'DM Mono', monospace; font-size: 11px; color: var(--pk-pink);
}
.net-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--pk-pink); animation: aled 2s infinite; }
/* ── RESPONSIVE ───────────────────────────────────────── */
/* Tablet — 860px and below */
/* ═══════════════════════════════════════════════════════
RESPONSIVE — Full breakpoint system
═══════════════════════════════════════════════════════ */
/* ── Tablet & below (≤860px) ── */
@media (max-width: 860px) {
:root { --sidebar-w: 0px; }
/* Sidebar → slide-over drawer */
.sidebar {
transform: translateX(-100%);
transition: transform 0.25s cubic-bezier(.4,0,.2,1);
z-index: 200;
width: 270px;
box-shadow: 6px 0 32px rgba(0,0,0,0.6);
}
.sidebar.open { transform: translateX(0); }
.sidebar-overlay {
display: none;
position: fixed; inset: 0;
background: rgba(0,0,0,0.65);
z-index: 199;
backdrop-filter: blur(3px);
}
.sidebar-overlay.open { display: block; }
/* Show hamburger */
.hamburger { display: flex !important; }
.main { margin-left: 0; }
/* Topbar */
.topbar { padding: 0 14px; height: 52px; }
.topbar-crumb { font-size: 12px; }
.network-strip { display: none; }
#walletBalDisplay { display: none !important; }
#walletBalDot { display: none !important; }
/* Pages */
.page { padding: 16px 14px 80px; }
.page-title { font-size: 20px; }
.page-sub { font-size: 13px; margin-bottom: 20px; }
/* Grids */
.stats-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.two-col { grid-template-columns: 1fr; gap: 10px; }
/* Banner */
.status-banner { flex-direction: column; align-items: flex-start; gap: 10px; }
.countdown { font-size: 18px; }
/* Stepper */
.stepper { flex-direction: column; }
.step-tab { border-right: none; border-bottom: 0.5px solid var(--border); }
.step-tab:last-child { border-bottom: none; }
/* Forms */
.form-row { grid-template-columns: 1fr; }
/* Cards */
.card { padding: 16px; }
/* Modals — full width on tablet */
.modal { max-width: 95vw !important; padding: 22px; }
/* Wallet picker — stack on tablet */
#walletPickerModal > div { flex-direction: column; max-width: 95vw !important; }
#walletPickerModal > div > div:first-child { width: 100% !important; border-right: none; border-bottom: 0.5px solid rgba(255,255,255,0.08); }
/* Will page contract details — allow wrapping */
#willContractLink { word-break: break-all; font-size: 11px; }
}
/* ── Mobile (≤480px) ── */
@media (max-width: 480px) {
/* Grids */
.stats-grid { grid-template-columns: 1fr; gap: 8px; }
.two-col { grid-template-columns: 1fr; gap: 8px; }
/* Topbar — tighter */
.topbar { height: 52px; padding: 0 12px; }
.topbar-crumb { font-size: 11px; }
/* Hide ghost btn but NOT the connect wallet button */
.topbar-right .btn-ghost:not(#connectBtn) { display: none; }
.hb-btn-label { display: none; }
#wrongNetworkBtn { font-size: 10px; padding: 4px 8px; }
/* Make connect button more compact on mobile */
#connectBtn { font-size: 11px; padding: 6px 10px; }
/* Pages */
.page { padding: 12px 12px 80px; }
.page-title { font-size: 17px; }
.page-sub { font-size: 12px; margin-bottom: 16px; }
.page-eyebrow { font-size: 10px; }
/* Cards */
.card { padding: 12px; border-radius: 8px; }
.card-header { margin-bottom: 12px; }
/* Stat cards */
.stat-value { font-size: 18px; }
.stat-sub { font-size: 11px; }
/* Banner */
.status-banner { padding: 12px; }
.countdown { font-size: 16px; letter-spacing: 0.03em; }
.banner-value { font-size: 12px; }
/* Heartbeat */
.hb-time { display: none; }
.hb-label { font-size: 12px; }
/* Beneficiary rows */
.bene-row { flex-wrap: wrap; gap: 6px; }
.bene-name { font-size: 12px; }
.bene-addr { font-size: 11px; }
.bene-share { font-size: 12px; }
/* Timeline */
.tl-event { font-size: 13px; }
.tl-time { font-size: 11px; }
.tl-detail { font-size: 12px; }
/* Forms */
.form-input { font-size: 13px; padding: 10px 12px; }
.form-label { font-size: 10px; }
.form-hint { font-size: 12px; }
#bLabel, #bAddr { min-width: 100% !important; }
#bShare { width: 100% !important; }
/* Buttons */
.btn { font-size: 12px; padding: 7px 14px; }
.btn-pink { font-size: 13px; }
.btn-sm { padding: 6px 10px; font-size: 11px; }
.btn-xs { padding: 4px 8px; font-size: 10px; }
/* Badges */
.badge { font-size: 9px; padding: 2px 7px; }
/* Modals */
.modal { padding: 16px; border-radius: 12px; }
.modal-title { font-size: 15px; }
/* Setup stepper labels — hide text, show numbers only */
.step-label { font-size: 10px; }
/* Sidebar wider on very small screens */
.sidebar { width: 85vw; max-width: 300px; }
/* Last message how-it-works steps */
.how-step-num { width: 22px !important; height: 22px !important; font-size: 10px !important; }
/* Progress bar label */
#hbElapsed, #hbLeft { font-size: 11px; }
/* Wallet pill in sidebar */
.wp-addr { font-size: 11px; }
.wp-row1 { font-size: 11px; }
/* Network row */
#networkName { font-size: 11px; }
/* Countdown label */
#countdown { font-size: 15px; }
/* Distribution bar labels — stack them */
#distLabels { flex-direction: column; gap: 3px; }
/* Asset row */
.asset-name { font-size: 12px; }
.asset-amt { font-size: 12px; }
.asset-val { font-size: 12px; }
/* Encrypted text preview — smaller */
#encryptedText { font-size: 10px; }
}
/* ── Very small (≤360px) — e.g. older Android phones ── */
@media (max-width: 360px) {
.page { padding: 10px 10px 80px; }
.page-title { font-size: 15px; }
.stat-value { font-size: 16px; }
.topbar { height: 44px; }
.card { padding: 10px; }
.btn-pink { font-size: 12px; padding: 8px 14px; }
.sidebar { width: 90vw; }
/* Hide wallet info panel on tiny screens */
#walletInfoPanel { display: none; }
}
/* ── Large screens (≥1400px) ── */
@media (min-width: 1400px) {
.page { padding: 32px 48px 80px; }
.stats-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.two-col { gap: 16px; }
}
/* ── Ultra-wide (≥1800px) ── */
@media (min-width: 1800px) {
.page { max-width: 1200px; }
}
</style>
</head>
<body>
<!-- Mobile sidebar overlay -->
<div class="sidebar-overlay" id="sidebarOverlay" onclick="toggleSidebar()"></div>
<!-- ══ SIDEBAR ══════════════════════════════════════════ -->
<aside class="sidebar">
<div class="sidebar-logo">
<!-- Official Polkadot dot mark (simplified SVG) -->
<div class="logo-mark">
<svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<ellipse cx="16" cy="7.5" rx="5" ry="3.2" fill="#E6007A"/>
<ellipse cx="16" cy="24.5" rx="5" ry="3.2" fill="#E6007A"/>
<ellipse cx="7.2" cy="11.8" rx="3.2" ry="5" transform="rotate(-60 7.2 11.8)" fill="#E6007A"/>
<ellipse cx="24.8" cy="11.8" rx="3.2" ry="5" transform="rotate(60 24.8 11.8)" fill="#E6007A"/>
<ellipse cx="7.2" cy="20.2" rx="3.2" ry="5" transform="rotate(60 7.2 20.2)" fill="#E6007A"/>
<ellipse cx="24.8" cy="20.2" rx="3.2" ry="5" transform="rotate(-60 24.8 20.2)" fill="#E6007A"/>
</svg>
</div>
<span class="logo-name">Willz</span>
</div>
<nav class="sidebar-nav">
<div class="nav-section-label">Overview</div>
<div class="nav-item active" onclick="showPage('dashboard',this)">
<span class="nav-dot"></span> Dashboard
</div>
<div class="nav-item" onclick="showPage('will',this)">
<span class="nav-dot"></span> My Will
</div>
<div class="nav-item" onclick="showPage('history',this)">
<span class="nav-dot"></span> History
</div>
<div class="nav-section-label">Manage</div>
<div class="nav-item" onclick="showPage('setup',this)">
<span class="nav-dot"></span> Setup Will
</div>
<div class="nav-item" onclick="openHB()">
<span class="nav-dot"></span> Send Heartbeat
</div>
<div class="nav-item" onclick="showPage('message',this)">
<span class="nav-dot"></span> Last Message
</div>
</nav>
<div class="sidebar-footer">
<!-- Network indicator -->
<div id="networkRow" style="display:none;margin-bottom:8px;padding:7px 10px;border-radius:7px;background:var(--surface2);border:0.5px solid var(--border2);cursor:pointer;transition:border-color .15s;" onclick="switchNetwork()" title="Click to switch to Polkadot Hub TestNet">
<div style="display:flex;align-items:center;justify-content:space-between;">
<div style="display:flex;align-items:center;gap:7px;">
<div id="networkDot" style="width:6px;height:6px;border-radius:50%;background:var(--muted2);flex-shrink:0;"></div>
<span id="networkName" style="font-family:'DM Mono',monospace;font-size:12px;color:var(--muted);">Unknown Network</span>
</div>
<span style="font-size:12px;color:var(--pk-pink);font-family:'DM Mono',monospace;" id="networkSwitchHint" style="display:none;">Switch →</span>
</div>
</div>
<!-- Wallet pill -->
<div class="wallet-pill" id="walletPill" onclick="connectWallet()">
<div class="wp-row1">
<div class="wp-led" id="wpLed"></div>
<span id="wpStatus">Not connected</span>
</div>
<div class="wp-addr" id="wpAddr">Connect wallet →</div>
</div>
<!-- Disconnect button — hidden until connected -->
<button id="disconnectBtn" onclick="disconnectWallet()" style="display:none;width:100%;margin-top:6px;padding:7px;border-radius:7px;background:transparent;border:0.5px solid rgba(239,68,68,0.2);color:var(--red);font-family:'DM Sans',sans-serif;font-size:12px;cursor:pointer;transition:background .15s;" onmouseover="this.style.background='var(--red-dim)'" onmouseout="this.style.background='transparent'">
Disconnect
</button>
</div>
</aside>
<!-- ══ MAIN ══════════════════════════════════════════════ -->
<div class="main">
<!-- TOPBAR -->
<div class="topbar">
<div class="topbar-left">
<!-- Hamburger — hidden on desktop, shown on mobile -->
<button class="hamburger" onclick="toggleSidebar()" style="display:none;background:transparent;border:0.5px solid var(--border2);border-radius:6px;padding:6px 8px;cursor:pointer;color:var(--text);flex-direction:column;gap:4px;align-items:center;justify-content:center;width:34px;height:34px;">
<span style="display:block;width:14px;height:1.5px;background:currentColor;border-radius:1px;"></span>
<span style="display:block;width:14px;height:1.5px;background:currentColor;border-radius:1px;"></span>
<span style="display:block;width:14px;height:1.5px;background:currentColor;border-radius:1px;"></span>
</button>
<span class="topbar-crumb" id="topCrumb">Dashboard</span>
<div class="network-strip"><div class="net-dot"></div>Polkadot Hub TestNet</div>
</div>
<div class="topbar-right">
<div style="font-family:'DM Mono',monospace;font-size:12px;color:var(--muted);display:flex;align-items:center;gap:6px;">
<span style="width:6px;height:6px;border-radius:50%;background:var(--green);flex-shrink:0;" id="walletBalDot" style="display:none;"></span>
<span id="walletBalDisplay" style="display:none;">0 PAS</span>
</div>
<!-- Wrong network warning -->
<button id="wrongNetworkBtn" onclick="switchNetwork()" style="display:none;font-family:'DM Sans',sans-serif;font-size:12px;font-weight:500;padding:6px 12px;border-radius:7px;background:var(--amber-dim);border:0.5px solid rgba(245,158,11,0.3);color:var(--amber);cursor:pointer;">
⚠ Wrong Network
</button>
<button class="btn btn-ghost btn-sm" id="connectBtn" onclick="connectWallet()">Connect Wallet</button>
<button class="btn btn-pink btn-sm" onclick="openHB()" id="hbBtn">♡ <span class="hb-btn-label">Heartbeat</span></button>
</div>
</div>
<!-- ══ DASHBOARD ══════════════════════════════════════ -->
<div class="page active" id="page-dashboard">
<div class="page-eyebrow">Polkadot Hub</div>
<div style="display:flex;align-items:center;justify-content:space-between;margin-bottom:4px;">
<div class="page-title" style="margin-bottom:0;">Your Will</div>
<button onclick="refreshDashboard()" style="background:transparent;border:0.5px solid var(--border2);border-radius:7px;padding:6px 12px;color:var(--muted);font-family:'DM Sans',sans-serif;font-size:12px;cursor:pointer;" title="Refresh dashboard data">↻ Refresh</button>
</div>
<div class="page-sub">On-chain inheritance, secured by Solidity on Polkadot Hub</div>
<!-- No will prompt -->
<div id="setupPrompt" style="display:none;margin-bottom:22px;">
<div class="card" style="border-color:var(--border-pink);text-align:center;padding:32px 20px;">
<div style="font-size:28px;margin-bottom:12px;">⬡</div>
<div style="font-family:'Unbounded',sans-serif;font-weight:700;font-size:16px;margin-bottom:8px;">No Will Deployed</div>
<div style="font-size:13px;color:var(--muted);margin-bottom:20px;line-height:1.6;">You haven't set up your on-chain inheritance yet.<br/>It takes less than 2 minutes.</div>
<button class="btn btn-pink" onclick="showPage('setup', document.querySelectorAll('.nav-item')[3])">Create Your Will →</button>
</div>
</div>
<!-- Status banner -->
<div class="status-banner banner-safe" id="statusBanner">
<div style="display:flex;align-items:center;gap:14px;">
<div style="width:36px;height:36px;border-radius:50%;background:var(--green-dim);border:0.5px solid rgba(34,197,94,0.3);display:flex;align-items:center;justify-content:center;font-size:15px;">♡</div>
<div>
<div class="banner-label" id="bannerLabel" style="color:var(--green);">Loading...</div>
<div class="banner-value" id="bannerValue">Fetching contract status...</div>
</div>
</div>
<div style="display:flex;flex-direction:column;align-items:flex-end;gap:8px;">
<div>
<div style="font-family:'DM Mono',monospace;font-size:12px;color:var(--muted);letter-spacing:.12em;margin-bottom:5px;">COUNTDOWN</div>
<div class="countdown" id="countdown">--:--:--:--</div>
</div>
<button onclick="loadDashboard()" style="background:transparent;border:0.5px solid var(--border2);border-radius:6px;padding:4px 10px;font-size:11px;font-family:'DM Mono',monospace;color:var(--muted);cursor:pointer;" title="Refresh dashboard data">↻ Refresh</button>
</div>
</div>
<!-- Stats -->
<div class="stats-grid">
<div class="stat-card">
<div class="stat-label">Protected Assets</div>
<div class="stat-value stat-pink" id="statBalance">Loading...</div>
<div class="stat-sub">on Polkadot Hub TestNet</div>
</div>
<div class="stat-card">
<div class="stat-label">Beneficiaries</div>
<div class="stat-value" id="statBenes">0</div>
<div class="stat-sub">Registered on-chain</div>
</div>
<div class="stat-card">
<div class="stat-label">Interval</div>
<div class="stat-value stat-green" id="statInterval">Loading</div>
<div class="stat-sub" id="statLastHB">Last: loading</div>
</div>
</div>
<!-- Two col -->
<div class="two-col">
<!-- Heartbeat -->
<div class="card">
<div class="card-header">
<span class="card-title">Heartbeat</span>
<span class="badge badge-live" id="hbBadge">Active</span>
</div>
<div id="hbHistory">
<div style="color:var(--muted);font-size:13px;">Loading...</div>
</div>
<div class="prog-track"><div class="prog-fill" id="hbProgFill" style="width:0%;"></div></div>
<div style="display:flex;justify-content:space-between;margin-top:7px;">
<span style="font-size:12px;color:var(--muted);" id="hbElapsed">...</span>
<span style="font-family:'DM Mono',monospace;font-size:12px;color:var(--green);" id="hbLeft">...</span>
</div>
</div>
<!-- Beneficiaries -->
<div class="card">
<div class="card-header">
<span class="card-title">Beneficiaries</span>
<button class="btn btn-ghost btn-xs" onclick="showPage('setup',document.querySelectorAll('.nav-item')[3])">Edit</button>
</div>
<div id="beneList">
<div style="color:var(--muted);font-size:13px;">Loading...</div>
</div>
<div style="margin-top:14px;padding:12px;background:var(--surface2);border-radius:8px;border:0.5px solid var(--border);">
<div style="font-family:'DM Mono',monospace;font-size:12px;color:var(--muted);letter-spacing:.1em;margin-bottom:8px;">DISTRIBUTION</div>
<div style="display:flex;gap:2px;height:5px;border-radius:3px;overflow:hidden;" id="distBar"></div>
<div style="display:flex;justify-content:space-between;margin-top:7px;flex-wrap:wrap;gap:4px;" id="distLabels"></div>
</div>
</div>
<!-- Assets -->
<div class="card">
<div class="card-header">
<span class="card-title">Protected Assets</span>
<button class="btn btn-outline-pink btn-xs" onclick="openDepositModal()">+ Deposit</button>
</div>
<div class="asset-row">
<div class="asset-ic" style="background:var(--pink-dim);color:var(--pk-pink);">◈</div>
<span class="asset-name">PAS</span>
<span class="asset-amt" id="assetBalance">0.0000 PAS</span>
</div>
<div style="padding-top:12px;margin-top:4px;border-top:0.5px solid var(--border);display:flex;justify-content:space-between;align-items:center;">
<span style="font-size:12px;color:var(--muted);">Vault balance</span>
<span style="font-family:'DM Mono',monospace;font-size:13px;font-weight:600;color:var(--text);" id="assetBalanceLarge">0.0000 PAS</span>
</div>
</div>
<!-- Last message -->
<div class="card">
<div class="card-header">
<span class="card-title">Last Message</span>
<span class="badge badge-draft">Encrypted Locally</span>
</div>
<div style="font-size:13px;color:var(--muted);line-height:1.6;margin-bottom:16px;">
Write a final message, encrypt it with a password, and send the file to your beneficiaries. They can only read it when they have the password.
</div>
<button class="btn btn-outline-pink btn-sm" style="width:100%;justify-content:center;" onclick="showPage('message',document.querySelectorAll('.nav-item')[5])">
✦ Write & Encrypt →
</button>
</div>
</div>
</div>
<!-- ══ SETUP ═══════════════════════════════════════════ -->
<div class="page" id="page-setup">
<div class="page-eyebrow">Configuration</div>
<div class="page-title">Setup Your Will</div>
<div class="page-sub">Deploy your inheritance contract in 3 steps</div>
<div class="stepper" style="max-width:600px;">
<div class="step-tab s-active" onclick="goStep(1)">
<div class="step-num sn-active" id="sn1">1</div>
<span class="step-label sl-active" id="sl1">Beneficiaries</span>
</div>
<div class="step-tab" id="st2" onclick="goStep(2)">
<div class="step-num sn-idle" id="sn2">2</div>
<span class="step-label sl-idle" id="sl2">Heartbeat</span>
</div>
<div class="step-tab" id="st3" onclick="goStep(3)">
<div class="step-num sn-idle" id="sn3">3</div>
<span class="step-label sl-idle" id="sl3">Deploy</span>
</div>
</div>
<!-- Step 1 -->
<div id="sp1" style="max-width:540px;">
<div class="card" style="margin-bottom:18px;">
<div class="card-header"><span class="card-title">Add Beneficiaries</span></div>
<div class="form-group">
<label class="form-label">Beneficiary Details</label>
<div style="display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px;">
<input class="form-input" id="bLabel" placeholder="Name (e.g. Sarah)" style="flex:1;min-width:120px;" />
<input class="form-input" id="bAddr" placeholder="0x wallet address" style="flex:2;min-width:180px;" />
<input class="form-input" id="bShare" type="number" placeholder="%" style="width:72px;flex:none;" />
<button class="btn btn-pink btn-sm" onclick="addB()">Add</button>
</div>
<div class="form-hint">Shares must total exactly 100%.</div>
</div>
<div class="b-chips" id="bChips"></div>
</div>
<button class="btn btn-pink" onclick="goStep(2)">Continue →</button>
</div>
<!-- Step 2 -->
<div id="sp2" style="max-width:540px;display:none;">
<div class="card" style="margin-bottom:18px;">
<div class="card-header"><span class="card-title">Heartbeat Settings</span></div>
<div class="form-group">
<label class="form-label">Check-in Interval</label>
<select class="form-input" id="intervalSelect">
<option value="604800">Every 7 days (recommended)</option>
<option value="1209600">Every 14 days</option>
<option value="2592000">Every 30 days</option>
<option value="7776000">Every 90 days</option>
</select>
<div class="form-hint">Miss this interval + grace period = will executes automatically.</div>
</div>
<div class="form-group" style="margin-bottom:0;">
<label class="form-label">Grace Period</label>
<select class="form-input" id="graceSelect">
<option value="259200">3 days after missed heartbeat</option>
<option value="604800">7 days after missed heartbeat</option>
<option value="1209600">14 days after missed heartbeat</option>
</select>
</div>
</div>
<div style="display:flex;gap:10px;">
<button class="btn btn-ghost" onclick="goStep(1)">← Back</button>
<button class="btn btn-pink" onclick="goStep(3);reviewSummary()">Continue →</button>
</div>
</div>
<!-- Step 3 -->
<div id="sp3" style="max-width:540px;display:none;">
<div class="card" style="margin-bottom:18px;">
<div class="card-header"><span class="card-title">Review & Deploy</span></div>
<div style="background:var(--surface2);border-radius:8px;padding:14px;margin-bottom:14px;">
<div style="font-family:'DM Mono',monospace;font-size:12px;color:var(--muted);letter-spacing:.12em;margin-bottom:10px;">SUMMARY</div>
<div style="font-size:13px;display:flex;flex-direction:column;gap:8px;">
<div style="display:flex;justify-content:space-between;"><span style="color:var(--muted);">Beneficiaries</span><span id="reviewBenes">...</span></div>
<div style="display:flex;justify-content:space-between;"><span style="color:var(--muted);">Interval</span><span id="reviewInterval">...</span></div>
<div style="display:flex;justify-content:space-between;"><span style="color:var(--muted);">Grace period</span><span id="reviewGrace">...</span></div>
<div style="display:flex;justify-content:space-between;"><span style="color:var(--muted);">Initial deposit</span><span id="reviewDeposit" style="color:var(--text);">0.000 PAS</span></div>
<div style="display:flex;justify-content:space-between;"><span style="color:var(--muted);">Network</span><span style="color:var(--pk-pink);">Polkadot Hub TestNet</span></div>
</div>
</div>
<div style="background:var(--red-dim);border:0.5px solid rgba(239,68,68,0.2);border-radius:8px;padding:12px;margin-bottom:14px;">
<div style="font-family:'DM Mono',monospace;font-size:12px;color:var(--red);letter-spacing:.08em;margin-bottom:4px;">⚠ IMMUTABLE ONCE DEPLOYED</div>
<div style="font-size:12px;color:var(--muted);line-height:1.6;">Double-check all beneficiary addresses. Wrong addresses mean permanent loss of funds.</div>
</div>
<!-- PAS Deposit -->
<div class="form-group" style="margin-bottom:0;">