body{margin:0;padding:0;width:100vw;height:100vh;overflow:hidden}#root,.App{width:100%;height:100vh;margin:0;padding:0;overflow:hidden;position:relative}button{cursor:pointer;border:none;outline:none;font-family:inherit;min-width:44px;min-height:44px;touch-action:manipulation}.screen{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:space-between;text-align:center;color:#fff;padding:5vh 5vw;padding-bottom:max(8vh,env(safe-area-inset-bottom));padding-top:max(8vh,env(safe-area-inset-top));box-sizing:border-box}.welcome-screen{background:url(../assets/UI/new%20background.png) no-repeat center center;background-size:100% 100%}.welcome-logo{width:50vw;max-width:300px;height:auto;animation:logoPulse 2s infinite ease-in-out}@keyframes logoPulse{0%{transform:scale(1)}50%{transform:scale(1.1)}to{transform:scale(1)}}@keyframes logoPulse{0%{transform:scale(1)}50%{transform:scale(1.2)}to{transform:scale(1)}}.btn-start{width:70vw;max-width:300px;height:auto;aspect-ratio:300 / 92;background:url(../assets/UI/button%20option%202.png) no-repeat center center;background-size:contain;display:flex;align-items:center;justify-content:center;font-size:clamp(1rem,4vw,1.5rem);font-weight:700;color:gold;text-shadow:1px 1px 2px rgba(0,0,0,.5);box-shadow:none;background-color:transparent;padding:0;transition:transform .2s;margin-bottom:5vh}.btn-start:active{transform:scale(.95)}.selection-screen{background:url(../assets/UI/bg.jpeg) no-repeat center center;background-size:cover;padding:5vh 3vw;justify-content:space-between}.selection-title{font-size:clamp(1.5rem,5vw,2rem);font-weight:700;margin-top:5vh;color:#fff}.selection-title .highlight{color:gold}.options-grid{display:flex;flex-direction:row;justify-content:center;gap:3vw;width:100%;padding:0 10px;margin-bottom:5vh}.selection-option{flex:1;max-width:200px;height:auto;aspect-ratio:200/290;position:relative}.option-frame-container{width:100%;height:100%;position:relative;display:flex;justify-content:center}.option-frame{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:fill;z-index:2;pointer-events:none}.option-content{position:absolute;inset:10% 5% 5%;z-index:1;overflow:hidden;border-radius:15px;background:#0000004d}.content-img{width:auto;height:70%;object-fit:fill;margin-top:10%}.option-action-btn{position:absolute;bottom:8%;width:85%;height:12%;background:url(../assets/UI/button%20option%202.png) no-repeat center center;background-size:100% 100%;background-color:transparent;color:#fff;font-weight:700;font-size:clamp(.7rem,2.5vw,.9rem);z-index:3;display:flex;align-items:center;justify-content:center;padding-bottom:2px;text-shadow:0 1px 2px rgba(0,0,0,.8)}.selection-option.disabled{filter:grayscale(.5);opacity:.9}.btn-back-selection{width:60vw;max-width:220px;height:auto;aspect-ratio:220/55;background:url(../assets/UI/button%20option%202.png) no-repeat center center;background-size:100% 100%;background-color:transparent;color:gold;font-weight:700;font-size:clamp(1rem,4vw,1.3rem);display:flex;align-items:center;justify-content:center;padding-bottom:4px;margin-bottom:5vh;text-shadow:0 1px 2px rgba(0,0,0,.8)}.btn-back-selection:active,.option-action-btn:active{transform:scale(.95)}.ar-container{width:100%;height:100%;position:relative;background-color:transparent}canvas.a-canvas{pointer-events:auto!important;touch-action:none}img{pointer-events:none}.icon-btn-back{position:absolute;top:max(20px,env(safe-area-inset-top));left:max(20px,env(safe-area-inset-left));z-index:1000;background:transparent;width:12vw;height:12vw;max-width:60px;max-height:60px}.icon-btn-back img{width:100%;height:100%;object-fit:contain}.animal-vertical-menu{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;gap:2vh;z-index:100;width:50vw;max-width:200px;pointer-events:auto}.animal-menu-item{width:100%;height:45px;background:url(../assets/UI/button%20option%202.png) no-repeat center center;background-size:100% 100%;background-color:transparent;color:#fff;font-weight:700;font-size:clamp(.8rem,3vw,1rem);display:flex;align-items:center;justify-content:center;padding-bottom:2px;text-shadow:0 1px 2px rgba(0,0,0,.8);transition:transform .2s}.animal-menu-item.active{transform:scale(1.1);box-shadow:0 0 15px #fff6;border-radius:20px}.nav-arrow{position:absolute;top:50%;transform:translateY(-50%);width:12vw;height:12vw;max-width:50px;max-height:50px;background:transparent;z-index:100}.nav-arrow img{width:100%;height:100%;object-fit:contain}.nav-arrow.left{left:2vw}.nav-arrow.right{right:2vw}.bottom-action-bar{position:absolute;bottom:calc(max(3vh,env(safe-area-inset-bottom)) + 5vh);left:0;width:100%;display:flex;justify-content:center;gap:5vw;z-index:100}.action-circle-btn{width:15vw;height:15vw;max-width:70px;max-height:70px;background:transparent;border-radius:50%;display:flex;align-items:center;justify-content:center;padding:0}.action-circle-btn img{width:100%;height:100%;object-fit:contain}.action-circle-btn:active{transform:scale(.9)}.action-circle-btn.recording{animation:pulseRecording 1.5s infinite alternate;filter:drop-shadow(0 0 10px red)}@keyframes pulseRecording{0%{opacity:1;transform:scale(1)}to{opacity:.7;transform:scale(1.1)}}.scale-slider-container{position:absolute;right:-20px;bottom:calc(20vh + env(safe-area-inset-bottom));z-index:100;display:flex;flex-direction:column;align-items:center;gap:1vh}.scale-slider{-webkit-appearance:none;appearance:none;width:140px;height:24px;transform:rotate(-90deg);border-radius:999px;background:url(../assets/UI/button%20option%202.png) no-repeat center center;background-size:100% 100%;outline:none}.scale-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:22px;height:22px;border-radius:50%;background:#a64dff;box-shadow:0 0 8px #a64dffe6}.scale-slider::-moz-range-thumb{width:22px;height:22px;border-radius:50%;background:#a64dff;box-shadow:0 0 8px #a64dffe6;border:none}.scale-label{color:#fff;font-size:.9rem;text-shadow:0 1px 2px rgba(0,0,0,.8)}.scanning-overlay{position:absolute;top:0;left:0;width:100%;height:100%;z-index:10;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none}.scan-guide{width:70vw;height:70vw;max-width:400px;max-height:400px;border:3px dashed rgba(255,255,255,.8);border-radius:20px;margin-bottom:30px;box-shadow:0 0 0 100vmax #0000004d}.scanning-overlay p{color:#fff;font-size:1.3rem;font-weight:700;text-shadow:0 2px 4px rgba(0,0,0,.8);background:#0006;padding:10px 20px;border-radius:20px}
