body{font-family:Inter,Segoe UI,Tahoma,Geneva,Verdana,sans-serif;background:url(/assets/background.png) no-repeat 50% fixed;background-size:cover;color:#fff}.header{display:flex;align-items:center;justify-content:space-between;padding:1.2rem 2rem;min-height:64px;background-color:rgba(34,34,34,.7);box-shadow:0 2px 4px rgba(34,34,34,.8);position:fixed;top:0;left:0;width:100vw;z-index:1200;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);text-align:left}@media (max-width:768px){.header{padding:1rem;min-height:60px}.header img{max-height:50px;-o-object-fit:contain;object-fit:contain}}@media (max-width:480px){.header{padding:.75rem .5rem;min-height:56px}.header img{max-height:44px}}.header img{width:100%;display:block}.container{max-width:1600px;width:80%;margin:0 auto;min-height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative}@media (max-width:768px){.container{width:95%;padding:6rem .5rem 3rem}}@media (max-width:480px){.container{width:100%;padding:5rem .25rem 2rem}}.admin-panel{max-width:1600px;width:98%;margin:0 auto 2rem;padding:1.5rem;background:#2d2d2d;border-radius:12px;box-shadow:0 4px 12px rgba(0,0,0,.4);position:relative;z-index:2;border:4px solid #fff}@media (max-width:768px){.admin-panel{width:100%;padding:1rem;border-radius:8px;border:3px solid #fff;margin:0 auto 1.5rem}}@media (max-width:480px){.admin-panel{padding:.75rem;border-radius:6px;border:2px solid #fff;margin:0 auto 1rem}}.admin-panel h1{color:#ffc907;text-align:center;margin-bottom:2rem;font-size:2rem;font-weight:700}@media (max-width:768px){.admin-panel h1{font-size:1.6rem;margin-bottom:1.5rem}}@media (max-width:480px){.admin-panel h1{font-size:1.3rem;margin-bottom:1rem}}.controls{display:flex;align-items:center;gap:1.5rem;margin-bottom:1.5rem;flex-wrap:wrap;justify-content:center}@media (max-width:768px){.controls{gap:1rem;margin-bottom:1rem}}@media (max-width:480px){.controls{flex-direction:column;gap:.75rem;align-items:stretch;margin-bottom:.75rem}}.controls label{font-size:1rem;color:#d2c8b9}#deviceDropdown{padding:.5rem 1rem;border-radius:4px;border:none;background:#222222;color:#ffc907;font-size:1rem;font-weight:500;box-shadow:0 1px 3px rgba(0,0,0,.2);transition:border .2s}@media (max-width:768px){#deviceDropdown{padding:.6rem .9rem;font-size:.95rem;min-height:44px}}@media (max-width:480px){#deviceDropdown{padding:.7rem .8rem;font-size:.9rem;width:100%;min-height:48px}}#deviceDropdown:focus{outline:none;border:2px solid #ffc907}#refreshButton{padding:.5rem 1.2rem;border:none;border-radius:4px;background-color:#ffc907;color:#222222;font-size:1rem;font-weight:600;cursor:pointer;transition:background-color .3s,color .3s;box-shadow:0 2px 4px rgba(34,34,34,.16)}@media (max-width:768px){#refreshButton,#setDefaultValuesBtn,#showAllButton{padding:.6rem 1rem;font-size:.95rem;min-height:44px}}@media (max-width:480px){#refreshButton,#setDefaultValuesBtn,#showAllButton{padding:.7rem .9rem;font-size:.9rem;width:100%;min-height:48px}}#refreshButton:hover{background-color:#d2c8b9;color:#222222}#showAllButton{padding:.5rem 1.2rem;border:none;border-radius:4px;background-color:#ffc907;color:#222222;font-size:1rem;font-weight:600;cursor:pointer;transition:background-color .3s,color .3s;box-shadow:0 2px 4px rgba(34,34,34,.16)}#showAllButton:hover{background-color:#d2c8b9;color:#222222}#setDefaultValuesBtn{padding:.5rem 1.2rem;border:none;border-radius:4px;background-color:#ffc907;color:#222222;font-size:1rem;font-weight:600;cursor:pointer;transition:background-color .3s,color .3s;box-shadow:0 2px 4px rgba(34,34,34,.16)}#setDefaultValuesBtn:hover:not(:disabled){background-color:#d2c8b9;color:#222222}#setDefaultValuesBtn:disabled{background-color:#666;color:#999;cursor:not-allowed}#signOutButton{padding:.5rem 1.2rem;border:none;border-radius:4px;background-color:#ffc907;color:#222222;font-size:1rem;font-weight:600;cursor:pointer;transition:background-color .3s,color .3s;box-shadow:0 2px 4px rgba(34,34,34,.16);position:absolute;top:1.5rem;right:1.5rem}@media (max-width:768px){#signOutButton{top:1rem;right:1rem;padding:.4rem 1rem;font-size:.9rem}}@media (max-width:480px){#signOutButton{top:.75rem;right:.75rem;padding:.35rem .8rem;font-size:.85rem}}#signOutButton:hover{background-color:#d2c8b9;color:#222222}.file-count{color:#ffc907;font-size:1.1rem;text-align:center;margin-bottom:1rem;font-weight:600}#variablesForm{background:#222222;border-radius:8px;padding:1.5rem 1rem 1rem;box-shadow:0 2px 6px rgba(0,0,0,.2);margin-bottom:1.5rem}#variablesContainer{display:flex;flex-direction:column;gap:1rem;margin-bottom:1.5rem}.variable-field{display:flex;align-items:center;gap:1rem;background:#2d2d2d;padding:.75rem 1rem;border-radius:6px;box-shadow:0 1px 3px rgba(0,0,0,.12)}.variable-field label{flex:1;color:#ffc907;font-weight:500;font-size:1rem}.variable-field input[type=text],.variable-field select{flex:2;padding:.5rem 1rem;border-radius:4px;border:none;background:#222222;color:#fff;font-size:1rem;transition:border .2s}.variable-field select{cursor:pointer}.variable-field input[type=text]:focus,.variable-field select:focus{outline:none;border:2px solid #ffc907}.variable-field input[type=checkbox]{width:20px;height:20px;accent-color:#ffc907}#saveButton{width:100%;padding:.8rem 0;border:none;border-radius:4px;background-color:#ffc907;color:#222222;font-size:1.1rem;font-weight:700;cursor:pointer;transition:background-color .3s,color .3s;box-shadow:0 2px 4px rgba(34,34,34,.16);margin-top:.5rem}@media (max-width:768px){#saveButton,#savePerspectiveModeButton,#saveSceneButton{padding:.9rem 0;font-size:1rem;min-height:44px}}@media (max-width:480px){#saveButton,#savePerspectiveModeButton,#saveSceneButton{padding:1rem 0;font-size:.95rem;min-height:48px}}#saveButton:hover{background-color:#d2c8b9;color:#222222}.status{text-align:center;font-size:1rem;color:#d2c8b9;margin-top:1rem;min-height:1.5em}@media (max-width:768px){#variablesForm{padding:1rem .75rem .75rem}.variable-field{flex-direction:column;align-items:stretch;gap:.5rem;padding:.6rem .8rem}.variable-field label{font-size:.95rem}.variable-field input[type=text],.variable-field select{font-size:.95rem;padding:.6rem .8rem}}@media (max-width:480px){#variablesForm{padding:.75rem .5rem .5rem}.variable-field{padding:.5rem .6rem;gap:.4rem}.variable-field label{font-size:.9rem}.variable-field input[type=text],.variable-field select{font-size:.9rem;padding:.5rem .7rem}}.home-btn{position:fixed;top:1.2rem;left:1.2rem;z-index:1000;display:flex;align-items:center;justify-content:center;width:auto;min-width:60px;max-width:120px;padding:.4rem 1.1rem;border:none;border-radius:6px;background-color:#ffc907;color:#222222;font-size:1rem;font-weight:600;cursor:pointer;box-shadow:0 2px 8px rgba(34,34,34,.1);transition:background-color .3s,color .3s,transform .15s;text-decoration:none;text-align:center;opacity:.95}@media (max-width:768px){.home-btn{top:1rem;left:1rem;padding:.35rem 1rem;font-size:.9rem;min-width:50px;max-width:100px}}@media (max-width:480px){.home-btn{top:.75rem;left:.75rem;padding:.3rem .8rem;font-size:.85rem;min-width:45px;max-width:85px}}.home-btn:hover{background-color:#d2c8b9;color:#222222;transform:translateY(-1px) scale(1.04);opacity:1}.modal{position:fixed;z-index:1000;left:0;top:0;width:100vw;height:100vh;background:rgba(0,0,0,.7)}.modal,.modal-content{display:flex;align-items:center;justify-content:center}.modal-content{background:#2d2d2d;padding:2rem 2rem 3rem;border-radius:10000px;box-shadow:0 4px 16px rgba(0,0,0,.5);text-align:center;border:4px solid #fff;min-width:320px;max-width:350px;width:90vw;margin:0 auto;flex-direction:column;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}@media (max-width:768px){.modal-content{width:95vw;max-width:400px;min-width:280px;padding:1.5rem 1.5rem 2.5rem;border:3px solid #fff}}@media (max-width:480px){.modal-content{width:98vw;max-width:340px;min-width:260px;padding:1.2rem 1.2rem 2rem;border:2px solid #fff;border-radius:20px}}.modal-content h2{color:#ffc907;margin-bottom:1.5rem;font-size:1.4rem;font-weight:700}@media (max-width:768px){.modal-content h2{font-size:1.3rem;margin-bottom:1.2rem}}@media (max-width:480px){.modal-content h2{font-size:1.2rem;margin-bottom:1rem}}#adminPasswordInput{width:80%;padding:.7rem 1rem;border-radius:6px;border:none;background:#222222;color:#fff;font-size:1.1rem;margin-bottom:1.2rem;box-shadow:0 1px 3px rgba(0,0,0,.18);transition:border .2s}#adminPasswordInput:focus{outline:none;border:2px solid #ffc907}@font-face{font-family:Inter;src:url(/assets/inter/Inter-Regular.otf) format("opentype");font-weight:400;font-style:normal}@font-face{font-family:Inter;src:url(/assets/inter/Inter-Bold.otf) format("opentype");font-weight:700;font-style:normal}@font-face{font-family:Inter;src:url(/assets/inter/Inter-SemiBold.otf) format("opentype");font-weight:600;font-style:normal}@font-face{font-family:Inter;src:url(/assets/inter/Inter-Light-BETA.otf) format("opentype");font-weight:300;font-style:normal}@font-face{font-family:Gilroy Heavy;src:url(/assets/gilroy-bold/Gilroy-Heavy.ttf) format("truetype");font-weight:900;font-style:normal}.gilroy-heavy{font-family:Gilroy Heavy,Gilroy,Inter,Segoe UI,Tahoma,Geneva,Verdana,sans-serif;font-weight:900;letter-spacing:.04em}body{font-family:Inter,Segoe UI,Tahoma,Geneva,Verdana,sans-serif!important}.modal-row{gap:12px;margin-top:16px;margin-bottom:8px}.modal-home-btn,.modal-row{display:flex;align-items:center}.modal-home-btn{background:#f5f5f5;border:1px solid #ccc;border-radius:4px;padding:8px 16px;text-decoration:none;color:#333;font-weight:600;transition:background .2s;margin-right:8px;height:40px}.modal-home-btn:hover{background:#e0e0e0}#adminPasswordInput{padding:8px;border-radius:4px;height:40px}#passwordSubmitBtn{padding:8px 16px;font-size:1rem;border-radius:4px;color:#222;font-weight:600;transition:background .2s;height:40px}#passwordSubmitBtn,.modal-icon-btn{border:none;cursor:pointer;display:flex;align-items:center}.modal-icon-btn{width:44px;height:44px;min-width:44px;min-height:44px;max-width:44px;max-height:44px;background:none;padding:0;justify-content:center;border-radius:50%;transition:box-shadow .2s;box-shadow:none}.modal-icon-btn img{width:40px;height:40px;-o-object-fit:contain;object-fit:contain;display:block}.modal-icon-btn:focus,.modal-icon-btn:hover{outline:none}#adminPasswordInput{flex:1 1 0;padding:8px 12px;font-size:1rem;border-radius:22px;border:1px solid #ccc;margin:0 8px;height:44px;box-sizing:border-box;display:flex;align-items:center}@media (max-width:500px){.modal-row{gap:6px}#adminPasswordInput,.modal-icon-btn,.modal-icon-btn img{height:36px;min-height:36px;max-height:36px}.modal-icon-btn img{width:32px;height:32px}#adminPasswordInput{border-radius:18px;font-size:.95rem}}#passwordSubmitBtn:focus,#passwordSubmitBtn:hover{color:#222222}#passwordError{color:#ff4d4d;background:#222222;border-radius:4px;padding:.4rem .7rem;margin-top:.5rem;font-size:1rem;font-weight:500;display:none}.hidden{display:none!important}.rename-device-row{display:flex;align-items:center;gap:8px;margin:10px 0;justify-content:center}@media (max-width:768px){.rename-device-row{flex-wrap:wrap;gap:.75rem;margin:8px 0}}@media (max-width:480px){.rename-device-row{flex-direction:column;gap:.5rem;margin:6px 0}}#cancelRenameBtn,#confirmRenameBtn,#showRenameInputBtn{padding:.5rem 1.2rem;border:none;border-radius:4px;background-color:#ffc907;color:#222222;font-size:1rem;font-weight:600;cursor:pointer;transition:background-color .3s,color .3s;box-shadow:0 2px 4px rgba(34,34,34,.16)}@media (max-width:768px){#cancelRenameBtn,#confirmRenameBtn,#showRenameInputBtn{padding:.6rem 1rem;font-size:.95rem;min-height:44px}}@media (max-width:480px){#cancelRenameBtn,#confirmRenameBtn,#showRenameInputBtn{padding:.7rem .9rem;font-size:.9rem;min-height:48px;flex:1}}#confirmRenameBtn:hover,#showRenameInputBtn:hover{background-color:#d2c8b9;color:#222222}#cancelRenameBtn{background-color:#2d2d2d;color:#ffc907;border:2px solid #ffc907}#cancelRenameBtn:hover{background-color:#ffc907;color:#222222}#renameDeviceInput{flex:1;padding:.5rem 1rem;border-radius:4px;border:none;background:#222222;color:#fff;font-size:1rem;transition:border .2s}#renameDeviceInput:focus{outline:none;border:2px solid #ffc907}.scene-selection-panel{width:100%;margin-bottom:1.5rem}.scene-selection-panel #sceneForm{background:#222222;border-radius:8px;padding:1.5rem 1rem 1rem;box-shadow:0 2px 6px rgba(0,0,0,.2)}.scene-selection-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:0}@media (max-width:768px){.scene-selection-row{flex-direction:column;gap:.75rem;align-items:stretch}}@media (max-width:480px){.scene-selection-row{gap:.5rem}}.scene-options{display:flex;gap:1rem;flex:1}@media (max-width:768px){.scene-options{flex-direction:column;gap:.75rem}}@media (max-width:480px){.scene-options{gap:.5rem}}.scene-option-button{padding:.6rem 1.2rem;border:none;border-radius:4px;background-color:#2d2d2d;color:#fff;font-size:1rem;font-weight:500;cursor:pointer;transition:background-color .3s,color .3s;box-shadow:0 1px 3px rgba(0,0,0,.2)}@media (max-width:768px){.scene-option-button{padding:.7rem 1rem;font-size:.95rem;width:100%;min-height:44px}}@media (max-width:480px){.scene-option-button{padding:.8rem .9rem;font-size:.9rem;min-height:48px}}.scene-option-button:hover:not(:disabled){background-color:#404040}.scene-option-button.selected{background-color:#555555;color:#fff;border:2px solid #fff}.scene-option-button.locked,.scene-option-button:disabled{background-color:#1a1a1a;color:#666;cursor:not-allowed}.scene-option-button.locked{opacity:.5;border:1px solid #444}.scene-option{display:flex;align-items:center;gap:.5rem;color:#fff;font-size:1rem;cursor:pointer}.scene-option input[type=radio]{width:16px;height:16px;accent-color:#ffc907}#saveSceneButton{padding:.8rem 1.5rem;border:none;border-radius:4px;background-color:#ffc907;color:#222222;font-size:1rem;font-weight:700;cursor:pointer;transition:background-color .3s,color .3s;box-shadow:0 2px 4px rgba(34,34,34,.16);white-space:nowrap}#saveSceneButton:hover:not(:disabled){background-color:#d2c8b9;color:#222222}#saveSceneButton:disabled{background-color:#666;color:#999;cursor:not-allowed}.two-column-layout{display:flex;gap:1.5rem;margin-bottom:1.5rem;align-items:stretch;min-height:400px}.left-column,.right-column{flex:1;min-width:0;display:flex;flex-direction:column}.left-column.panel-enabled,.right-column.panel-enabled{border:2px solid #fff;border-radius:8px;transition:border .3s ease}.left-column.panel-disabled,.right-column.panel-disabled{border:1px solid #444;border-radius:8px;transition:border .3s ease}#perspectiveModeForm,#responsiveModeForm{background:#222222;border-radius:8px;padding:1.5rem 1rem 1rem;box-shadow:0 2px 6px rgba(0,0,0,.2);height:100%;display:flex;flex-direction:column;justify-content:space-between;min-height:380px}.section-title{color:#ffc907;font-size:1.2rem;font-weight:600;margin-top:0;margin-bottom:1rem;text-align:center;border-bottom:2px solid #2d2d2d;padding-bottom:.5rem}#perspectiveModeContainer,#responsiveModeContainer{display:flex;flex-direction:column;gap:1rem;margin-bottom:1.5rem;flex:1}#sceneContainer{display:flex;flex-direction:column;gap:1rem;margin-bottom:0}#savePerspectiveModeButton{width:100%;padding:.8rem 0;border:none;border-radius:4px;background-color:#ffc907;color:#222222;font-size:1.1rem;font-weight:700;cursor:pointer;transition:background-color .3s,color .3s;box-shadow:0 2px 4px rgba(34,34,34,.16);margin-top:.5rem}#savePerspectiveModeButton:hover{background-color:#d2c8b9;color:#222222}@media (max-width:900px){.two-column-layout{flex-direction:column;gap:1.2rem;min-height:auto}.left-column,.right-column{flex:none}#perspectiveModeForm,#responsiveModeForm{min-height:320px}}@media (max-width:768px){.two-column-layout{gap:1rem;margin-bottom:1rem}#perspectiveModeForm,#responsiveModeForm{padding:1rem .75rem .75rem;min-height:280px}.section-title{font-size:1.1rem;margin-bottom:.8rem}}@media (max-width:480px){.two-column-layout{gap:.75rem;margin-bottom:.75rem}#perspectiveModeForm,#responsiveModeForm{padding:.75rem .5rem .5rem;min-height:240px}.section-title{font-size:1rem;margin-bottom:.6rem}}