-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
3702 lines (3527 loc) · 165 KB
/
Copy pathindex.html
File metadata and controls
3702 lines (3527 loc) · 165 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="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<meta name="theme-color" content="#b8302a">
<title>LIG · IM · UFRJ — Laboratório (3D)</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Lilita+One&family=Fredoka:wght@600;700&family=Inter:wght@400;500&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
<style>
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
background:
radial-gradient(ellipse at center top, #d94036, #b8302a 60%, #8a1f1a 100%);
background-attachment: fixed;
font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
color: #fff5e8;
display: flex;
flex-direction: column;
align-items: center;
padding: 0 0 80px;
min-height: 100vh;
}
/* Red banner header (background continues onto body) */
header {
width: 100%;
padding: 48px 16px 28px;
margin-bottom: 16px;
position: relative;
overflow: hidden;
}
@media (min-width: 700px) {
header { padding: 64px 24px 36px; margin-bottom: 24px; }
}
/* tiny dots on banner (Papa's-style sprinkles) */
header::before {
content: '';
position: absolute; inset: 0;
background-image:
radial-gradient(circle at 12% 18%, rgba(255,255,255,0.15) 0 4px, transparent 4.5px),
radial-gradient(circle at 86% 30%, rgba(255,255,255,0.12) 0 3px, transparent 3.5px),
radial-gradient(circle at 28% 78%, rgba(255,255,255,0.13) 0 3px, transparent 3.5px),
radial-gradient(circle at 72% 84%, rgba(255,255,255,0.16) 0 4px, transparent 4.5px),
radial-gradient(circle at 50% 12%, rgba(255,255,255,0.10) 0 5px, transparent 5.5px),
radial-gradient(circle at 92% 60%, rgba(255,255,255,0.12) 0 3px, transparent 3.5px),
radial-gradient(circle at 8% 56%, rgba(255,255,255,0.14) 0 3px, transparent 3.5px);
pointer-events: none;
}
.banner-inner {
max-width: 1100px;
margin: 0 auto;
display: flex;
align-items: center;
gap: 40px;
position: relative;
flex-wrap: wrap;
justify-content: center;
}
.logo {
width: 160px;
height: 160px;
flex-shrink: 0;
filter: drop-shadow(0 8px 0 #5a0e0a) drop-shadow(0 14px 26px rgba(0,0,0,0.35));
}
.title-wrap {
text-align: center;
}
.cartoon-title {
width: min(680px, 92vw);
height: auto;
display: block;
margin: 0 auto;
}
.subtitle {
margin-top: 18px;
font-family: 'Fredoka', 'Inter', sans-serif;
font-size: 20px;
font-weight: 600;
color: #fff5e8;
letter-spacing: 0.01em;
line-height: 1.3;
text-shadow: 0 3px 0 rgba(90, 14, 10, 0.9);
padding: 0 8px;
}
@media (min-width: 700px) {
.subtitle { font-size: 32px; margin-top: 22px; text-shadow: 0 4px 0 rgba(90, 14, 10, 0.9); }
}
.meta-banner {
font-family: 'Fredoka', monospace;
font-size: 12px;
font-weight: 600;
letter-spacing: 0.28em;
color: rgba(255, 235, 220, 0.85);
text-align: center;
margin-top: 14px;
}
h1 {
display: none;
}
/* old .subtitle removed in favor of banner subtitle */
.meta { display: none; }
.floor-plan {
width: 100%;
max-width: 1280px;
padding: 0 12px;
position: relative;
}
@media (min-width: 700px) {
.floor-plan { padding: 0 24px; }
}
.room {
width: 100%;
height: auto;
display: block;
box-shadow: 0 30px 60px rgba(60, 20, 15, 0.3);
border-radius: 8px;
overflow: visible;
cursor: grab;
border: 4px solid #fff;
outline: 2px solid #c83a32;
touch-action: none;
}
@media (min-width: 700px) { .room { border-width: 6px; } }
.room:active { cursor: grabbing; }
.legend {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
gap: 14px 24px;
margin: 40px 16px 0;
padding: 20px 22px;
max-width: 1100px;
width: calc(100% - 32px);
font-size: 12px;
color: #6a1818;
font-family: 'Fredoka', monospace;
font-weight: 600;
letter-spacing: 0.02em;
background: #fff5f0;
border: 3px solid #c83a32;
border-radius: 12px;
box-shadow: 0 6px 0 #8a1f1a;
box-sizing: border-box;
}
@media (min-width: 700px) {
.legend { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px 32px; margin-top: 56px; padding: 24px 28px; font-size: 13px; }
}
.legend-item { display: flex; align-items: center; gap: 14px; }
.swatch {
width: 22px; height: 22px;
border-radius: 3px;
border: 1px solid rgba(0,0,0,0.25);
flex-shrink: 0;
}
.meta-strip {
margin-top: 28px;
display: flex;
gap: 16px 22px;
flex-wrap: wrap;
justify-content: center;
font-family: 'Fredoka', sans-serif;
font-size: 12px;
font-weight: 600;
letter-spacing: 0.08em;
color: #ffffff;
text-transform: uppercase;
text-shadow: 0 2px 0 rgba(90, 14, 10, 0.8);
padding: 0 16px;
}
@media (min-width: 700px) {
.meta-strip { margin-top: 36px; gap: 28px; font-size: 13px; letter-spacing: 0.10em; padding: 0; }
}
.meta-strip span strong {
color: #fff5e8;
font-weight: 700;
margin-left: 8px;
}
.room { cursor: grab; }
.room:active { cursor: grabbing; }
/* (override on .room above) */
.physics-hint {
margin-top: 18px;
font-family: 'Fredoka', sans-serif;
font-size: 11px;
font-weight: 600;
letter-spacing: 0.04em;
color: #ffffff;
text-transform: uppercase;
text-align: center;
padding: 0 16px;
text-shadow: 0 2px 0 rgba(90, 14, 10, 0.8);
line-height: 1.6;
}
@media (min-width: 700px) {
.physics-hint { margin-top: 22px; font-size: 13px; padding: 0 24px; }
}
.physics-hint .kbd {
display: inline-block;
border: 2px solid #c83a32;
padding: 2px 8px;
border-radius: 4px;
margin: 0 4px;
background: #fff5f0;
color: #5a0e0a;
box-shadow: 0 2px 0 #8a1f1a;
white-space: nowrap;
}
.chair { will-change: transform; transition: filter 0.4s; }
.chair.tipped { filter: drop-shadow(0 10px 14px rgba(0,0,0,0.45)); }
#fake-cursor {
pointer-events: none;
transition: opacity 0.2s;
}
/* ============ GAME UI ============ */
#score-hud {
position: fixed; top: 18px; right: 18px;
z-index: 50;
background: linear-gradient(135deg, #fff5e8 0%, #f5e0c0 100%);
border: 3px solid #5a0e0a;
border-radius: 14px;
padding: 10px 18px 12px;
box-shadow: 0 6px 0 #5a0e0a, 0 12px 24px rgba(0,0,0,0.35);
min-width: 150px;
text-align: center;
font-family: 'Lilita One', 'Fredoka', sans-serif;
user-select: none;
}
.hud-label {
font-size: 11px; letter-spacing: 0.20em;
color: #5a0e0a; opacity: 0.75;
font-family: 'Fredoka', sans-serif;
font-weight: 700;
}
.hud-num {
font-size: 40px; font-weight: 400;
color: #c83a32;
line-height: 1; padding: 2px 0 4px;
text-shadow: 0 3px 0 rgba(90, 14, 10, 0.25);
transition: transform 0.2s;
}
.hud-num.bump { transform: scale(1.18); }
.hud-toast {
margin-top: 2px;
font-size: 12px;
font-family: 'Fredoka', sans-serif;
font-weight: 700;
color: #c83a32;
letter-spacing: 0.06em;
text-transform: uppercase;
height: 18px;
transition: opacity 0.35s;
opacity: 0;
}
.hud-toast.show { opacity: 1; }
#controls-hint {
position: fixed; bottom: 18px; left: 18px;
z-index: 50;
background: rgba(40, 16, 12, 0.88);
color: #fff5e8;
border: 2px solid #c83a32;
border-radius: 10px;
padding: 10px 14px;
font-family: 'Fredoka', sans-serif;
font-size: 11px;
letter-spacing: 0.04em;
display: flex; flex-direction: column;
gap: 5px;
box-shadow: 0 4px 0 #5a0e0a;
max-width: 240px;
}
#controls-hint .kbd {
display: inline-block;
padding: 1px 6px;
background: #fff5f0;
color: #5a0e0a;
border-radius: 3px;
font-weight: 700;
margin-right: 6px;
font-size: 10px;
min-width: 24px;
text-align: center;
}
#wb-modal {
position: fixed; inset: 0;
background: rgba(20, 8, 4, 0.78);
z-index: 200;
display: none;
align-items: center; justify-content: center;
padding: 16px;
}
#wb-modal.open { display: flex; }
.wb-frame {
background: #f5f0e6;
border: 8px solid #3a302a;
border-radius: 16px;
padding: 14px;
max-width: 96vw;
box-shadow: 0 16px 40px rgba(0,0,0,0.6);
}
.wb-toolbar {
display: flex; gap: 10px; align-items: center;
margin-bottom: 10px;
flex-wrap: wrap;
}
.wb-title {
font-family: 'Lilita One', sans-serif;
font-size: 20px; color: #5a0e0a;
margin-right: auto;
}
.wb-colors { display: flex; gap: 6px; }
.wb-color {
width: 30px; height: 30px;
border-radius: 50%;
border: 3px solid #3a302a;
cursor: pointer;
outline: none;
padding: 0;
transition: transform 0.15s;
}
.wb-color.active {
transform: scale(1.20);
border-color: #c83a32;
box-shadow: 0 3px 6px rgba(0,0,0,0.4);
}
.wb-action {
background: #c83a32; color: #fff5e8;
border: 2px solid #5a0e0a;
border-radius: 6px; padding: 5px 12px;
font-family: 'Fredoka', sans-serif; font-weight: 600;
cursor: pointer; font-size: 12px;
box-shadow: 0 2px 0 #5a0e0a;
}
.wb-action:hover { background: #d44a40; }
.wb-action:active { transform: translateY(1px); box-shadow: 0 1px 0 #5a0e0a; }
.wb-close {
background: #3a302a !important;
font-size: 20px; padding: 0 12px;
line-height: 1.4;
}
#wb-canvas {
background: #e8f7ee;
border: 4px solid #3a302a;
border-radius: 8px;
display: block;
cursor: crosshair;
touch-action: none;
max-width: 100%;
height: auto;
}
/* Player highlight ring */
.player-ring {
fill: none;
stroke: #f8d448;
stroke-width: 1.5;
stroke-dasharray: 4 3;
opacity: 0.85;
pointer-events: none;
}
</style>
</head>
<body style="background-color: rgb(255, 255, 255)">
<header>
<div class="banner-inner">
<!-- Logo removed per Saito; cartoon title is now the main mark -->
<!-- Cartoon title (Papa's Burgeria-style) -->
<div class="title-wrap">
<svg class="cartoon-title" viewBox="0 0 680 220" xmlns="http://www.w3.org/2000/svg">
<defs>
<linearGradient id="title-fill" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="#ff7a6a"/>
<stop offset="0.5" stop-color="#e83a32"/>
<stop offset="1" stop-color="#a8201a"/>
</linearGradient>
<linearGradient id="title-shine" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="rgba(255,255,255,0.85)"/>
<stop offset="0.45" stop-color="rgba(255,255,255,0.25)"/>
<stop offset="0.5" stop-color="rgba(255,255,255,0)"/>
</linearGradient>
<filter id="title-shadow" x="-10%" y="-10%" width="120%" height="140%">
<feOffset dx="0" dy="7" in="SourceGraphic" result="o"/>
<feGaussianBlur stdDeviation="2" in="o" result="b"/>
<feFlood flood-color="rgba(0,0,0,0.45)" result="c"/>
<feComposite in="c" in2="b" operator="in" result="sh"/>
<feMerge><feMergeNode in="sh"/><feMergeNode in="SourceGraphic"/></feMerge>
</filter>
</defs>
<g filter="url(#title-shadow)">
<!-- LINE 1: LIG IM -->
<g transform="translate(340, 78) rotate(-2)">
<!-- white outer outline -->
<text text-anchor="middle" font-family="Lilita One, Fredoka, sans-serif" font-size="92" fill="none" stroke="#ffffff" stroke-width="18" stroke-linejoin="round" paint-order="stroke">LIG IM</text>
<!-- dark red outline -->
<text text-anchor="middle" font-family="Lilita One, Fredoka, sans-serif" font-size="92" fill="none" stroke="#5a0e0a" stroke-width="10" stroke-linejoin="round" paint-order="stroke">LIG IM</text>
<!-- red fill -->
<text text-anchor="middle" font-family="Lilita One, Fredoka, sans-serif" font-size="92" fill="url(#title-fill)">LIG IM</text>
<!-- top shine -->
<text text-anchor="middle" font-family="Lilita One, Fredoka, sans-serif" font-size="92" fill="url(#title-shine)">LIG IM</text>
</g>
<!-- LINE 2: UFRJ -->
<g transform="translate(340, 168) rotate(1.5)">
<text text-anchor="middle" font-family="Lilita One, Fredoka, sans-serif" font-size="92" fill="none" stroke="#ffffff" stroke-width="18" stroke-linejoin="round" paint-order="stroke">UFRJ</text>
<text text-anchor="middle" font-family="Lilita One, Fredoka, sans-serif" font-size="92" fill="none" stroke="#5a0e0a" stroke-width="10" stroke-linejoin="round" paint-order="stroke">UFRJ</text>
<text text-anchor="middle" font-family="Lilita One, Fredoka, sans-serif" font-size="92" fill="url(#title-fill)">UFRJ</text>
<text text-anchor="middle" font-family="Lilita One, Fredoka, sans-serif" font-size="92" fill="url(#title-shine)">UFRJ</text>
</g>
</g>
</svg>
<div class="subtitle">Organização dos Monitores do<br>Laboratório do Instituto de Matemática</div>
</div>
</div>
</header>
<div class="floor-plan">
<svg class="room" viewBox="0 0 1400 1400" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Planta 3D vista superior do laboratório">
<defs>
<!-- Soft drop shadow filter -->
<filter id="soft-shadow" x="-30%" y="-30%" width="160%" height="160%">
<feGaussianBlur in="SourceAlpha" stdDeviation="2.2"/>
<feOffset dx="0" dy="3"/>
<feComponentTransfer><feFuncA type="linear" slope="0.42"/></feComponentTransfer>
<feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge>
</filter>
<filter id="big-shadow" x="-50%" y="-50%" width="200%" height="200%">
<feGaussianBlur in="SourceAlpha" stdDeviation="6"/>
<feOffset dx="0" dy="6"/>
<feComponentTransfer><feFuncA type="linear" slope="0.32"/></feComponentTransfer>
<feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge>
</filter>
<!-- LIGHT WOOD floor planks -->
<pattern id="wood-floor" patternUnits="userSpaceOnUse" width="320" height="80">
<rect width="320" height="80" fill="#e6c897"/>
<rect width="320" height="80" fill="url(#plank-shade-a)"/>
<!-- plank seam vertical -->
<line x1="0" y1="0" x2="0" y2="80" stroke="#b89568" stroke-width="0.9" opacity="0.7"/>
<line x1="160" y1="0" x2="160" y2="80" stroke="#b89568" stroke-width="0.9" opacity="0.7"/>
<!-- horizontal plank edges -->
<line x1="0" y1="0" x2="320" y2="0" stroke="#a88458" stroke-width="0.7" opacity="0.55"/>
<!-- light inner highlight at top of each plank -->
<line x1="3" y1="2" x2="158" y2="2" stroke="#fce8c2" stroke-width="0.5" opacity="0.7"/>
<line x1="163" y1="2" x2="318" y2="2" stroke="#fce8c2" stroke-width="0.5" opacity="0.7"/>
<!-- wood grain wisps for left plank -->
<path d="M 4 18 Q 80 14, 156 22" stroke="#b89568" stroke-width="0.35" fill="none" opacity="0.45"/>
<path d="M 4 40 Q 80 36, 156 42" stroke="#b89568" stroke-width="0.3" fill="none" opacity="0.4"/>
<path d="M 4 58 Q 80 56, 156 62" stroke="#b89568" stroke-width="0.4" fill="none" opacity="0.5"/>
<path d="M 4 70 Q 80 68, 156 73" stroke="#a88458" stroke-width="0.3" fill="none" opacity="0.4"/>
<!-- wood grain wisps for right plank -->
<path d="M 164 14 Q 240 12, 316 20" stroke="#b89568" stroke-width="0.35" fill="none" opacity="0.45"/>
<path d="M 164 32 Q 240 30, 316 38" stroke="#b89568" stroke-width="0.3" fill="none" opacity="0.4"/>
<path d="M 164 52 Q 240 48, 316 56" stroke="#b89568" stroke-width="0.4" fill="none" opacity="0.5"/>
<path d="M 164 68 Q 240 66, 316 70" stroke="#a88458" stroke-width="0.3" fill="none" opacity="0.4"/>
<!-- tiny knot/eye -->
<ellipse cx="42" cy="46" rx="4" ry="2.5" fill="#a88458" opacity="0.55"/>
<ellipse cx="42" cy="46" rx="2.5" ry="1.4" fill="#7a5a30" opacity="0.7"/>
<ellipse cx="220" cy="28" rx="3" ry="1.8" fill="#a88458" opacity="0.5"/>
<ellipse cx="280" cy="60" rx="3.5" ry="2" fill="#a88458" opacity="0.55"/>
<ellipse cx="280" cy="60" rx="2" ry="1" fill="#7a5a30" opacity="0.7"/>
<ellipse cx="110" cy="20" rx="2.5" ry="1.4" fill="#a88458" opacity="0.5"/>
</pattern>
<linearGradient id="plank-shade-a" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="rgba(255,240,210,0.30)"/>
<stop offset="0.5" stop-color="rgba(0,0,0,0)"/>
<stop offset="1" stop-color="rgba(120,80,40,0.12)"/>
</linearGradient>
<!-- Film grain / noise -->
<!-- Directional light overlay (sun from north-west) -->
<linearGradient id="light-direction" x1="0" y1="0" x2="1" y2="1">
<stop offset="0" stop-color="rgba(255,220,150,0.15)"/>
<stop offset="0.4" stop-color="rgba(255,220,150,0)"/>
<stop offset="1" stop-color="rgba(20,10,5,0.3)"/>
</linearGradient>
<!-- Sunlight band (from window) -->
<linearGradient id="sun-band" x1="0" y1="0" x2="1" y2="0.5">
<stop offset="0" stop-color="rgba(255,210,140,0)"/>
<stop offset="0.4" stop-color="rgba(255,210,140,0.18)"/>
<stop offset="0.6" stop-color="rgba(255,210,140,0.18)"/>
<stop offset="1" stop-color="rgba(255,210,140,0)"/>
</linearGradient>
<!-- Consistent directional shadow filter (light from top-left) -->
<filter id="dir-shadow" x="-30%" y="-30%" width="160%" height="160%">
<feGaussianBlur in="SourceAlpha" stdDeviation="3"/>
<feOffset dx="6" dy="8"/>
<feComponentTransfer><feFuncA type="linear" slope="0.55"/></feComponentTransfer>
<feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge>
</filter>
<filter id="dir-shadow-big" x="-50%" y="-50%" width="200%" height="200%">
<feGaussianBlur in="SourceAlpha" stdDeviation="7"/>
<feOffset dx="10" dy="14"/>
<feComponentTransfer><feFuncA type="linear" slope="0.6"/></feComponentTransfer>
<feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge>
</filter>
<!-- Wall hatching for the alcove -->
<pattern id="wall-hatch" patternUnits="userSpaceOnUse" width="14" height="14" patternTransform="rotate(45)">
<rect width="14" height="14" fill="#3a322a"/>
<line x1="0" y1="0" x2="0" y2="14" stroke="#1a1410" stroke-width="1.4"/>
<line x1="7" y1="0" x2="7" y2="14" stroke="#1a1410" stroke-width="1.4"/>
</pattern>
<!-- Wall top (concrete/dark) -->
<linearGradient id="wall-top" x1="0" y1="0" x2="1" y2="1">
<stop offset="0" stop-color="#1a140e"/>
<stop offset="0.5" stop-color="#0e0a06"/>
<stop offset="1" stop-color="#050302"/>
</linearGradient>
<!-- Whiteboard -->
<linearGradient id="whiteboard-grad" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="#e8f7ee"/>
<stop offset="1" stop-color="#b8dcc4"/>
</linearGradient>
<!-- Projector screen -->
<linearGradient id="screen-grad" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="#ffffff"/>
<stop offset="1" stop-color="#ddd6c4"/>
</linearGradient>
<!-- Office chair seat (DARK BLUE) -->
<radialGradient id="seat-grad" cx="0.3" cy="0.25" r="0.95">
<stop offset="0" stop-color="#7a92bc"/>
<stop offset="0.4" stop-color="#3a5a8a"/>
<stop offset="0.8" stop-color="#152a4e"/>
<stop offset="1" stop-color="#08152e"/>
</radialGradient>
<radialGradient id="seat-back-grad" cx="0.5" cy="0.15" r="0.95">
<stop offset="0" stop-color="#5a78a8"/>
<stop offset="0.4" stop-color="#2a4878"/>
<stop offset="0.85" stop-color="#0a1838"/>
<stop offset="1" stop-color="#040a1c"/>
</radialGradient>
<!-- Chair base/legs (metallic/plastic) -->
<linearGradient id="leg-grad" x1="0" y1="0" x2="1" y2="0">
<stop offset="0" stop-color="#5a554c"/>
<stop offset="0.5" stop-color="#8a8278"/>
<stop offset="1" stop-color="#3a3530"/>
</linearGradient>
<!-- Monitor body (GRAY metallic) -->
<linearGradient id="monitor-body" x1="0" y1="0" x2="1" y2="0">
<stop offset="0" stop-color="#4a4a52"/>
<stop offset="0.5" stop-color="#6a6a72"/>
<stop offset="1" stop-color="#2a2a32"/>
</linearGradient>
<linearGradient id="monitor-back" x1="0" y1="0" x2="1" y2="0">
<stop offset="0" stop-color="#2a2a32"/>
<stop offset="0.5" stop-color="#3a3a42"/>
<stop offset="1" stop-color="#1a1a20"/>
</linearGradient>
<linearGradient id="screen-glow" x1="0" y1="0" x2="1" y2="1">
<stop offset="0" stop-color="#a8c8f8"/>
<stop offset="0.5" stop-color="#5878c8"/>
<stop offset="1" stop-color="#1a3878"/>
</linearGradient>
<!-- Desk top (WHITE laminate) -->
<linearGradient id="desk-top" x1="0" y1="0" x2="1" y2="1">
<stop offset="0" stop-color="#fdfaf2"/>
<stop offset="0.5" stop-color="#ece4d4"/>
<stop offset="1" stop-color="#bcb0a0"/>
</linearGradient>
<linearGradient id="desk-edge" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="rgba(40,60,90,0.0)"/>
<stop offset="1" stop-color="rgba(20,40,70,0.5)"/>
</linearGradient>
<!-- Teacher's table (WHITE) -->
<linearGradient id="teacher-top" x1="0" y1="0" x2="1" y2="1">
<stop offset="0" stop-color="#fdfaf2"/>
<stop offset="0.5" stop-color="#ece4d4"/>
<stop offset="1" stop-color="#a89e8a"/>
</linearGradient>
<!-- Yellow projector -->
<radialGradient id="proj-grad" cx="0.3" cy="0.3" r="0.8">
<stop offset="0" stop-color="#fde88a"/>
<stop offset="0.6" stop-color="#f6d04e"/>
<stop offset="1" stop-color="#a07820"/>
</radialGradient>
<!-- Door wood -->
<linearGradient id="door-grad" x1="0" y1="0" x2="1" y2="0">
<stop offset="0" stop-color="#b08868"/>
<stop offset="0.5" stop-color="#8a6248"/>
<stop offset="1" stop-color="#5a3a24"/>
</linearGradient>
<!-- PC tower -->
<linearGradient id="pc-tower" x1="0" y1="0" x2="1" y2="0">
<stop offset="0" stop-color="#2a262a"/>
<stop offset="0.5" stop-color="#3a363a"/>
<stop offset="1" stop-color="#1a161a"/>
</linearGradient>
<!-- Projector beam -->
<linearGradient id="beam-grad" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="rgba(246,208,78,0.45)"/>
<stop offset="0.6" stop-color="rgba(246,208,78,0.10)"/>
<stop offset="1" stop-color="rgba(246,208,78,0)"/>
</linearGradient>
<!-- ====== OFFICE CHAIR (top-down 3D) ====== -->
<symbol id="office-chair" overflow="visible">
<!-- Floor shadow -->
<ellipse cx="2" cy="4" rx="32" ry="29" fill="rgba(20,10,5,0.28)"/>
<!-- 5-leg star base (going under the chair, partially visible) -->
<g>
<g transform="rotate(18)">
<rect x="-3.5" y="-32" width="7" height="30" fill="url(#leg-grad)" rx="3"/>
<ellipse cx="0" cy="-30" rx="4.5" ry="3.2" fill="#1a1612"/>
<ellipse cx="0" cy="-30" rx="2.5" ry="1.8" fill="#3a3530"/>
</g>
<g transform="rotate(90)">
<rect x="-3.5" y="-32" width="7" height="30" fill="url(#leg-grad)" rx="3"/>
<ellipse cx="0" cy="-30" rx="4.5" ry="3.2" fill="#1a1612"/>
<ellipse cx="0" cy="-30" rx="2.5" ry="1.8" fill="#3a3530"/>
</g>
<g transform="rotate(162)">
<rect x="-3.5" y="-32" width="7" height="30" fill="url(#leg-grad)" rx="3"/>
<ellipse cx="0" cy="-30" rx="4.5" ry="3.2" fill="#1a1612"/>
<ellipse cx="0" cy="-30" rx="2.5" ry="1.8" fill="#3a3530"/>
</g>
<g transform="rotate(234)">
<rect x="-3.5" y="-32" width="7" height="30" fill="url(#leg-grad)" rx="3"/>
<ellipse cx="0" cy="-30" rx="4.5" ry="3.2" fill="#1a1612"/>
<ellipse cx="0" cy="-30" rx="2.5" ry="1.8" fill="#3a3530"/>
</g>
<g transform="rotate(306)">
<rect x="-3.5" y="-32" width="7" height="30" fill="url(#leg-grad)" rx="3"/>
<ellipse cx="0" cy="-30" rx="4.5" ry="3.2" fill="#1a1612"/>
<ellipse cx="0" cy="-30" rx="2.5" ry="1.8" fill="#3a3530"/>
</g>
</g>
<!-- Gas cylinder center -->
<circle r="8" fill="#1a1612" stroke="#000" stroke-width="0.3"/>
<circle r="6" fill="url(#leg-grad)" stroke="#000" stroke-width="0.3"/>
<circle r="3.5" fill="#0a0806"/>
<!-- Seat shadow under-rim -->
<ellipse cx="1" cy="2" rx="22" ry="21" fill="rgba(0,0,0,0.35)"/>
<!-- Seat cushion (raised, padded) -->
<ellipse cx="0" cy="0" rx="22" ry="21" fill="url(#seat-grad)" stroke="#08152e" stroke-width="0.8"/>
<!-- Seat surface highlight -->
<ellipse cx="-4" cy="-5" rx="14" ry="10" fill="rgba(255,255,255,0.22)"/>
<!-- Seat stitch lines -->
<ellipse cx="0" cy="0" rx="17" ry="16" fill="none" stroke="rgba(20,40,25,0.3)" stroke-width="0.4" stroke-dasharray="1.5,1.5"/>
<!-- Backrest (curved arc visible above seat) -->
<g>
<!-- shadow on seat from backrest -->
<path d="M -20 -8 Q -22 -2, -12 0 L 12 0 Q 22 -2, 20 -8 Z" fill="rgba(0,0,0,0.18)"/>
<!-- backrest body (thick curved shape) -->
<path d="M -22 -11 Q -25 -28, -10 -32 Q 0 -34, 10 -32 Q 25 -28, 22 -11 Q 18 -6, 12 -9 Q 0 -14, -12 -9 Q -18 -6, -22 -11 Z"
fill="url(#seat-back-grad)" stroke="#08152e" stroke-width="0.7"/>
<!-- backrest top highlight -->
<path d="M -16 -22 Q -8 -28, 0 -28 Q 8 -28, 16 -22" fill="none" stroke="rgba(255,255,255,0.35)" stroke-width="1.2"/>
<!-- subtle inner stitch -->
<path d="M -16 -14 Q -8 -22, 0 -22 Q 8 -22, 16 -14" fill="none" stroke="rgba(20,40,25,0.35)" stroke-width="0.4" stroke-dasharray="1.2,1.2"/>
</g>
<!-- Armrests (small horizontal protrusions at left & right) -->
<g>
<!-- left armrest -->
<ellipse cx="-21" cy="-4" rx="4" ry="6" fill="#1a1612" opacity="0.45"/>
<ellipse cx="-21" cy="-4" rx="3" ry="5" fill="url(#leg-grad)"/>
<!-- right armrest -->
<ellipse cx="21" cy="-4" rx="4" ry="6" fill="#1a1612" opacity="0.45"/>
<ellipse cx="21" cy="-4" rx="3" ry="5" fill="url(#leg-grad)"/>
</g>
</symbol>
<!-- ====== MONITOR top-down (faces LEFT) ====== -->
<symbol id="monitor-left" overflow="visible">
<!-- shadow on desk -->
<rect x="-28" y="-26" width="32" height="54" fill="rgba(0,0,0,0.25)"/>
<!-- Monitor stand base (oval on desk) -->
<ellipse cx="-44" cy="0" rx="12" ry="14" fill="rgba(0,0,0,0.35)"/>
<ellipse cx="-44" cy="-1" rx="11" ry="13" fill="#2a2a32"/>
<ellipse cx="-44" cy="-2" rx="9" ry="11" fill="url(#monitor-body)"/>
<ellipse cx="-46" cy="-5" rx="4" ry="3" fill="rgba(255,255,255,0.25)"/>
<!-- Stand neck connecting to monitor -->
<rect x="-46" y="-4" width="22" height="8" fill="#1a1a20" stroke="#000" stroke-width="0.4" rx="2"/>
<!-- Monitor back (the part visible from top) -->
<rect x="-22" y="-26" width="22" height="52" fill="url(#monitor-back)" stroke="#0a0a0e" stroke-width="0.8" rx="2"/>
<!-- vents on back -->
<g stroke="#1a1030" stroke-width="0.35" opacity="0.6">
<line x1="-18" y1="-22" x2="-4" y2="-22"/>
<line x1="-18" y1="-19" x2="-4" y2="-19"/>
<line x1="-18" y1="-16" x2="-4" y2="-16"/>
<line x1="-18" y1="-13" x2="-4" y2="-13"/>
<line x1="-18" y1="13" x2="-4" y2="13"/>
<line x1="-18" y1="16" x2="-4" y2="16"/>
<line x1="-18" y1="19" x2="-4" y2="19"/>
<line x1="-18" y1="22" x2="-4" y2="22"/>
</g>
<!-- logo dot -->
<circle cx="-11" cy="0" r="1.4" fill="#d8c8ff" opacity="0.7"/>
<!-- Front bezel + screen edge (peeking out the user-facing side, here LEFT) -->
<rect x="-23" y="-26" width="3" height="52" fill="#1a1010" stroke="#000" stroke-width="0.3"/>
<!-- Top edge of screen visible from top (thin strip) -->
<rect x="-23" y="-26" width="3" height="2" fill="#0a0808"/>
<rect x="-23" y="24" width="3" height="2" fill="#0a0808"/>
<!-- screen highlight (glow at top edge) -->
<rect x="-23" y="-24" width="1.5" height="48" fill="url(#screen-glow)" opacity="0.7"/>
<!-- power LED on back-top -->
<circle cx="-4" cy="-3" r="0.7" fill="#7afe8a"/>
<!-- Cable bundle exiting back -->
<path d="M -3 4 C 4 6, 8 10, 12 16" stroke="#2563eb" stroke-width="1.6" fill="none" stroke-linecap="round"/>
<path d="M -3 7 C 4 9, 8 12, 12 18" stroke="#1d4ed8" stroke-width="1.0" fill="none" stroke-linecap="round" opacity="0.7"/>
<path d="M -3 -4 C 4 -6, 8 -10, 12 -16" stroke="#1a1a1a" stroke-width="1.4" fill="none" stroke-linecap="round" opacity="0.7"/>
</symbol>
<!-- ====== KEYBOARD (top-down realistic) ====== -->
<symbol id="keyboard-v" overflow="visible">
<!-- (vertical orientation: user faces sideways) - simplified for perf -->
<rect x="-11" y="-21" width="24" height="42" fill="rgba(0,0,0,0.2)"/>
<rect x="-11" y="-21" width="22" height="42" fill="#23211d" stroke="#0a0908" stroke-width="0.4" rx="2"/>
<rect x="-10" y="-20" width="20" height="40" fill="#2c2a25" rx="1.5"/>
<!-- key grid pattern: horizontal lines for rows, vertical lines for columns -->
<g stroke="#0a0908" stroke-width="0.4" fill="none" opacity="0.85">
<line x1="-10" y1="-16" x2="10" y2="-16"/>
<line x1="-10" y1="-12" x2="10" y2="-12"/>
<line x1="-10" y1="-8" x2="10" y2="-8"/>
<line x1="-10" y1="-4" x2="10" y2="-4"/>
<line x1="-10" y1="0" x2="10" y2="0"/>
<line x1="-10" y1="4" x2="10" y2="4"/>
<line x1="-10" y1="8" x2="6" y2="8"/>
<line x1="-10" y1="14" x2="10" y2="14"/>
</g>
<g stroke="#0a0908" stroke-width="0.3" fill="none" opacity="0.7">
<line x1="-6" y1="-19" x2="-6" y2="6"/>
<line x1="-2" y1="-19" x2="-2" y2="6"/>
<line x1="2" y1="-19" x2="2" y2="6"/>
<line x1="6" y1="-19" x2="6" y2="6"/>
<line x1="-6" y1="10" x2="-6" y2="18"/>
<line x1="-2" y1="10" x2="-2" y2="18"/>
<line x1="2" y1="10" x2="2" y2="18"/>
<line x1="6" y1="10" x2="6" y2="18"/>
</g>
<!-- a couple of highlighted keys for character -->
<rect x="-3" y="-2" width="6" height="3" fill="#3a3a32" rx="0.4"/>
<rect x="-9" y="6" width="14" height="2.5" fill="#3a3a32" rx="0.4"/>
<!-- subtle top highlight -->
<rect x="-10" y="-20" width="20" height="0.5" fill="rgba(255,255,255,0.08)"/>
</symbol>
<!-- ====== MOUSE (top-down) ====== -->
<symbol id="mouse" overflow="visible">
<!-- shadow -->
<ellipse cx="0.5" cy="1" rx="6.5" ry="9" fill="rgba(0,0,0,0.22)"/>
<!-- mousepad -->
<rect x="-9" y="-12" width="18" height="22" fill="#d8d2c0" stroke="#a89e84" stroke-width="0.4" rx="1.5"/>
<rect x="-8" y="-11" width="16" height="20" fill="#cdc7b3" rx="1"/>
<!-- mouse body -->
<path d="M -5 -8 Q -6 -3, -5 4 Q 0 9, 5 4 Q 6 -3, 5 -8 Q 0 -10, -5 -8 Z"
fill="#3a3a3a" stroke="#0a0a0a" stroke-width="0.5"/>
<!-- highlight -->
<ellipse cx="-2" cy="-4" rx="2" ry="3" fill="rgba(255,255,255,0.25)"/>
<!-- scroll wheel -->
<rect x="-1" y="-4" width="2" height="3" fill="#1a1a1a"/>
<line x1="-1" y1="-4" x2="1" y2="-4" stroke="#5a5a5a" stroke-width="0.3"/>
<!-- cable -->
<path d="M 0 -8 Q 2 -14, 6 -16" stroke="#1a1a1a" stroke-width="0.9" fill="none" stroke-linecap="round"/>
</symbol>
</defs>
<!-- ================= ROOM SHELL ================= -->
<!-- Wall block (entire SVG = wall, will cut out room interior) -->
<rect x="0" y="0" width="1400" height="1400" fill="url(#wall-top)"/>
<!-- Wall inner shadow (subtle line on wall top) -->
<rect x="2" y="2" width="1396" height="1396" fill="none" stroke="#0a0806" stroke-width="3"/>
<!-- Floor area -->
<rect x="38" y="38" width="1324" height="1324" fill="url(#wood-floor)"/>
<!-- Floor ambient occlusion near walls (subtle vignette) -->
<rect x="38" y="38" width="1324" height="1324" fill="none" stroke="rgba(20,10,5,0.35)" stroke-width="14" style="filter:blur(8px)"/>
<g opacity="0.7">
<linearGradient id="ao-n" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="rgba(20,10,5,0.45)"/>
<stop offset="1" stop-color="rgba(20,10,5,0)"/>
</linearGradient>
<linearGradient id="ao-s" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="rgba(20,10,5,0)"/>
<stop offset="1" stop-color="rgba(20,10,5,0.45)"/>
</linearGradient>
<linearGradient id="ao-w" x1="0" y1="0" x2="1" y2="0">
<stop offset="0" stop-color="rgba(20,10,5,0.45)"/>
<stop offset="1" stop-color="rgba(20,10,5,0)"/>
</linearGradient>
<linearGradient id="ao-e" x1="0" y1="0" x2="1" y2="0">
<stop offset="0" stop-color="rgba(20,10,5,0)"/>
<stop offset="1" stop-color="rgba(20,10,5,0.45)"/>
</linearGradient>
<rect x="38" y="38" width="1324" height="36" fill="url(#ao-n)"/>
<rect x="38" y="1326" width="1324" height="36" fill="url(#ao-s)"/>
<rect x="38" y="38" width="36" height="1324" fill="url(#ao-w)"/>
<rect x="1326" y="38" width="36" height="1324" fill="url(#ao-e)"/>
</g>
<!-- ============ SUNLIGHT BAND from window (north wall, golden hour) ============ -->
<g>
<!-- A warm light band streams from the north wall diagonally into the room -->
<polygon points="38,38 1362,38 1362,520 38,720" fill="url(#sun-band)" opacity="0.55"/>
<!-- Window grid shadows on the floor (suggesting a window casts mullion shadows) -->
<g opacity="0.18">
<rect x="280" y="180" width="3" height="320" fill="#0a0805" transform="skewX(-12)"/>
<rect x="380" y="180" width="3" height="320" fill="#0a0805" transform="skewX(-12)"/>
<rect x="480" y="180" width="3" height="320" fill="#0a0805" transform="skewX(-12)"/>
<rect x="900" y="180" width="3" height="320" fill="#0a0805" transform="skewX(-12)"/>
<rect x="1000" y="180" width="3" height="320" fill="#0a0805" transform="skewX(-12)"/>
<rect x="1100" y="180" width="3" height="320" fill="#0a0805" transform="skewX(-12)"/>
</g>
</g>
<!-- ============ FLOOR WEAR / SCUFF MARKS ============ -->
<!-- ============ FLOOR WEAR / SCUFF MARKS (chair circles removed; only general scuffs) ============ -->
<g opacity="0.55">
<!-- subtle aisle wear (where people walk) -->
<path d="M 70 700 Q 700 718, 1330 700" stroke="#a88458" stroke-width="40" fill="none" opacity="0.10"/>
<path d="M 700 70 Q 718 700, 700 1330" stroke="#a88458" stroke-width="30" fill="none" opacity="0.08"/>
<!-- scuff marks scattered -->
<path d="M 200 300 Q 240 305, 280 298" stroke="#7a5a30" stroke-width="0.8" fill="none" opacity="0.5"/>
<path d="M 880 320 Q 920 318, 960 325" stroke="#7a5a30" stroke-width="0.8" fill="none" opacity="0.5"/>
<path d="M 600 1180 Q 640 1175, 680 1180" stroke="#7a5a30" stroke-width="0.8" fill="none" opacity="0.5"/>
<path d="M 1100 1000 Q 1140 998, 1180 1005" stroke="#7a5a30" stroke-width="0.8" fill="none" opacity="0.5"/>
<!-- pen / scratch marks -->
<path d="M 1050 1240 L 1080 1244" stroke="#3a2a18" stroke-width="0.8" opacity="0.7"/>
<path d="M 540 1280 L 575 1275" stroke="#3a2a18" stroke-width="0.6" opacity="0.65"/>
</g>
<!-- Baseboard skirting line along walls -->
<rect x="38" y="38" width="1324" height="1324" fill="none" stroke="#3a2a1c" stroke-width="0.8" opacity="0.6"/>
<rect x="44" y="44" width="1312" height="1312" fill="none" stroke="#5a4632" stroke-width="0.5" opacity="0.4"/>
<!-- Cross-hatched alcove (room not perfectly square) -->
<g>
<rect x="38" y="1090" width="430" height="272" fill="url(#wall-hatch)" stroke="#0a0806" stroke-width="2"/>
<rect x="40" y="1092" width="426" height="268" fill="none" stroke="#0a0806" stroke-width="0.8"/>
<!-- inner shadow toward the room -->
<linearGradient id="alcove-shadow-e" x1="1" y1="0" x2="0" y2="0">
<stop offset="0" stop-color="rgba(20,10,5,0.6)"/>
<stop offset="1" stop-color="rgba(20,10,5,0)"/>
</linearGradient>
<linearGradient id="alcove-shadow-n" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="rgba(20,10,5,0)"/>
<stop offset="1" stop-color="rgba(20,10,5,0.5)"/>
</linearGradient>
<rect x="468" y="1090" width="24" height="272" fill="url(#alcove-shadow-e)" opacity="0.7"/>
<rect x="38" y="1060" width="430" height="30" fill="url(#alcove-shadow-n)" opacity="0.7"/>
</g>
<!-- ================= NORTH WALL FIXTURES ================= -->
<!-- Left whiteboard with frame, shadow inside room -->
<g class="whiteboard" data-board="left" style="cursor: pointer;">
<rect x="170" y="38" width="290" height="20" fill="#3a302a"/>
<rect x="172" y="40" width="286" height="16" fill="url(#whiteboard-grad)" stroke="#2a5a44" stroke-width="0.6"/>
<rect x="175" y="43" width="280" height="11" fill="#ebf6ef" opacity="0.7"/>
<image id="wb-img-left" x="175" y="43" width="280" height="11" preserveAspectRatio="none" pointer-events="none"/>
<text x="280" y="50" font-family="JetBrains Mono, monospace" font-size="6" fill="#3a8a64" opacity="0.75" pointer-events="none">f(x) = ax² + bx + c</text>
<!-- markers tray (lower edge, on inside of wall) -->
<rect x="170" y="58" width="290" height="3" fill="#4a3a2a"/>
<rect x="180" y="59" width="14" height="2" fill="#c0473e"/>
<rect x="200" y="59" width="14" height="2" fill="#3a6cb5"/>
<rect x="220" y="59" width="14" height="2" fill="#3a8a52"/>
<rect x="240" y="59" width="14" height="2" fill="#2a2a2a"/>
<rect x="420" y="59" width="22" height="3" fill="#a09680"/>
<!-- shadow cast into room from wall fixture -->
<rect x="170" y="61" width="290" height="6" fill="rgba(20,10,5,0.4)"/>
</g>
<!-- Projector screen (pulled down) -->
<g>
<rect x="540" y="38" width="320" height="6" fill="#1a1612"/>
<rect x="540" y="44" width="320" height="16" fill="url(#screen-grad)" stroke="#6a5a48" stroke-width="0.6"/>
<line x1="540" y1="60" x2="860" y2="60" stroke="#4a3a28" stroke-width="0.8"/>
<line x1="540" y1="61" x2="860" y2="61" stroke="#7a6a52" stroke-width="0.5"/>
<!-- pull cord -->
<line x1="700" y1="61" x2="700" y2="76" stroke="#3a2a1a" stroke-width="0.5"/>
<circle cx="700" cy="78" r="2.5" fill="#8a7050" stroke="#3a2a1a" stroke-width="0.4"/>
<!-- shadow cast into room -->
<rect x="540" y="60" width="320" height="6" fill="rgba(20,10,5,0.45)"/>
</g>
<!-- Right whiteboard -->
<g class="whiteboard" data-board="right" style="cursor: pointer;">
<rect x="940" y="38" width="290" height="20" fill="#3a302a"/>
<rect x="942" y="40" width="286" height="16" fill="url(#whiteboard-grad)" stroke="#2a5a44" stroke-width="0.6"/>
<rect x="945" y="43" width="280" height="11" fill="#ebf6ef" opacity="0.7"/>
<image id="wb-img-right" x="945" y="43" width="280" height="11" preserveAspectRatio="none" pointer-events="none"/>
<text x="1050" y="50" font-family="JetBrains Mono, monospace" font-size="6" fill="#3a8a64" opacity="0.75" pointer-events="none">∫ e^x dx = e^x + C</text>
<rect x="940" y="58" width="290" height="3" fill="#4a3a2a"/>
<rect x="950" y="59" width="14" height="2" fill="#3a6cb5"/>
<rect x="970" y="59" width="14" height="2" fill="#2a2a2a"/>
<rect x="990" y="59" width="14" height="2" fill="#c0473e"/>
<rect x="1190" y="59" width="22" height="3" fill="#a09680"/>
<rect x="940" y="61" width="290" height="6" fill="rgba(20,10,5,0.4)"/>
</g>
<!-- Wall outlets along walls -->
<g fill="#e8e2d0" stroke="#3a2a1a" stroke-width="0.5">
<rect x="80" y="46" width="9" height="6" rx="0.6"/>
<rect x="500" y="46" width="9" height="6" rx="0.6"/>
<rect x="900" y="46" width="9" height="6" rx="0.6"/>
<rect x="1290" y="46" width="9" height="6" rx="0.6"/>
</g>
<!-- ================= TEACHER ZONE (red table) ================= -->
<g>
<!-- table top -->
<rect x="170" y="100" width="290" height="100" fill="url(#teacher-top)" stroke="#7a7060" stroke-width="1.2" rx="3"/>
<!-- edge highlight (rim) -->
<rect x="172" y="102" width="286" height="96" fill="none" stroke="rgba(255,200,180,0.5)" stroke-width="0.8" rx="2.5"/>
<!-- edge shadow on bottom -->
<rect x="170" y="195" width="290" height="5" fill="rgba(60,20,15,0.4)"/>
</g>
<!-- Laptop on teacher's desk -->
<g transform="translate(220, 150)">
<rect x="-23" y="-16" width="46" height="32" fill="rgba(0,0,0,0.4)"/>
<rect x="-22" y="-15" width="44" height="30" fill="#1a1a1a" stroke="#000" stroke-width="0.5" rx="2"/>
<rect x="-20" y="-13" width="40" height="26" fill="url(#screen-glow)" stroke="#1a3870" stroke-width="0.4"/>
<!-- code-like content -->
<line x1="-18" y1="-9" x2="14" y2="-9" stroke="#a8c8f8" stroke-width="0.4"/>
<line x1="-18" y1="-5" x2="10" y2="-5" stroke="#a8c8f8" stroke-width="0.4"/>
<line x1="-18" y1="-1" x2="16" y2="-1" stroke="#a8c8f8" stroke-width="0.4"/>
<line x1="-18" y1="3" x2="8" y2="3" stroke="#f8c898" stroke-width="0.4"/>
<line x1="-18" y1="7" x2="12" y2="7" stroke="#a8c8f8" stroke-width="0.4"/>
<line x1="-18" y1="11" x2="6" y2="11" stroke="#c8f8a8" stroke-width="0.4"/>
<!-- hinge -->
<rect x="-22" y="14" width="44" height="2" fill="#0a0a0a"/>
<!-- keyboard portion (visible bottom strip - laptop seen partly tilted? for top-down, just dark edge) -->
</g>
<!-- Papers/book on desk -->
<g transform="translate(310, 145)">
<rect x="-20" y="-13" width="40" height="26" fill="rgba(0,0,0,0.25)" transform="rotate(-7)"/>
<rect x="-19" y="-12" width="38" height="24" fill="#fbf2db" stroke="#a89070" stroke-width="0.5" transform="rotate(-7)"/>
<rect x="-17" y="-10" width="34" height="20" fill="#fffaeb" stroke="#a89070" stroke-width="0.3" transform="rotate(-7)"/>
<line x1="-13" y1="-4" x2="12" y2="-4" stroke="#7a6850" stroke-width="0.3" transform="rotate(-7)"/>
<line x1="-13" y1="0" x2="14" y2="0" stroke="#7a6850" stroke-width="0.3" transform="rotate(-7)"/>
<line x1="-13" y1="4" x2="10" y2="4" stroke="#7a6850" stroke-width="0.3" transform="rotate(-7)"/>
<line x1="-13" y1="8" x2="8" y2="8" stroke="#7a6850" stroke-width="0.3" transform="rotate(-7)"/>
</g>
<!-- Coffee mug -->
<g transform="translate(395, 158)">
<ellipse cx="0" cy="2" rx="10" ry="9" fill="rgba(0,0,0,0.3)"/>
<circle r="10" fill="#fbf2db" stroke="#7a6850" stroke-width="0.8"/>
<circle r="9" fill="none" stroke="#a89070" stroke-width="0.4"/>
<circle r="7" fill="#5a3a20" stroke="#2a1a08" stroke-width="0.4"/>
<!-- coffee surface highlight -->
<ellipse cx="-2" cy="-2" rx="3" ry="2" fill="rgba(255,255,255,0.18)"/>
<!-- handle -->
<path d="M 9 0 a 5 5 0 0 1 0 6" fill="none" stroke="#7a6850" stroke-width="1.2"/>
</g>
<!-- Pen cup -->
<g transform="translate(425, 128)">
<ellipse cx="0" cy="1.5" rx="7" ry="6" fill="rgba(0,0,0,0.3)"/>
<circle r="7" fill="#2a2218" stroke="#0a0805" stroke-width="0.5"/>
<circle r="6" fill="#3a3024"/>
<line x1="-2" y1="-4" x2="-3" y2="-10" stroke="#c45048" stroke-width="0.9" stroke-linecap="round"/>
<line x1="1" y1="-4" x2="2" y2="-11" stroke="#3a6cb5" stroke-width="0.9" stroke-linecap="round"/>
<line x1="-3" y1="-3" x2="-5" y2="-8" stroke="#3a8a52" stroke-width="0.9" stroke-linecap="round"/>
<line x1="2" y1="-3" x2="4" y2="-9" stroke="#fde88a" stroke-width="0.9" stroke-linecap="round"/>
</g>
<!-- All chairs live in this group so the physics engine can manage them -->
<g id="chairs">
<!-- Teacher chair (south of teacher table) -->
<g class="chair" data-x="260" data-y="230" data-base-x="260" data-base-y="230" transform="translate(260, 230)">
<use href="#office-chair"/>
</g>
</g>
<!-- ================= PROJECTOR ================= -->
<!-- Projector beam (subtle cone to screen) -->
<path id="projector-beam" d="M 700 245 L 580 60 L 820 60 Z" fill="url(#beam-grad)" opacity="0.7"/>
<g id="projector" class="clickable" transform="translate(700, 250)" style="cursor: pointer;">
<!-- Ceiling mount plate -->
<rect x="-12" y="-12" width="24" height="24" fill="#3a3530" stroke="#1a1612" stroke-width="0.5" rx="2" opacity="0.5"/>
<!-- diamond body -->
<g transform="rotate(45)">
<rect x="-26" y="-26" width="52" height="52" fill="url(#proj-grad)" stroke="#7a5a10" stroke-width="1.4" rx="3"/>
<rect x="-22" y="-22" width="44" height="44" fill="none" stroke="rgba(255,255,200,0.4)" stroke-width="0.8" rx="2"/>
</g>
<!-- lens (recessed, with reflection) -->
<circle r="10" fill="#0a0806"/>
<circle r="9" fill="#1a1410" stroke="#3a2a18" stroke-width="0.5"/>
<circle r="6" fill="#2a1a08"/>
<circle r="3" fill="#5a4020"/>
<circle cx="-1.5" cy="-1.5" r="1.5" fill="#fde88a"/>
<circle cx="-1.5" cy="-1.5" r="0.6" fill="#ffffff"/>
<!-- vent slits -->
<line x1="-22" y1="0" x2="-15" y2="0" stroke="#5a4010" stroke-width="0.6" transform="rotate(-30)"/>