/* GENERATED by tools/loader/scene-loading.mjs --write: do not edit by hand (check-scene-loading.mjs compares).
   MyBackrooms play loading scene, "the rabbit leads you in". Only transform and opacity are animated (compositor
   thread), so it stays fluid while the main thread builds the 3D world. Linked on MyBackrooms only. */
html[data-portal="backrooms"] #sceneLoading{background:#040302;justify-content:flex-end;padding-bottom:max(7vh,28px)}
html[data-portal="backrooms"] #sceneLoading[data-failed]{justify-content:center}
html[data-portal="backrooms"] #sceneLoading .lbl,html[data-portal="backrooms"] #sceneLoading .load-actions{position:relative;z-index:1}
html[data-portal="backrooms"] #sceneLoading .lbl{font:600 clamp(12px,2.4vmin,19px)/1.4 ui-monospace,"Cascadia Mono",Consolas,"Courier New",monospace;
  letter-spacing:.24em;text-transform:uppercase;color:#e9c83f;text-shadow:0 0 14px rgba(233,200,63,.35),0 1px 0 #000}
html[data-portal="backrooms"] #sceneLoading:not([data-failed]) .lbl{animation:br-sign 4.6s steps(1,end) infinite}
html[data-portal="backrooms"] #sceneLoading[data-failed] .lbl{max-width:36ch;letter-spacing:.06em;text-transform:none}
#sceneLoading .ring.br-stage{position:absolute;inset:0;width:auto;height:auto;border:0;border-radius:0;overflow:hidden;animation:br-in .7s ease-out both}
.br-cam,.br-jolt{position:absolute;inset:0}
.br-cam{animation:br-bob 1.15s ease-in-out infinite}
.br-jolt{animation:br-jolt 7.2s steps(1,end) infinite}
.br-world{position:absolute;width:100vmax;height:100vmax;left:calc(50% - 50vmax);top:calc(50% - 50vmax)}
.br-shell,.br-tear,.br-dip{position:absolute;inset:0}
.br-shell,.br-tear{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000' preserveAspectRatio='none'%3E %3Cdefs%3E %3ClinearGradient id='c' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%235a5238'/%3E%3Cstop offset='.45' stop-color='%2326221a'/%3E%3Cstop offset='1' stop-color='%23060504'/%3E%3C/linearGradient%3E %3ClinearGradient id='l' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%238f7a2b'/%3E%3Cstop offset='.42' stop-color='%23453910'/%3E%3Cstop offset='1' stop-color='%23050402'/%3E%3C/linearGradient%3E %3ClinearGradient id='r' x1='1' y1='0' x2='0' y2='0'%3E%3Cstop offset='0' stop-color='%238f7a2b'/%3E%3Cstop offset='.42' stop-color='%23453910'/%3E%3Cstop offset='1' stop-color='%23050402'/%3E%3C/linearGradient%3E %3ClinearGradient id='f' x1='0' y1='1' x2='0' y2='0'%3E%3Cstop offset='0' stop-color='%2343361a'/%3E%3Cstop offset='.5' stop-color='%231a1409'/%3E%3Cstop offset='1' stop-color='%23040302'/%3E%3C/linearGradient%3E %3C/defs%3E %3Cpath d='M0 0H1000L530 432.4H470Z' fill='url(%23c)'/%3E %3Cpath d='M0 0L470 432.4V492.4L0 1000Z' fill='url(%23l)'/%3E %3Cpath d='M1000 0L530 432.4V492.4L1000 1000Z' fill='url(%23r)'/%3E %3Cpath d='M0 1000H1000L530 492.4H470Z' fill='url(%23f)'/%3E %3Cpath d='M470 432.4H530V492.4H470Z' fill='%23000'/%3E %3Cpath d='M0 0L470 432.4M1000 0L530 432.4' stroke='%23a89660' stroke-opacity='.4' stroke-width='3'/%3E %3Cpath d='M333 0L489.98 432.4M667 0L510.02 432.4' stroke='%23a89660' stroke-opacity='.16' stroke-width='3'/%3E %3Cpath d='M0 1000L470 492.4M1000 1000L530 492.4' stroke='%230b0803' stroke-width='16'/%3E %3Cpath d='M0 965L470 490.3M1000 965L530 490.3' stroke='%231b1505' stroke-opacity='.8' stroke-width='4'/%3E %3C/svg%3E") 0 0/100% 100% no-repeat}
.br-line,.br-lamp,.br-door,.br-pool{position:absolute;animation:br-approach 12s linear infinite;opacity:0}
.br-line{left:0;top:0;width:100vmax;height:.32vmax;transform-origin:50vmax 46vmax;animation-delay:calc(var(--i) * -1s);
  background:linear-gradient(90deg,rgba(176,162,112,0),rgba(176,162,112,.6) 7%,rgba(176,162,112,.6) 93%,rgba(176,162,112,0))}
.br-lamp{left:25vmax;top:-6vmax;width:50vmax;height:20vmax;transform-origin:25vmax 52vmax;
  animation-delay:calc(var(--i) * -3s - 0.5s)}
.br-lamp>span{position:absolute;inset:0;background:radial-gradient(ellipse 50% 56% at 50% 48.4%,rgba(255,236,160,.5),rgba(255,230,140,.16) 40%,rgba(255,230,140,0) 74%)}
.br-lamp>span::before{content:"";position:absolute;left:10.3vmax;top:6.92vmax;width:29.4vmax;height:5.52vmax;
  clip-path:polygon(0 0,100% 0,93.9% 100%,6.1% 100%);background:linear-gradient(#fffbe6,#f6e7a8 60%,#e3cf80)}
.br-lamp.br-bad>span{animation:br-buzz 2.9s steps(1,end) infinite}
.br-pool{left:24vmax;top:89.5vmax;width:52vmax;height:12vmax;transform-origin:26vmax -43.5vmax;
  animation-delay:calc(var(--i) * -3s - 0.5s);
  background:radial-gradient(ellipse 50% 50% at 50% 50%,rgba(255,221,120,.2),rgba(255,221,120,.07) 45%,rgba(255,221,120,0) 72%)}
.br-door{top:30vmax;width:10vmax;height:70vmax}
.br-door-l{left:0;transform-origin:50vmax 16vmax;animation-delay:-2.2s;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 700' preserveAspectRatio='none'%3E %3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%23020201'/%3E%3Cstop offset='.78' stop-color='%23110e05'/%3E%3Cstop offset='1' stop-color='%235a4916'/%3E%3C/linearGradient%3E%3C/defs%3E %3Cpath d='M0 0L100 32V592L0 700Z' fill='url(%23g)'/%3E%3Cpath d='M0 0L100 32V592' fill='none' stroke='%239b8534' stroke-opacity='.55' stroke-width='3'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat}
.br-door-r{left:90vmax;transform-origin:-40vmax 16vmax;animation-delay:-8.2s;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 700' preserveAspectRatio='none'%3E %3Cdefs%3E%3ClinearGradient id='g' x1='1' y1='0' x2='0' y2='0'%3E%3Cstop offset='0' stop-color='%23020201'/%3E%3Cstop offset='.78' stop-color='%23110e05'/%3E%3Cstop offset='1' stop-color='%235a4916'/%3E%3C/linearGradient%3E%3C/defs%3E %3Cpath d='M100 0L0 32V592L100 700Z' fill='url(%23g)'/%3E%3Cpath d='M100 0L0 32V592' fill='none' stroke='%239b8534' stroke-opacity='.55' stroke-width='3'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat}
.br-tear{opacity:0}
.br-tear-1{clip-path:inset(40% 0 55% 0);animation:br-tear-1 7.2s steps(1,end) infinite}
.br-tear-2{clip-path:inset(59% 0 34% 0);animation:br-tear-2 7.2s steps(1,end) infinite}
/* The dark swallowing the far end: only the fog's own ellipse around VP is a layer, not the whole square. */
.br-fog{position:absolute;left:21%;top:20%;width:58%;height:52%;
  background:radial-gradient(ellipse 50% 50% at 50% 50%,#000 0%,rgba(0,0,0,.96) 20%,rgba(0,0,0,.72) 45%,rgba(0,0,0,.3) 72%,rgba(0,0,0,0) 100%)}
.br-dip{background:#000;opacity:0;animation:br-dip 7.2s steps(1,end) infinite}
.br-run{--br-strip:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 240'%3E%3Cpath d='M36.6 221.6a5.4 5.3 0 1 1 10.7 0a5.4 5.3 0 1 1 -10.7 0ZM52.7 221.6a5.4 5.3 0 1 1 10.7 0a5.4 5.3 0 1 1 -10.7 0ZM36 95.7C44 90.7 56 90.7 64 95.7C65.5 110.7 62 125.4 60 145.4C54 149.4 46 149.4 40 145.4C38 125.4 34.5 110.7 36 95.7ZM37.6 62.9a12.4 15 0 1 1 24.8 0a12.4 15 0 1 1 -24.8 0ZM136.4 206.8a5.9 8.2 0 1 1 11.8 0a5.9 8.2 0 1 1 -11.8 0ZM153.5 228.4a5 3.2 0 1 1 10 0a5 3.2 0 1 1 -10 0ZM136.5 96.8C144.5 91.8 156.5 91.8 164.5 96.8C166 111.8 162.9 126.7 160.9 146.7C154.9 150.7 146.9 150.7 140.9 146.7C138.9 126.7 135 111.8 136.5 96.8ZM137.9 64a12.4 15 0 1 1 24.8 0a12.4 15 0 1 1 -24.8 0ZM236.3 197.7a6.3 10.4 0 1 1 12.5 0a6.3 10.4 0 1 1 -12.5 0ZM254.2 228.4a5 3.2 0 1 1 10 0a5 3.2 0 1 1 -10 0ZM236.9 99.2C244.9 94.2 256.9 94.2 264.9 99.2C266.4 114.2 263.6 129.3 261.6 149.3C255.6 153.3 247.6 153.3 241.6 149.3C239.6 129.3 235.4 114.2 236.9 99.2ZM238.1 66a12.4 15 0 1 1 24.8 0a12.4 15 0 1 1 -24.8 0ZM336.2 194.7a6.4 11.2 0 1 1 12.8 0a6.4 11.2 0 1 1 -12.8 0ZM354.4 228.4a5 3.2 0 1 1 10 0a5 3.2 0 1 1 -10 0ZM337 100.3C345 95.3 357 95.3 365 100.3C366.5 115.3 363.8 130.6 361.8 150.6C355.8 154.6 347.8 154.6 341.8 150.6C339.8 130.6 335.5 115.3 337 100.3ZM338.1 67.1a12.4 15 0 1 1 24.8 0a12.4 15 0 1 1 -24.8 0ZM436.3 197.7a6.3 10.4 0 1 1 12.5 0a6.3 10.4 0 1 1 -12.5 0ZM454.2 228.4a5 3.2 0 1 1 10 0a5 3.2 0 1 1 -10 0ZM436.9 99.2C444.9 94.2 456.9 94.2 464.9 99.2C466.4 114.2 463.6 129.3 461.6 149.3C455.6 153.3 447.6 153.3 441.6 149.3C439.6 129.3 435.4 114.2 436.9 99.2ZM438.1 66a12.4 15 0 1 1 24.8 0a12.4 15 0 1 1 -24.8 0ZM536.4 206.8a5.9 8.2 0 1 1 11.8 0a5.9 8.2 0 1 1 -11.8 0ZM553.5 228.4a5 3.2 0 1 1 10 0a5 3.2 0 1 1 -10 0ZM536.5 96.8C544.5 91.8 556.5 91.8 564.5 96.8C566 111.8 562.9 126.7 560.9 146.7C554.9 150.7 546.9 150.7 540.9 146.7C538.9 126.7 535 111.8 536.5 96.8ZM537.9 64a12.4 15 0 1 1 24.8 0a12.4 15 0 1 1 -24.8 0ZM636.6 221.6a5.4 5.3 0 1 1 10.7 0a5.4 5.3 0 1 1 -10.7 0ZM652.7 221.6a5.4 5.3 0 1 1 10.7 0a5.4 5.3 0 1 1 -10.7 0ZM636 95.7C644 90.7 656 90.7 664 95.7C665.5 110.7 662 125.4 660 145.4C654 149.4 646 149.4 640 145.4C638 125.4 634.5 110.7 636 95.7ZM637.6 62.9a12.4 15 0 1 1 24.8 0a12.4 15 0 1 1 -24.8 0ZM736.5 228.4a5 3.2 0 1 1 10 0a5 3.2 0 1 1 -10 0ZM751.8 206.8a5.9 8.2 0 1 1 11.8 0a5.9 8.2 0 1 1 -11.8 0ZM735.5 96.8C743.5 91.8 755.5 91.8 763.5 96.8C765 111.8 761.1 126.7 759.1 146.7C753.1 150.7 745.1 150.7 739.1 146.7C737.1 126.7 734 111.8 735.5 96.8ZM737.3 64a12.4 15 0 1 1 24.8 0a12.4 15 0 1 1 -24.8 0ZM835.8 228.4a5 3.2 0 1 1 10 0a5 3.2 0 1 1 -10 0ZM851.2 197.7a6.3 10.4 0 1 1 12.5 0a6.3 10.4 0 1 1 -12.5 0ZM835.1 99.2C843.1 94.2 855.1 94.2 863.1 99.2C864.6 114.2 860.4 129.3 858.4 149.3C852.4 153.3 844.4 153.3 838.4 149.3C836.4 129.3 833.6 114.2 835.1 99.2ZM837.1 66a12.4 15 0 1 1 24.8 0a12.4 15 0 1 1 -24.8 0ZM935.6 228.4a5 3.2 0 1 1 10 0a5 3.2 0 1 1 -10 0ZM951 194.7a6.4 11.2 0 1 1 12.8 0a6.4 11.2 0 1 1 -12.8 0ZM935 100.3C943 95.3 955 95.3 963 100.3C964.5 115.3 960.2 130.6 958.2 150.6C952.2 154.6 944.2 154.6 938.2 150.6C936.2 130.6 933.5 115.3 935 100.3ZM937.1 67.1a12.4 15 0 1 1 24.8 0a12.4 15 0 1 1 -24.8 0ZM1035.8 228.4a5 3.2 0 1 1 10 0a5 3.2 0 1 1 -10 0ZM1051.2 197.7a6.3 10.4 0 1 1 12.5 0a6.3 10.4 0 1 1 -12.5 0ZM1035.1 99.2C1043.1 94.2 1055.1 94.2 1063.1 99.2C1064.6 114.2 1060.4 129.3 1058.4 149.3C1052.4 153.3 1044.4 153.3 1038.4 149.3C1036.4 129.3 1033.6 114.2 1035.1 99.2ZM1037.1 66a12.4 15 0 1 1 24.8 0a12.4 15 0 1 1 -24.8 0ZM1136.5 228.4a5 3.2 0 1 1 10 0a5 3.2 0 1 1 -10 0ZM1151.8 206.8a5.9 8.2 0 1 1 11.8 0a5.9 8.2 0 1 1 -11.8 0ZM1135.5 96.8C1143.5 91.8 1155.5 91.8 1163.5 96.8C1165 111.8 1161.1 126.7 1159.1 146.7C1153.1 150.7 1145.1 150.7 1139.1 146.7C1137.1 126.7 1134 111.8 1135.5 96.8ZM1137.3 64a12.4 15 0 1 1 24.8 0a12.4 15 0 1 1 -24.8 0Z'/%3E%3Cg fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke-width='9.4' d='M43.4 142.4L41.6 182.7M56.6 142.4L58.4 182.7M144.3 143.7L141.6 178.8M157.5 143.7L158.7 187.7M245 146.3L241.6 177.6M258.2 146.3L259.4 190.3M345.2 147.6L341.6 177.5M358.4 147.6L359.6 191.6M445 146.3L441.6 177.6M458.2 146.3L459.4 190.3M544.3 143.7L541.6 178.8M557.5 143.7L558.7 187.7M643.4 142.4L641.6 182.7M656.6 142.4L658.4 182.7M742.5 143.7L741.3 187.7M755.7 143.7L758.4 178.8M841.8 146.3L840.6 190.3M855 146.3L858.4 177.6M941.6 147.6L940.4 191.6M954.8 147.6L958.4 177.5M1041.8 146.3L1040.6 190.3M1055 146.3L1058.4 177.6M1142.5 143.7L1141.3 187.7M1155.7 143.7L1158.4 178.8'/%3E%3Cpath stroke-width='6.2' d='M41.6 182.7L42.6 217.6M58.4 182.7L57.4 217.6M141.6 178.8L142.9 200.7M158.7 187.7L157.9 226M241.6 177.6L243.1 189.9M259.4 190.3L258.6 226M341.6 177.5L343.2 186.3M359.6 191.6L358.8 226M441.6 177.6L443.1 189.9M459.4 190.3L458.6 226M541.6 178.8L542.9 200.7M558.7 187.7L557.9 226M641.6 182.7L642.6 217.6M658.4 182.7L657.4 217.6M741.3 187.7L742.1 226M758.4 178.8L757.1 200.7M840.6 190.3L841.4 226M858.4 177.6L856.9 189.9M940.4 191.6L941.2 226M958.4 177.5L956.8 186.3M1040.6 190.3L1041.4 226M1058.4 177.6L1056.9 189.9M1141.3 187.7L1142.1 226M1158.4 178.8L1157.1 200.7'/%3E%3Cpath stroke-width='5.8' d='M36.5 97.7L33.3 128.7M63.5 97.7L66.7 128.7M137 98.8L133 133.2M164 98.8L166.4 126.4M237.4 101.2L232.8 138.1M264.4 101.2L266.2 126.3M337.5 102.3L332.7 140.2M364.5 102.3L366.1 126.5M437.4 101.2L432.8 138.1M464.4 101.2L466.2 126.3M537 98.8L533 133.2M564 98.8L566.4 126.4M636.5 97.7L633.3 128.7M663.5 97.7L666.7 128.7M736 98.8L733.6 126.4M763 98.8L767 133.2M835.6 101.2L833.8 126.3M862.6 101.2L867.2 138.1M935.5 102.3L933.9 126.5M962.5 102.3L967.3 140.2M1035.6 101.2L1033.8 126.3M1062.6 101.2L1067.2 138.1M1136 98.8L1133.6 126.4M1163 98.8L1167 133.2'/%3E%3Cpath stroke-width='3.8' d='M33.3 128.7L31.1 166.7M66.7 128.7L68.9 166.7M133 133.2L129.4 178.1M166.4 126.4L167.2 157.6M232.8 138.1L228.1 187.9M266.2 126.3L265.9 152.4M332.7 140.2L327.7 191.8M366.1 126.5L365.5 150.8M432.8 138.1L428.1 187.9M466.2 126.3L465.9 152.4M533 133.2L529.4 178.1M566.4 126.4L567.2 157.6M633.3 128.7L631.1 166.7M666.7 128.7L668.9 166.7M733.6 126.4L732.8 157.6M767 133.2L770.6 178.1M833.8 126.3L834.1 152.4M867.2 138.1L871.9 187.9M933.9 126.5L934.5 150.8M967.3 140.2L972.3 191.8M1033.8 126.3L1034.1 152.4M1067.2 138.1L1071.9 187.9M1133.6 126.4L1132.8 157.6M1167 133.2L1170.6 178.1'/%3E%3Cpath stroke-width='1.5' d='M31.1 166.7L34.2 174.1M31.1 166.7L30.6 174.6M31.1 166.7L27.2 173.7M68.9 166.7L72.8 173.7M68.9 166.7L69.4 174.6M68.9 166.7L65.8 174.1M129.4 178.1L132.3 185.5M129.4 178.1L128.8 186.1M129.4 178.1L125.3 185M167.2 157.6L170.9 164.7M167.2 157.6L167.4 165.6M167.2 157.6L163.9 164.9M228.1 187.9L230.9 195.4M228.1 187.9L227.4 195.9M228.1 187.9L224 194.8M265.9 152.4L269.4 159.6M265.9 152.4L265.9 160.4M265.9 152.4L262.4 159.6M327.7 191.8L330.5 199.3M327.7 191.8L326.9 199.8M327.7 191.8L323.5 198.7M365.5 150.8L368.8 158.1M365.5 150.8L365.3 158.8M365.5 150.8L361.8 158M428.1 187.9L430.9 195.4M428.1 187.9L427.4 195.9M428.1 187.9L424 194.8M465.9 152.4L469.4 159.6M465.9 152.4L465.9 160.4M465.9 152.4L462.4 159.6M529.4 178.1L532.3 185.5M529.4 178.1L528.8 186.1M529.4 178.1L525.3 185M567.2 157.6L570.9 164.7M567.2 157.6L567.4 165.6M567.2 157.6L563.9 164.9M631.1 166.7L634.2 174.1M631.1 166.7L630.6 174.6M631.1 166.7L627.2 173.7M668.9 166.7L672.8 173.7M668.9 166.7L669.4 174.6M668.9 166.7L665.8 174.1M732.8 157.6L736.1 164.9M732.8 157.6L732.6 165.6M732.8 157.6L729.1 164.7M770.6 178.1L774.7 185M770.6 178.1L771.2 186.1M770.6 178.1L767.7 185.5M834.1 152.4L837.6 159.6M834.1 152.4L834.1 160.4M834.1 152.4L830.6 159.6M871.9 187.9L876 194.8M871.9 187.9L872.6 195.9M871.9 187.9L869.1 195.4M934.5 150.8L938.2 158M934.5 150.8L934.7 158.8M934.5 150.8L931.2 158.1M972.3 191.8L976.5 198.7M972.3 191.8L973.1 199.8M972.3 191.8L969.5 199.3M1034.1 152.4L1037.6 159.6M1034.1 152.4L1034.1 160.4M1034.1 152.4L1030.6 159.6M1071.9 187.9L1076 194.8M1071.9 187.9L1072.6 195.9M1071.9 187.9L1069.1 195.4M1132.8 157.6L1136.1 164.9M1132.8 157.6L1132.6 165.6M1132.8 157.6L1129.1 164.7M1170.6 178.1L1174.7 185M1170.6 178.1L1171.2 186.1M1170.6 178.1L1167.7 185.5'/%3E%3Cpath stroke-width='6.2' d='M50 92.7L50 74.9M150.5 93.8L150.3 76M250.9 96.2L250.5 78M351 97.3L350.5 79.1M450.9 96.2L450.5 78M550.5 93.8L550.3 76M650 92.7L650 74.9M749.5 93.8L749.7 76M849.1 96.2L849.5 78M949 97.3L949.5 79.1M1049.1 96.2L1049.5 78M1149.5 93.8L1149.7 76'/%3E%3Cpath stroke-width='5.6' d='M45 51.9L43.8 25.9M55 51.9L59.4 32.4M145.3 53L144 27M155.3 53L159.5 33.4M245.5 55L242.2 29.2M255.5 55L258.5 35.3M345.5 56.1L340.4 30.6M355.5 56.1L357.4 36.2M445.5 55L440.4 29.5M455.5 55L457.4 35.1M545.3 53L542.2 27.1M555.3 53L558.5 33.2M645 51.9L643.8 25.9M655 51.9L659.4 32.4M744.7 53L743.5 27M754.7 53L759 33.4M844.5 55L841.2 29.2M854.5 55L857.6 35.3M944.5 56.1L939.3 30.6M954.5 56.1L956.4 36.2M1044.5 55L1039.5 29.5M1054.5 55L1056.5 35.1M1144.7 53L1141.7 27.1M1154.7 53L1157.9 33.2'/%3E%3Cpath stroke-width='3.4' d='M43.8 25.9L43.1 10M59.4 32.4L76.9 39.8M144 27L143.2 11M159.5 33.4L177.1 40.7M242.2 29.2L240.2 13.4M258.5 35.3L277 39.7M340.4 30.6L337.2 14.9M357.4 36.2L376.4 37.9M440.4 29.5L437.3 13.8M457.4 35.1L476.3 37M542.2 27.1L540.3 11.2M558.5 33.2L576.9 38M643.8 25.9L643.1 10M659.4 32.4L676.9 39.8M743.5 27L742.7 11M759 33.4L776.6 40.7M841.2 29.2L839.2 13.4M857.6 35.3L876.1 39.7M939.3 30.6L936.1 14.9M956.4 36.2L975.3 37.9M1039.5 29.5L1036.4 13.8M1056.5 35.1L1075.4 37M1141.7 27.1L1139.8 11.2M1157.9 33.2L1176.3 38'/%3E%3C/g%3E%3C/svg%3E");--br-look:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 240'%3E%3Cpath d='M36.2 195.8a6.3 10.9 0 1 1 12.7 0a6.3 10.9 0 1 1 -12.7 0ZM54.3 228.4a5 3.2 0 1 1 10 0a5 3.2 0 1 1 -10 0ZM36.9 99.9C44.9 94.9 56.9 94.9 64.9 99.9C66.4 114.9 63.7 130.1 61.7 150.1C55.7 154.1 47.7 154.1 41.7 150.1C39.7 130.1 35.4 114.9 36.9 99.9ZM38.1 66.7a12.4 15 0 1 1 24.8 0a12.4 15 0 1 1 -24.8 0ZM42.5 64.5a3.4 4.4 0 1 0 6.8 0a3.4 4.4 0 1 0 -6.8 0ZM52.1 67.6a3.9 5 0 1 0 7.8 0a3.9 5 0 1 0 -7.8 0ZM47.3 73.5l1.4 2.4l1.4-2.4Z'/%3E%3Cg fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke-width='9.4' d='M45.1 147.1L41.6 177.5M58.3 147.1L59.5 191.1'/%3E%3Cpath stroke-width='6.2' d='M41.6 177.5L43.2 187.6M59.5 191.1L58.7 226'/%3E%3Cpath stroke-width='5.8' d='M37.4 101.9L32.7 139.4M64.4 101.9L66.1 126.4'/%3E%3Cpath stroke-width='3.8' d='M32.7 139.4L27.9 190.4M66.1 126.4L65.7 151.4'/%3E%3Cpath stroke-width='1.5' d='M27.9 190.4L30.6 197.9M27.9 190.4L27.1 198.4M27.9 190.4L23.7 197.2M65.7 151.4L69 158.7M65.7 151.4L65.5 159.4M65.7 151.4L62 158.5'/%3E%3Cpath stroke-width='6.2' d='M50.9 96.9L50.5 78.7'/%3E%3Cpath stroke-width='5.6' d='M48.3 54.8L49.3 28.8M58 57.2L64.6 38.3'/%3E%3Cpath stroke-width='3.4' d='M49.3 28.8L49.8 12.8M64.6 38.3L82.6 44.2'/%3E%3C/g%3E%3C/svg%3E");position:absolute;left:45.28vmax;top:42.76vmax;width:9.45vmax;height:22.68vmax;
  transform-origin:4.72vmax 3.24vmax;animation:br-drift 7.2s ease-in-out infinite}
.br-runj,.br-win,.br-look,.br-g1,.br-g2{position:absolute;inset:0}
.br-runj{animation:br-runj 7.2s steps(1,end) infinite}
.br-win{overflow:hidden}
.br-strip{position:absolute;left:0;top:0;width:1200%;height:100%;animation:br-cycle 0.545s steps(12) infinite;
  -webkit-mask:var(--br-strip) 0 0/100% 100% no-repeat;mask:var(--br-strip) 0 0/100% 100% no-repeat}
.br-main .br-strip,.br-look{background:radial-gradient(ellipse 60% 26% at 48% 24%,rgba(255,240,176,.45),rgba(255,240,176,0) 70%) 0 0/8.3333% 100% repeat-x,
  linear-gradient(90deg,rgba(0,0,0,.3),rgba(0,0,0,0) 36%,rgba(0,0,0,0) 64%,rgba(0,0,0,.36)) 0 0/8.3333% 100% repeat-x,
  linear-gradient(#d4b243,#a98528 34%,#5a4712 68%,#171203)}
.br-look{background-size:100% 100%,100% 100%,100% 100%;-webkit-mask:var(--br-look) 0 0/100% 100% no-repeat;mask:var(--br-look) 0 0/100% 100% no-repeat;
  opacity:0;animation:br-look 7.2s steps(1,end) infinite}
.br-main{animation:br-main 7.2s steps(1,end) infinite}
/* The colour-split ghosts are one frame each: the same strip mask sized to show its first frame, so they add no art. */
.br-g1,.br-g2{opacity:0;-webkit-mask:var(--br-strip) 0 0/1200% 100% no-repeat;mask:var(--br-strip) 0 0/1200% 100% no-repeat}
.br-g1{background:#ff2a55;animation:br-gw-r 7.2s steps(1,end) infinite}
.br-g2{background:#27e3ff;animation:br-gw-c 7.2s steps(1,end) infinite}
.br-bars{position:absolute;left:0;top:0;width:100vmax;height:1.1vmax;opacity:0;animation:br-bars 7.2s steps(1,end) infinite;
  background:linear-gradient(90deg,rgba(39,227,255,0),rgba(39,227,255,.4) 18%,rgba(255,255,255,.28) 45%,rgba(255,42,85,.38) 70%,rgba(255,42,85,0))}
/* Grain, scanlines and vignette share one static layer. */
.br-vig{position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .16 -.045'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E") 0 0/180px 180px,repeating-linear-gradient(0deg,rgba(0,0,0,.2) 0 1px,rgba(0,0,0,0) 1px 3px),
  radial-gradient(ellipse 80% 75% at 50% 46%,rgba(0,0,0,0) 52%,rgba(0,0,0,.75) 100%)}
.br-glitch{position:absolute;inset:0;opacity:0;pointer-events:none}
.br-glitch-r{color:#ff3a5e;animation:br-lbl-r 7.2s steps(1,end) infinite}
.br-glitch-c{color:#2fe4ff;animation:br-lbl-c 7.2s steps(1,end) infinite}
@media (prefers-reduced-motion:reduce){
  #sceneLoading .ring.br-stage,html[data-portal="backrooms"] #sceneLoading:not([data-failed]) .lbl,.br-cam,.br-jolt,.br-lamp.br-bad>span,.br-tear-1,.br-tear-2,
  .br-dip,.br-run,.br-runj,.br-strip,.br-look,.br-main,.br-g1,.br-g2,.br-bars,.br-glitch-r,.br-glitch-c{animation:none}
  .br-cam{transform:scale(1.07)}
  .br-line,.br-lamp,.br-door,.br-pool{animation-play-state:paused}
}
@keyframes br-approach{0%{transform:scale(0.06);opacity:0}6%{transform:scale(0.0636);opacity:0.2}12%{transform:scale(0.0677);opacity:0.5}20%{transform:scale(0.074);opacity:0.9}30%{transform:scale(0.0838);opacity:1}40%{transform:scale(0.0966);opacity:1}50%{transform:scale(0.114);opacity:1}60%{transform:scale(0.1391);opacity:1}68%{transform:scale(0.1688);opacity:1}75%{transform:scale(0.2075);opacity:1}81%{transform:scale(0.2583);opacity:1}86%{transform:scale(0.3246);opacity:1}90%{transform:scale(0.4083);opacity:1}93%{transform:scale(0.5062);opacity:1}95%{transform:scale(0.6026);opacity:1}96.5%{transform:scale(0.703);opacity:1}97.7%{transform:scale(0.8111);opacity:1}98.7%{transform:scale(0.9303);opacity:1}99.4%{transform:scale(1.037);opacity:1}100%{transform:scale(1.15);opacity:1}}
@keyframes br-in{from{opacity:0}to{opacity:1}}
@keyframes br-bob{0%{transform:translateY(-.4%) rotate(-.14deg) scale(1.07)}50%{transform:translateY(.4%) rotate(.14deg) scale(1.07)}100%{transform:translateY(-.4%) rotate(-.14deg) scale(1.07)}}
@keyframes br-jolt{0%{transform:none}13.889%{transform:translate(2.2%,0)}14.444%{transform:translate(-1.7%,.5%)}15%{transform:translate(.9%,-.4%)}15.556%{transform:none}47.222%{transform:translate(-1.3%,0)}47.778%{transform:none}77.778%{transform:translate(0,3.5%)}78.333%{transform:translate(-2.2%,6.5%)}78.889%{transform:translate(1.5%,-1.2%)}79.444%{transform:none}100%{transform:none}}
@keyframes br-cycle{from{transform:translateX(0)}to{transform:translateX(-100%)}}
@keyframes br-drift{0%{transform:translate(0,0) scale(1)}30%{transform:translate(-1.4vmax,0) scale(.9)}62%{transform:translate(1.2vmax,0) scale(.95)}78%{transform:translate(.4vmax,0) scale(1.03)}100%{transform:translate(0,0) scale(1)}}
@keyframes br-runj{0%{transform:none}13.889%{transform:translate(2vmax,0)}14.444%{transform:translate(-1.5vmax,.3vmax)}15%{transform:translate(.8vmax,0)}15.556%{transform:none}47.222%{transform:translate(-1.1vmax,0)}48.056%{transform:none}77.778%{transform:translate(.6vmax,0)}78.611%{transform:translate(-.4vmax,0)}79.444%{transform:none}82.778%{transform:translate(1.6vmax,0)}83.611%{transform:none}100%{transform:none}}
@keyframes br-main{0%{opacity:1}77.778%{opacity:0}82.778%{opacity:1}100%{opacity:1}}
@keyframes br-look{0%{opacity:0}77.778%{opacity:1}82.778%{opacity:0}100%{opacity:0}}
@keyframes br-gw-r{0%{opacity:0;transform:none}13.889%{opacity:.6;transform:translateX(-9%)}14.722%{opacity:.45;transform:translateX(7%)}15.556%{opacity:0;transform:none}82.778%{opacity:.6;transform:translateX(10%)}83.611%{opacity:.4;transform:translateX(-6%)}84.444%{opacity:0;transform:none}100%{opacity:0;transform:none}}
@keyframes br-gw-c{0%{opacity:0;transform:none}13.889%{opacity:.55;transform:translateX(8%)}14.722%{opacity:.4;transform:translateX(-7%)}15.556%{opacity:0;transform:none}82.778%{opacity:.55;transform:translateX(-9%)}83.611%{opacity:.4;transform:translateX(6%)}84.444%{opacity:0;transform:none}100%{opacity:0;transform:none}}
@keyframes br-tear-1{0%{opacity:0;transform:none}13.889%{opacity:1;transform:translateX(-4.5%)}14.444%{opacity:1;transform:translateX(3%)}15%{opacity:0;transform:none}47.222%{opacity:1;transform:translateX(2.6%)}48.056%{opacity:0;transform:none}77.778%{opacity:1;transform:translateX(5.5%)}78.889%{opacity:1;transform:translateX(-3%)}79.444%{opacity:0;transform:none}100%{opacity:0;transform:none}}
@keyframes br-tear-2{0%{opacity:0;transform:none}14.444%{opacity:1;transform:translateX(3.8%)}15.278%{opacity:0;transform:none}78.333%{opacity:1;transform:translateX(-6%)}79.444%{opacity:1;transform:translateX(2.4%)}80.278%{opacity:0;transform:none}100%{opacity:0;transform:none}}
@keyframes br-dip{0%{opacity:0}78.056%{opacity:.5}79.444%{opacity:.25}80.556%{opacity:0}100%{opacity:0}}
@keyframes br-bars{0%{opacity:0;transform:translateY(0)}13.889%{opacity:.9;transform:translateY(39vmax)}14.722%{opacity:.7;transform:translateY(62vmax)}15.556%{opacity:0;transform:translateY(62vmax)}47.222%{opacity:.6;transform:translateY(48vmax)}48.056%{opacity:0;transform:translateY(48vmax)}77.778%{opacity:.9;transform:translateY(56vmax)}78.889%{opacity:.8;transform:translateY(34vmax)}80%{opacity:0;transform:translateY(34vmax)}100%{opacity:0;transform:translateY(0)}}
@keyframes br-lbl-r{0%{opacity:0;transform:none}13.889%{opacity:.85;transform:translateX(-.14em)}15%{opacity:.55;transform:translateX(.1em)}15.833%{opacity:0;transform:none}77.778%{opacity:.85;transform:translate(.18em,.04em)}79.444%{opacity:0;transform:none}100%{opacity:0;transform:none}}
@keyframes br-lbl-c{0%{opacity:0;transform:none}13.889%{opacity:.8;transform:translateX(.12em)}15%{opacity:.5;transform:translateX(-.1em)}15.833%{opacity:0;transform:none}77.778%{opacity:.8;transform:translate(-.16em,-.03em)}79.444%{opacity:0;transform:none}100%{opacity:0;transform:none}}
@keyframes br-sign{0%{opacity:1}37%{opacity:.55}38%{opacity:1}39.5%{opacity:.7}40.5%{opacity:1}100%{opacity:1}}
@keyframes br-buzz{0%{opacity:1}31%{opacity:.3}32.5%{opacity:1}34%{opacity:.55}35%{opacity:1}71%{opacity:.2}73.5%{opacity:1}100%{opacity:1}}
