Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
4727 lines (4519 loc) · 239 KB
/
Copy pathindex.html
File metadata and controls
4727 lines (4519 loc) · 239 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" data-theme="SUB7_LEGENDS">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Content Security Policy (balanced): scripts/styles only from this page, images from the site and the
flag/favicon CDNs, no plugins, no <base> or form hijacking. connect-src stays open to https: so the live
outage probes keep working for any Outage_Targets URL. -->
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob: https://flagcdn.com https://www.google.com https://*.gstatic.com; font-src 'self' data:; connect-src 'self' https:; frame-src 'none'; object-src 'none'; base-uri 'self'; form-action 'self'; upgrade-insecure-requests" />
<title>H@N</title>
<style>
/* =========================================================================
THEME DEFINITIONS — DEFAULT: SUB7_LEGENDS (SubSeven v.2.1.5 by mobman)
========================================================================= */
:root, [data-theme="SUB7_LEGENDS"] {
--outer-bg: #000000;
--frame-border: #d0d7e5;
--title-grad-1: #8486eb;
--title-grad-2: #5b5dc7;
--title-text: #ffffff;
--chassis-bg: #000000;
--strip-bg: #090c18;
--strip-border: #3a4272;
--sidebar-bg: #000000;
--side-btn-bg: #030612;
--side-btn-border: #2a4880;
--side-btn-hover: #0a1838;
--side-btn-active: #043c82;
--side-btn-text: #7ca8e8;
--side-btn-active-text: #ffffff;
--viewport-bg: #043c82;
--viewport-border: #4a78c2;
--card-bg: #032d63;
--card-border: #386bb8;
--input-bg: #000000;
--input-border: #4b558a;
--accent: #7ce8ff;
--accent-2: #b9bbff;
--text: #eef6ff;
--muted: #9ec0eb;
--warn: #ffd166;
--danger: #ff6b8b;
--status-bg: #000000;
--status-border: #55598c;
--scroll-track: #d4d0c8;
--scroll-thumb: #b8b4ac;
}
[data-theme="HACK_MATRIX"] {
--outer-bg: #030604;
--frame-border: #00ff88;
--title-grad-1: #0b3d24;
--title-grad-2: #062114;
--title-text: #00ff88;
--chassis-bg: #050a07;
--strip-bg: #09120d;
--strip-border: #1a4731;
--sidebar-bg: #050a07;
--side-btn-bg: #08120c;
--side-btn-border: #1b4d34;
--side-btn-hover: #0e2418;
--side-btn-active: #123824;
--side-btn-text: #5cd69c;
--side-btn-active-text: #00ff88;
--viewport-bg: #08140e;
--viewport-border: #1e593b;
--card-bg: #0c1d15;
--card-border: #226644;
--input-bg: #030705;
--input-border: #1f5c3d;
--accent: #00ff88;
--accent-2: #00d4ff;
--text: #e0f7ec;
--muted: #7eb398;
--warn: #fbbf24;
--danger: #ff4d6d;
--status-bg: #040806;
--status-border: #1a4731;
--scroll-track: #0b1a12;
--scroll-thumb: #1f5c3d;
}
[data-theme="AMBER_CRT"] {
--outer-bg: #080602;
--frame-border: #ffb000;
--title-grad-1: #4a3200;
--title-grad-2: #261900;
--title-text: #ffb000;
--chassis-bg: #0a0702;
--strip-bg: #140e04;
--strip-border: #5c3f08;
--sidebar-bg: #0a0702;
--side-btn-bg: #120c03;
--side-btn-border: #593d07;
--side-btn-hover: #261a06;
--side-btn-active: #3b2808;
--side-btn-text: #d99b26;
--side-btn-active-text: #ffd166;
--viewport-bg: #140e04;
--viewport-border: #6e4b09;
--card-bg: #1c1406;
--card-border: #7d550b;
--input-bg: #080501;
--input-border: #694708;
--accent: #ffb000;
--accent-2: #ff7b00;
--text: #fff2d6;
--muted: #b89456;
--warn: #fde047;
--danger: #ef4444;
--status-bg: #080602;
--status-border: #5c3f08;
--scroll-track: #1c1406;
--scroll-thumb: #6e4b09;
}
[data-theme="RED_TEAM"] {
--outer-bg: #080304;
--frame-border: #ff3355;
--title-grad-1: #4d0d18;
--title-grad-2: #29060c;
--title-text: #ffccd5;
--chassis-bg: #0a0405;
--strip-bg: #14080a;
--strip-border: #5c1925;
--sidebar-bg: #0a0405;
--side-btn-bg: #120608;
--side-btn-border: #591823;
--side-btn-hover: #260a0f;
--side-btn-active: #3d0f17;
--side-btn-text: #e06c80;
--side-btn-active-text: #ffccd5;
--viewport-bg: #14070a;
--viewport-border: #6e1d2b;
--card-bg: #1c0b0e;
--card-border: #802232;
--input-bg: #080304;
--input-border: #691b29;
--accent: #ff3355;
--accent-2: #ff8c42;
--text: #ffe6ea;
--muted: #b87a84;
--warn: #fbbf24;
--danger: #ff1e42;
--status-bg: #080304;
--status-border: #5c1925;
--scroll-track: #1c0b0e;
--scroll-thumb: #6e1d2b;
}
* { box-sizing: border-box; }
html, body {
margin: 0;
padding: 0;
width: 100vw;
height: 100vh;
overflow: hidden;
background: var(--outer-bg);
color: var(--text);
font-family: "Tahoma", "MS Sans Serif", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 12px;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
/* =========================================================================
FULL-SCREEN SUBSEVEN v.2.1.5 LEGENDS CHASSIS
========================================================================= */
.sub7-window {
width: 100vw;
height: 100vh;
background: var(--chassis-bg);
border: 1px solid var(--frame-border);
display: flex;
flex-direction: column;
overflow: hidden;
}
/* Periwinkle-Lavender Title Bar */
.sub7-titlebar {
background: linear-gradient(90deg, var(--title-grad-1), var(--title-grad-2));
color: var(--title-text);
padding: 4px 10px;
display: flex;
align-items: center;
justify-content: space-between;
font-weight: 700;
font-size: 12px;
letter-spacing: 0.4px;
border-bottom: 1px solid #000000;
user-select: none;
flex-shrink: 0;
}
.sub7-titlebar .win-glyphs {
display: flex;
align-items: center;
gap: 8px;
font-size: 11px;
}
/* Metallic H7 Connection Strip */
.sub7-connstrip {
background: var(--strip-bg);
border-bottom: 1px solid var(--strip-border);
padding: 6px 10px;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 8px;
flex-shrink: 0;
}
.conn-left, .conn-right {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 6px;
}
/* Clock, sync and net share one row exactly as wide as the theme dropdown under them */
.conn-right { display: grid; grid-template-columns: repeat(3, auto); gap: 4px; }
.conn-right .conn-box { text-align: center; box-sizing: border-box; width: 100%; }
.conn-right #themeSelect { grid-column: 1 / -1; }
.h7-badge {
background: linear-gradient(180deg, #e2e8f0 0%, #64748b 100%);
color: #090d16;
font-weight: 900;
font-size: 15px;
padding: 2px 7px;
border: 1px outset #cbd5e1;
border-radius: 2px;
text-shadow: 0 1px 0 #ffffff;
letter-spacing: -0.5px;
display: inline-flex; align-items: center; justify-content: center; line-height: 1;
}
.conn-label {
color: var(--muted);
font-size: 11px;
}
.conn-box {
background: var(--input-bg);
border: 1px solid var(--input-border);
color: #ffffff;
padding: 3px 7px;
font-family: inherit;
font-size: 11px;
font-weight: 700;
}
.s7-btn {
background: var(--side-btn-bg);
border: 1px solid var(--side-btn-border);
color: var(--text);
padding: 3px 9px;
font-family: inherit;
font-size: 11px;
cursor: pointer;
}
.s7-btn:hover {
background: var(--side-btn-hover);
border-color: var(--accent);
color: var(--accent);
}
.s7-btn.active-toggle {
background: var(--side-btn-active);
border-color: var(--accent);
color: #ffffff;
font-weight: 700;
}
/* Main Split Body: Left Sidebar + Royal Blue Viewport */
.sub7-workspace {
flex: 1;
display: flex;
min-height: 0;
overflow: hidden;
padding: 6px;
gap: 6px;
background: var(--chassis-bg);
}
/* Left Navigation Stack */
.sub7-sidebar {
width: 176px;
flex-shrink: 0;
background: var(--sidebar-bg);
display: flex;
flex-direction: column;
gap: 4px;
overflow-y: auto;
}
.nav-item {
width: 100%;
background: var(--side-btn-bg);
border: 1px solid var(--side-btn-border);
color: var(--side-btn-text);
padding: 6px 8px;
font-family: inherit;
font-size: 11px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: space-between;
text-align: left;
}
.nav-item:hover {
background: var(--side-btn-hover);
color: #ffffff;
border-color: var(--accent);
}
.nav-item.active {
background: var(--side-btn-active);
border-color: var(--accent);
color: var(--side-btn-active-text);
font-weight: 700;
}
.sidebar-telemetry-box {
margin-top: auto;
border: 1px solid var(--side-btn-border);
background: #030612;
padding: 7px;
font-size: 10px;
color: var(--muted);
line-height: 1.45;
}
/* Right Panel: Royal Blue Viewport + Full-Width Bottom Action Bar */
.sub7-right-col {
flex: 1;
display: flex;
flex-direction: column;
min-width: 0;
min-height: 0;
gap: 5px;
}
.sub7-viewport {
flex: 1;
background: var(--viewport-bg);
border: 1px solid var(--viewport-border);
overflow-y: auto;
overflow-x: hidden;
padding: 12px;
min-height: 0;
}
/* Classic Win98/2000 Scrollbar Styling */
.sub7-viewport::-webkit-scrollbar { width: 15px; }
.sub7-viewport::-webkit-scrollbar-track { background: var(--scroll-track); border-left: 1px solid #808080; }
.sub7-viewport::-webkit-scrollbar-thumb { background: var(--scroll-thumb); border: 2px outset #ffffff; }
.view { display: none; }
.view.active { display: block; }
/* Full-width bottom action button inside right column */
.sub7-bottom-cta {
width: 100%;
background: var(--side-btn-bg);
border: 1px solid var(--side-btn-border);
color: var(--text);
padding: 5px 10px;
text-align: center;
font-family: inherit;
font-size: 11px;
cursor: pointer;
flex-shrink: 0;
}
.sub7-bottom-cta:hover {
background: var(--side-btn-hover);
border-color: var(--accent);
color: var(--accent);
}
/* Split Bottom Status Bar */
.data-credits {
flex-shrink: 0;
font-size: 7px;
line-height: 1.3;
color: var(--muted);
opacity: 0.75;
padding: 1px 8px 2px;
background: var(--status-bg);
text-align: center;
}
.sub7-statusbar {
background: var(--status-bg);
border-top: 1px solid var(--status-border);
padding: 3px 8px;
display: flex;
align-items: center;
gap: 8px;
font-size: 11px;
flex-shrink: 0;
}
.status-pill {
border: 1px inset var(--status-border);
padding: 1px 10px;
color: var(--accent);
font-weight: 700;
white-space: nowrap;
}
.status-msg {
flex: 1;
border: 1px inset var(--status-border);
padding: 1px 8px;
color: var(--text);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
/* =========================================================================
CARDS, GRIDS, GLOBE HUD & FORMS INSIDE ROYAL BLUE VIEWPORT
========================================================================= */
.banner-box {
background: var(--card-bg);
border: 1px solid var(--card-border);
padding: 10px 12px;
margin-bottom: 10px;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
gap: 10px;
}
.banner-box h1 {
margin: 0 0 3px;
font-size: 14px;
color: var(--accent);
}
.banner-box p {
margin: 0;
font-size: 11px;
color: var(--text);
}
.globe-panel {
background: #010814;
border: 1px solid var(--card-border);
margin-bottom: 10px;
position: relative;
display: flex;
flex-direction: column;
}
.globe-hud-bar {
background: #021229;
border-bottom: 1px solid var(--card-border);
padding: 5px 8px;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 6px;
font-size: 11px;
}
.globe-toggles {
display: flex;
flex-wrap: wrap;
gap: 4px;
}
.canvas-wrap {
position: relative;
width: 100%;
height: 360px;
}
canvas#globeCanvas {
width: 100%;
height: 100%;
display: block;
cursor: grab;
}
canvas#globeCanvas:active { cursor: grabbing; }
.globe-overlay-tl {
position: absolute;
top: 8px;
left: 10px;
pointer-events: none;
font-size: 10px;
color: var(--accent);
background: rgba(1, 8, 20, 0.78);
border: 1px solid var(--card-border);
padding: 5px 8px;
line-height: 1.45;
}
.globe-overlay-br {
position: absolute;
bottom: 8px;
right: 10px;
pointer-events: none;
font-size: 10px;
color: var(--muted);
background: rgba(1, 8, 20, 0.78);
border: 1px solid var(--card-border);
padding: 4px 8px;
}
/* Compact legend (desktop only): what each mark on the globe means; dimmed when that layer is off */
.attack-legend {
position: absolute;
bottom: 6px;
left: 6px;
pointer-events: none;
font-size: 8px;
line-height: 1.35;
color: var(--muted);
background: rgba(1, 8, 20, 0.72);
border: 1px solid var(--card-border);
padding: 3px 6px;
display: grid;
grid-template-columns: auto auto;
column-gap: 10px;
}
.attack-legend .lg-row { white-space: nowrap; }
.attack-legend .lg-row.off { opacity: 0.35; }
.attack-legend .lg-sw { display: inline-block; width: 16px; text-align: center; font-weight: 700; }
.attack-legend .lg-title { grid-column: 1 / -1; color: var(--accent); letter-spacing: 0.5px; }
.attack-legend .lg-top { grid-column: 1 / -1; max-width: 330px; white-space: normal; }
.attack-legend .lg-arc { color: #ff4d5e; font-weight: 700; }
.attack-legend .lg-src { color: #e05cff; font-weight: 700; }
.globe-tooltip {
position: absolute;
display: none;
pointer-events: none;
background: #000000;
border: 1px solid var(--accent);
color: #ffffff;
padding: 4px 7px;
font-size: 10px;
z-index: 20;
white-space: nowrap;
}
/* Threat intel box under the globe */
.threat-panel {
background: #000000;
border: 1px solid var(--card-border);
margin-top: 10px;
font-size: 11px;
}
.threat-head {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 6px;
padding: 5px 8px;
border-bottom: 1px solid var(--card-border);
background: #05070c;
}
.threat-filters { display: flex; gap: 4px; flex-wrap: wrap; }
.threat-list { max-height: 300px; overflow-y: auto; }
.threat-row {
padding: 6px 8px;
border-bottom: 1px solid rgba(255, 255, 255, 0.07);
cursor: crosshair;
outline: none;
}
.threat-row:hover, .threat-row:focus, .threat-row.pinned { background: rgba(255, 77, 94, 0.12); }
.threat-row.pinned { box-shadow: inset 2px 0 0 #ff4d5e; }
.threat-line { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.threat-date { color: var(--muted); white-space: nowrap; font-size: 10px; }
.threat-src {
display: inline-flex; align-items: center; gap: 3px;
font-size: 9px; padding: 0 4px; border: 1px solid var(--muted); color: var(--muted);
white-space: nowrap; font-weight: 700;
}
.threat-src img { width: 12px; height: 9px; object-fit: contain; }
.threat-chip { display: inline-flex; align-items: center; gap: 4px; }
.threat-chip img { width: 12px; height: 9px; object-fit: contain; }
.threat-chip .chip-count { opacity: 0.7; }
.threat-sev { font-size: 9px; padding: 0 4px; border: 1px solid; white-space: nowrap; font-weight: 700; }
.sev-critical, .sev-ransomware { color: #ff4d5e; border-color: #ff4d5e; }
.sev-high, .sev-exploited, .sev-alert { color: #ff9f43; border-color: #ff9f43; }
.sev-medium { color: #ffd166; border-color: #ffd166; }
.sev-low, .sev-info, .sev-advisory, .sev-cve, .sev-news, .sev-report, .sev-blog, .sev-guidance { color: var(--muted); border-color: var(--muted); }
.threat-row a { color: var(--text); text-decoration: none; font-weight: 700; }
.threat-row a:hover { color: var(--accent); text-decoration: underline; }
.threat-meta { color: var(--muted); font-size: 10px; margin-top: 2px; }
.chat-card { max-width: none; margin: 0; }
.chat-row { display: flex; gap: 6px; margin-top: 6px; }
.chat-row input { flex: 1; min-width: 0; }
.chat-note { font-size: 9px; color: var(--muted); margin-top: 4px; }
.chat-bar { display: flex; justify-content: space-between; align-items: center; font-size: 10px; color: var(--muted); }
.chat-bar strong { color: var(--accent); }
.chat-messages { height: min(55vh, 460px); overflow-y: auto; background: #000; border: 1px solid var(--card-border); margin-top: 6px; padding: 6px; font-size: 11px; }
.chat-msg { margin: 2px 0; word-wrap: break-word; }
.chat-main { display: flex; gap: 6px; }
.vault-stack { display: flex; flex-direction: column; gap: 10px; max-width: 740px; margin: 0 auto; }
.comms-card { max-width: 740px; margin: 10px auto 0; }
#btnComms:disabled, #btnTriage:disabled { opacity: 0.45; cursor: not-allowed; }
/* Intro banner spans the full overview width above the globe and stats */
.overview-banner { margin-bottom: 10px; }
/* The chat card fills the visible page height; the message list takes whatever is left */
#view-chat .chat-card { display: flex; flex-direction: column; height: var(--chat-h, auto); min-height: 360px; box-sizing: border-box; }
#view-chat .chat-room { flex: 1; min-height: 0; flex-direction: column; }
#view-chat .chat-room:not([style*="none"]) { display: flex !important; }
#view-chat .chat-main { flex: 1 1 0; min-height: 0; overflow: hidden; }
#view-chat .chat-messages, #view-chat .chat-users { height: auto; max-height: 100%; min-height: 0; overflow-y: auto; }
#view-chat .chat-bar, #view-chat .chat-row, #view-chat .chat-note, #view-chat .card-head { flex-shrink: 0; }
.chat-main .chat-messages { flex: 1; min-width: 0; }
.chat-users { width: 170px; flex-shrink: 0; background: #000; border: 1px solid var(--card-border); margin-top: 6px; padding: 4px 6px; font-size: 10px; overflow-y: auto; max-height: min(55vh, 460px); }
.chat-users-head { color: var(--muted); font-size: 9px; border-bottom: 1px solid var(--card-border); margin-bottom: 3px; padding-bottom: 2px; }
.chat-users .u { color: var(--accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-users .u::before { content: "● "; color: #40f0a0; font-size: 8px; }
.chat-users .u.me { color: #ffd166; }
@media (max-width: 760px) { .chat-users { width: 74px; font-size: 8px; } }
.chat-msg .t { color: var(--muted); font-size: 9px; margin-right: 6px; }
.chat-msg .n { color: var(--accent); font-weight: 700; margin-right: 6px; }
.chat-msg.sys { color: var(--muted); font-style: italic; font-size: 10px; }
.chat-msg.pending { opacity: 0.55; }
.chat-msg.mod { background: rgba(255, 77, 94, 0.08); border-left: 2px solid #ff4d5e; padding-left: 4px; }
.chat-msg .n.mod-badge { color: #fff !important; background: #ff4d5e; padding: 0 4px; font-size: 9px; letter-spacing: 1px; }
.chat-pinned { flex-shrink: 0; margin-top: 6px; padding: 5px 8px; background: rgba(255, 209, 102, 0.1); border: 1px solid #ffd166; color: #ffd166; font-size: 11px; word-wrap: break-word; }
.chat-pinned[hidden] { display: none; }
.chat-pinned b { background: #ff4d5e; color: #fff; padding: 0 4px; margin-right: 6px; font-size: 9px; letter-spacing: 1px; }
.chat-closed #chatInput { opacity: 0.5; }
.chat-colors { display: inline-flex; gap: 3px; align-items: center; }
.chat-colors button { width: 12px; height: 12px; padding: 0; border: 1px solid #000; cursor: pointer; }
.chat-colors button.on { outline: 1px solid #fff; outline-offset: 1px; }
.chat-emoji-btn { font-size: 13px; padding: 0 6px; }
.chat-emoji-panel { display: grid; grid-template-columns: repeat(auto-fill, minmax(26px, 1fr)); gap: 2px; background: #000; border: 1px solid var(--card-border); margin-top: 6px; padding: 4px; max-height: 120px; overflow-y: auto; }
.chat-emoji-panel[hidden] { display: none; }
.chat-emoji-panel button { background: none; border: none; font-size: 17px; cursor: pointer; padding: 2px; line-height: 1; }
.chat-emoji-panel button:hover { background: rgba(124, 232, 255, 0.15); }
.chat-gif-btn { font-size: 9px; font-weight: 700; padding: 0 6px; }
.chat-gif-panel { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 4px; background: #000; border: 1px solid var(--card-border); margin-top: 6px; padding: 4px; max-height: 170px; overflow-y: auto; flex-shrink: 0; }
.chat-gif-panel[hidden] { display: none; }
.chat-gif-panel button { background: none; border: 1px solid transparent; padding: 0; cursor: pointer; }
.chat-gif-panel button:hover { border-color: var(--accent); }
.chat-gif-panel img, .chat-msg img.chat-gif { width: 100%; max-width: 160px; display: block; image-rendering: pixelated; }
.chat-msg img.chat-gif { width: 160px; height: 90px; margin-top: 2px; border: 1px solid var(--card-border); }
.clock-box { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--accent); }
#refreshCountdown { cursor: pointer; }
.visits-mini { background: #000; border: 1px solid var(--card-border); margin-top: 6px; font-size: 10px; flex: 0 0 auto; }
.vm-head { display: flex; justify-content: space-between; padding: 3px 8px; border-bottom: 1px solid var(--card-border); color: var(--accent); font-weight: 700; font-size: 10px; }
.vm-live { color: #40f0a0; font-size: 9px; }
.vm-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.overview-right .visits-mini { margin-top: 10px; }
.vm-row { display: flex; align-items: center; gap: 6px; padding: 2px 8px; white-space: nowrap; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,0.05); }
.vm-t { color: var(--muted); font-variant-numeric: tabular-nums; }
.vm-loc img { vertical-align: -1px; }
.vm-tz { color: var(--muted); }
.triage-table { width: 100%; table-layout: fixed; }
.triage-note { margin-bottom: 8px; padding: 5px 8px; border: 1px solid #ffd166; color: #ffd166; background: rgba(255, 209, 102, 0.08); font-size: 11px; }
.triage-note[hidden], #triageBoardCard[hidden] { display: none; }
.triage-table th:nth-child(1) { width: 78px; }
.triage-table th:nth-child(2) { width: 120px; }
.triage-table th:nth-child(3) { width: 74px; }
.triage-table th:nth-child(5) { width: 130px; }
.triage-table .tt-id { font-weight: 700; color: var(--accent); white-space: nowrap; }
.triage-table .tt-proj { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.triage-table .tt-sum { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.tt-sev { font-size: 9px; font-weight: 700; padding: 1px 5px; border: 1px solid currentColor; }
.tt-sev.sev-high { color: #ff4d5e; }
.tt-sev.sev-medium { color: #ffb84d; }
.tt-sev.sev-low { color: #7ce8ff; }
.outage-card { cursor: pointer; }
.oc-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* compact: only icon + name + state; an expanded card shows its details */
.outage-compact { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important; gap: 4px !important; }
.outage-compact .outage-card { padding: 4px 6px; }
.outage-compact .outage-card .card-head { margin-bottom: 0; font-size: 10px; }
.outage-compact .outage-card .oc-body { display: none; }
/* Floating full card shown while hovering a compact card */
.outage-pop { position: fixed; z-index: 9000; display: none; pointer-events: none; box-shadow: 0 6px 24px rgba(0,0,0,.6); outline: 1px solid var(--accent); }
.outage-pop .oc-body { display: block !important; margin-top: 4px; }
.outage-pop .oc-label { display: inline !important; white-space: normal; }
.outage-pop.latched { pointer-events: auto; cursor: pointer; outline-width: 2px; }
.outage-pop .op-hint { margin-top: 6px; padding-top: 4px; border-top: 1px solid var(--card-border); font-size: 9px; color: var(--accent); text-align: center; }
.outage-pop .op-hint.muted { color: var(--muted); }
.outage-card:hover, .outage-card:focus { outline: 1px solid var(--accent); outline-offset: -1px; }
.outage-agree { font-size: 9px; color: var(--accent); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.outage-agree.warn { color: var(--warn); }
.tag-muted { color: var(--muted) !important; border-color: var(--muted) !important; }
.outage-loc { font-size: 9px; color: var(--muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.threat-foot { padding: 4px 8px; color: var(--muted); font-size: 9px; border-top: 1px solid var(--card-border); }
/* Overview: globe left, stats right (stacks on narrower screens) */
.overview-split {
display: grid;
grid-template-columns: var(--overview-left-w, minmax(0, 1fr)) minmax(0, 1fr);
gap: 10px;
align-items: start;
}
/* Left column fills the visible height: globe on top (resizable), threat feed down to the bottom edge */
.overview-left {
position: sticky;
top: 0;
display: flex;
flex-direction: column;
height: var(--overview-left-h, calc(100vh - 140px));
}
.overview-left .globe-panel { margin-bottom: 0; flex: 0 0 auto; }
.overview-split .canvas-wrap { height: var(--globe-h, 520px); }
.overview-left .threat-panel { flex: 0 0 auto; }
.threat-list, .overview-left .threat-list { height: 92px; max-height: 92px; overflow-y: auto; position: relative; }
.globe-resizer {
height: 8px;
cursor: ns-resize;
background: #021229;
border-top: 1px solid var(--card-border);
display: flex;
align-items: center;
justify-content: center;
touch-action: none;
user-select: none;
}
.globe-resizer::before { content: ""; width: 42px; height: 2px; border-top: 1px solid #386bb8; border-bottom: 1px solid #386bb8; }
.globe-resizer:hover, .globe-resizer.dragging { background: #05306b; }
.overview-left .globe-panel { position: relative; }
.globe-resizer-x {
position: absolute; top: 0; right: -6px; width: 8px; height: 100%;
cursor: ew-resize; touch-action: none; z-index: 3;
}
.globe-resizer-x:hover, .globe-resizer-x.dragging { background: rgba(56, 107, 184, 0.45); }
.globe-resizer-corner {
position: absolute; right: -6px; bottom: 0; width: 14px; height: 14px;
cursor: nwse-resize; touch-action: none; z-index: 4;
background: linear-gradient(135deg, transparent 50%, #386bb8 50%, #386bb8 60%, transparent 60%, transparent 70%, #386bb8 70%, #386bb8 80%, transparent 80%);
}
@media (max-width: 1100px) { .globe-resizer-x, .globe-resizer-corner { display: none; } }
@media (max-width: 1100px) {
.overview-split { grid-template-columns: minmax(0, 1fr); }
.overview-left { position: static; height: auto; display: block; }
.overview-left .globe-panel { margin-bottom: 10px; }
.overview-split .canvas-wrap { height: var(--globe-h, 360px); }
.overview-left .threat-panel { display: block; }
.overview-left .threat-list { height: 92px; max-height: 92px; }
}
.grid-6 { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 8px; margin-bottom: 10px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px; margin-bottom: 10px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 10px; margin-bottom: 10px; }
.card {
background: var(--card-bg);
border: 1px solid var(--card-border);
padding: 10px;
}
.card-head {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 10px;
color: var(--muted);
text-transform: uppercase;
margin-bottom: 5px;
gap: 6px;
}
.kpi-num {
font-size: 18px;
font-weight: 700;
color: var(--accent);
}
.kpi-sub { font-size: 10px; color: var(--muted); margin-top: 2px; }
.sec-bar {
background: #021d42;
border: 1px solid var(--card-border);
padding: 5px 9px;
margin: 10px 0 8px;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 11px;
font-weight: 700;
color: var(--accent);
}
.tag {
border: 1px solid var(--accent);
color: var(--accent);
padding: 1px 5px;
font-size: 9px;
font-weight: 700;
}
.tag-danger { border-color: var(--danger); color: var(--danger); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 11px; }
th, td { text-align: left; padding: 5px 7px; border-bottom: 1px solid var(--card-border); }
th { color: var(--muted); font-size: 10px; }
label { display: block; font-size: 10px; color: var(--muted); margin: 7px 0 3px; }
input, select, textarea {
width: 100%;
background: var(--input-bg);
border: 1px solid var(--input-border);
color: #ffffff;
padding: 5px 7px;
font-family: inherit;
font-size: 11px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
.alert-box {
display: none;
margin-top: 8px;
padding: 7px 9px;
background: #01142e;
border: 1px solid var(--accent);
color: #ffffff;
font-size: 11px;
}
/* X-Ray Overlay Tags */
.xray-pill {
display: none;
background: #000000;
border: 1px dashed #ffd166;
color: #ffd166;
font-size: 9px;
padding: 1px 5px;
margin-left: 6px;
}
body.xray-on .xray-pill { display: inline-block; }
/* Modal Drawer for [edit nav] */
.modal-backdrop {
display: none;
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.78);
z-index: 60;
align-items: center;
justify-content: center;
padding: 16px;
}
.modal-backdrop.open { display: flex; }
.modal-box {
width: 100%;
max-width: 480px;
background: var(--chassis-bg);
border: 1px solid var(--frame-border);
}
/* ===================== MOBILE (phones only) =====================
Everything miniaturized: narrow tab rail stays on the left, compact outage chips, globe sized to the
screen, no legend. Desktop is unaffected. */
@media (max-width: 760px) {
body { font-size: 10px; }
.sub7-titlebar { font-size: 10px; padding: 1px 6px; }
.sub7-connstrip { padding: 2px 4px; gap: 3px; flex-wrap: wrap; }
.sub7-connstrip .conn-left { gap: 3px; flex-wrap: wrap; }
.sub7-connstrip .conn-label, .sub7-connstrip .conn-box[readonly], #xrayBtn,
.sub7-connstrip .s7-btn[onclick^="saveSnapshot"], .sub7-connstrip .s7-btn[onclick^="restoreSnapshot"],
.sub7-connstrip .s7-btn[onclick^="openNavEditor"], #themeSelect { display: none; }
.s7-btn, .conn-box { font-size: 9px; padding: 1px 4px; }
.clock-box { font-size: 9px; }
.sub7-workspace { flex-direction: row; padding: 3px; gap: 3px; }
.sub7-sidebar { width: 58px; gap: 2px; }
.nav-item { font-size: 8px; padding: 4px 3px; line-height: 1.1; white-space: normal; word-break: break-word; }
.nav-item > :last-child { display: none; }
.sidebar-telemetry-box { display: none; }
.sub7-content, .sub7-main, main { font-size: 10px; }
.card { padding: 5px 6px; }
.card-head { font-size: 9px; }
.grid-6 { grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 4px; }
.grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); gap: 5px; }
h1, h2, h3 { font-size: 11px; }
/* globe: square-ish, fits the phone */
.overview-split .canvas-wrap, .canvas-wrap { height: min(88vw, 62vh) !important; }
.globe-hud-bar { flex-wrap: wrap; gap: 2px; }
.globe-hud-bar .s7-btn { font-size: 8px; padding: 1px 3px; }
.attack-legend, .globe-resizer, .globe-resizer-x, .globe-resizer-corner { display: none !important; }
.threat-panel { font-size: 9px; }
.threat-list, .overview-left .threat-list { height: 78px; max-height: 78px; }
.threat-meta { display: none; }
/* outage telemetry: icon + state only */
#outageTelemetryGrid.outage-compact { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)) !important; gap: 3px !important; }
#outageTelemetryGrid.outage-compact .oc-label { display: none; }
#outageTelemetryGrid.outage-compact .outage-card .tag { font-size: 7px; padding: 0 3px; }
.data-credits { font-size: 6px; }
/* miniaturize all content text on phones; keep a little hierarchy */
#mainViewport { font-size: 9px; }
#mainViewport :is(div, span, td, th, a, strong, p, label, li, h1, h2, h3, h4, input, select, textarea, button) { font-size: inherit !important; line-height: 1.3; }
#mainViewport :is(h1, h2, h3, .card-head, .threat-head strong) { font-size: 10px !important; }
#mainViewport .tag, #mainViewport .xray-pill { font-size: 7px !important; padding: 0 3px; }
#mainViewport table td, #mainViewport table th { padding: 2px 3px !important; }
#mainViewport .threat-foot { display: none; }
.sub7-bottom-cta { font-size: 9px; padding: 4px; }
}
</style>
</head>
<body>
<div class="sub7-window">
<!-- TOP TITLE BAR -->
<div class="sub7-titlebar">
<div class="win-glyphs">
<span>»</span>
<span id="titleVersionBadge">[v.2.17.1]</span>
</div>
<div id="titleCenterText">H@N</div>
<div class="win-glyphs">
<span id="titleIp" title="Your public IP address (shown only to you, not logged)">ip</span>
<span>X</span>
</div>
</div>
<!-- METALLIC CONNECTION STRIP -->
<div class="sub7-connstrip">
<div class="conn-left">
<div class="h7-badge" title="HACKATNIGHT"><svg viewBox="0 0 24 24" width="16" height="16" aria-hidden="true"><path d="M12 2 4 5v6c0 5 3.4 9.3 8 11 4.6-1.7 8-6 8-11V5l-8-3z" fill="currentColor"/><path d="M12 5.2 7 7.1v4c0 3.3 2.1 6.3 5 7.6V5.2z" fill="#ffffff" opacity=".35"/></svg></div>
<span class="conn-label">host/ip:</span>
<input class="conn-box" style="width:138px" value="hackatnight.com" readonly />
<span class="conn-label">port:</span>
<input class="conn-box" style="width:52px" value="443" readonly />
<button class="s7-btn" onclick="triggerLiveProbe()">probe</button>
<button class="s7-btn" id="xrayBtn" onclick="toggleXray()" title="Toggle Google Sheet Schema X-Ray">!</button>
<button class="s7-btn" onclick="saveSnapshot()" title="Save local UI state checkpoint">[save]</button>
<button class="s7-btn" onclick="restoreSnapshot()" title="Restore saved checkpoint">[restore]</button>
<button class="s7-btn" onclick="openNavEditor()">[edit nav]</button>
</div>
<div class="conn-right">
<span id="liveClock" class="conn-box clock-box" title="Current time in your time zone">--:--:--.---</span>
<span id="refreshCountdown" class="conn-box clock-box" title="Time until all data on this page refreshes (click to refresh now)" onclick="refreshAllData(true)">SYNC --:--</span>
<span id="netHealthPill" class="conn-box" style="color:var(--accent)">NET: ... LOADING</span>
<select id="themeSelect" class="conn-box" aria-label="Theme Selector">
<option value="SUB7_LEGENDS">theme: sub7 legends</option>
<option value="HACK_MATRIX">theme: hack matrix</option>
<option value="AMBER_CRT">theme: amber crt</option>
<option value="RED_TEAM">theme: red team</option>
</select>
</div>
</div>
<!-- MAIN SPLIT WORKSPACE -->
<div class="sub7-workspace">
<!-- LEFT SIDEBAR -->
<aside class="sub7-sidebar">
<div id="sidebarNav" style="display:flex;flex-direction:column;gap:4px;width:100%"></div>
<div class="sidebar-telemetry-box" id="sidebarBox">
<div><strong>NODE:</strong> HACKATNIGHT_HQ</div>
<div><strong>LOC:</strong> H@N_HQ_FL</div>
<div><strong>OP:</strong> gr33n</div>
<div><strong>BUILD:</strong> <span id="sideVer">v.2.17.1</span></div>
</div>
</aside>
<!-- RIGHT COLUMN: ROYAL BLUE VIEWPORT + BOTTOM ACTION BAR -->
<div class="sub7-right-col">
<div class="sub7-viewport" id="mainViewport">
<!-- 01 // OVERVIEW / STATS (GLOBE FIRST) -->
<section id="view-overview" class="view active">
<!-- PRACTICE INTRO BANNER -->
<div class="banner-box overview-banner" id="overviewBanner">
<div>
<h1>HACKATNIGHT // Private IT Services & Systems Engineering</h1>
<p>Independent infrastructure hardening, private cloud storage, system diagnostics, and custom embedded firmware operated by <strong>gr33n</strong>.</p>
</div>
<div style="display:flex;gap:6px;flex-wrap:wrap">
<button class="s7-btn active-toggle" onclick="switchTab('services')">it services -></button>
<button class="s7-btn" onclick="openSupportTicket()">open ticket</button>
</div>
</div>
<div class="overview-split">
<!-- LEFT COLUMN: 3D ROTATING VISITOR GEO-GLOBE -->
<div class="overview-left">
<div class="globe-panel">
<div class="globe-hud-bar">
<div>
<strong>3D VISITOR & ORBITAL TELEMETRY GLOBE</strong>
<span class="xray-pill">TAB: Visits Log + ECEF Orbitals</span>
</div>
<div class="globe-toggles">
<button class="s7-btn active-toggle" id="btnMode" onclick="toggleGlobeMode()">mode: 3d globe</button>
<button class="s7-btn active-toggle" id="btnPause" onclick="toggleGlobePause()" title="Pause or resume the globe's rotation">⏸ pause</button>
<button class="s7-btn" id="btnSpin" onclick="toggleEarthSpin()">earth: gentle spin</button>
<button class="s7-btn active-toggle" id="btnSats" onclick="toggleSats()">sats: on</button>
<button class="s7-btn active-toggle" id="btnSolar" onclick="toggleSolar()">solar: on</button>
<button class="s7-btn active-toggle" id="btnCables" onclick="toggleCables()" title="Cycle cable layers: all, undersea only, USA fiber only, off">cables: all</button>
<button class="s7-btn active-toggle" id="btnAttacks" onclick="cycleAttackLayer()">attacks: on</button>
<button class="s7-btn active-toggle" id="btnArcs" onclick="cycleArcs()" title="Cycle which arcs are drawn: all, visitor arcs only, attack arcs only, none">arcs: all</button>
<button class="s7-btn" onclick="simulatePing()">+ ping node</button>
</div>
</div>
<div class="canvas-wrap" id="canvasWrap">
<canvas id="globeCanvas" title="Drag to rotate // scroll to zoom // double-click to reset // hover to inspect"></canvas>
<div class="attack-legend" id="attackLegend" aria-label="Globe legend"></div>
<div class="globe-tooltip" id="globeTooltip"></div>
</div>
<div class="globe-resizer" id="globeResizer" title="Drag to resize the globe // double-click to reset"></div>
<div class="globe-resizer-x" id="globeResizerX" title="Drag to resize the globe width // double-click to reset"></div>
<div class="globe-resizer-corner" id="globeResizerCorner" title="Drag to resize // double-click to reset"></div>
</div>
<!-- THREAT INTEL // MULTI-SOURCE FEED (hover or tap an item to locate it on the globe) -->
<div class="threat-panel" id="threatPanel">
<div class="threat-head">
<div>
<strong>THREAT INTEL // MULTI-SOURCE FEED</strong>
<span class="xray-pill" id="threatUpdated">... LOADING</span>
</div>
<div class="threat-filters" id="threatFilters">
<button class="s7-btn active-toggle" data-threat-filter="all">all</button>
</div>
</div>
<div class="threat-list" id="threatList">
<div class="threat-row"><span class="threat-meta">... LOADING</span></div>
</div>
<div class="threat-foot" id="threatFoot">HOVER / TAP: LOCATE ON GLOBE</div>