*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Fira Sans','Droid Sans','Helvetica Neue',sans-serif;background:#f5f5f5;margin:0;padding:0;height:100%}.container{width:100%;height:100%;margin:0;background:#f5f5f5;overflow:hidden}.pdf-container{width:100%;height:100%;padding:0;margin:0;overflow:auto;background:#f5f5f5;display:flex;flex-direction:column;align-items:center;gap:0;position:relative}.page-wrapper{position:relative;margin-bottom:0;box-shadow:none;background:#fff;border-radius:0;overflow:visible;display:inline-block;z-index:1}.page-wrapper canvas{display:block;border-radius:0}.hotspot{position:absolute;width:20px;height:20px;background:#ff4d4f;border-radius:50%;border:2px solid #fff;cursor:pointer;transform:translate(-50%,-50%);transition:.3s;box-shadow:0 0 12px rgba(255,77,79,.8),0 0 24px rgba(255,77,79,.4);z-index:1000;pointer-events:auto;animation:1.8s ease-in-out infinite heartbeat}@keyframes heartbeat{0%,100%,28%,56%{transform:translate(-50%,-50%) scale(1);opacity:1}14%,42%{transform:translate(-50%,-50%) scale(1.15);opacity:.9}}.hotspot:hover{transform:translate(-50%,-50%) scale(1.2);box-shadow:0 0 15px rgba(255,77,79,.8);animation:none}.hotspot.active{background:#52c41a;box-shadow:0 0 20px rgba(82,196,26,.8);animation:1s infinite pulse}@keyframes pulse{0%,100%{transform:translate(-50%,-50%) scale(1)}50%{transform:translate(-50%,-50%) scale(1.1)}}.zoom-area{transform:scale(1.04);position:absolute;border:none;background:0 0;pointer-events:none;z-index:5}.page-label{display:none}.zoom-display{display:none;position:absolute;background:0 0;border-radius:0;box-shadow:none;padding:0;z-index:100;border:none;pointer-events:none}.zoom-display.active{display:block}.zoom-display canvas{display:block;border-radius:0}.loader{position:fixed;top:0;left:0;width:100%;height:100%;background:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;z-index:9999;transition:opacity .5s}.loader.hidden{opacity:0;pointer-events:none}.spinner{width:50px;height:50px;border:5px solid #f3f3f3;border-top:5px solid #ed1c24;border-radius:50%;animation:1s linear infinite spin;margin-bottom:20px}.loader-text{font-family:'Segoe UI',sans-serif;color:#333;font-size:18px}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.voice-bar{position:fixed;bottom:20px;right:20px;width:auto;background:0 0;box-shadow:none;padding:0;z-index:1000;display:flex;justify-content:flex-end}.voice-controls{display:flex;align-items:center;gap:0;max-width:none;width:auto;justify-content:flex-end}.voice-controls .control-btn:not(.lang-toggle-btn){display:none!important}.lang-toggle-btn{box-shadow:0 4px 12px rgba(0,0,0,.15);background:#fff}.control-btn{width:48px;height:48px;border-radius:50%;border:1px solid #ddd;background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.2s;color:#333;position:relative}.control-btn:hover{background:#f9f9f9;border-color:#ed1c24;color:#ed1c24;transform:scale(1.05)}.control-btn:active{transform:scale(.95)}.control-btn svg{pointer-events:none}.modal{display:none;position:fixed;z-index:2000;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,.5);animation:.2s fadeIn}.modal.active{display:flex;align-items:center;justify-content:center}@keyframes fadeIn{from{opacity:0}to{opacity:1}}.modal-content{background:#fff;border-radius:12px;width:90%;max-width:350px;box-shadow:0 4px 20px rgba(0,0,0,.3);animation:.3s slideUp}@keyframes slideUp{from{transform:translateY(50px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-header{padding:20px;border-bottom:1px solid #eee;display:flex;justify-content:space-between;align-items:center}.modal-header h3{margin:0;font-size:18px;font-weight:600;color:#333}.modal-close{font-size:28px;font-weight:300;color:#999;cursor:pointer;line-height:1;transition:color .2s}.modal-close:hover{color:#333}.modal-body{padding:20px;display:flex;flex-direction:column;gap:12px}.lang-option{display:flex;align-items:center;gap:15px;padding:15px 20px;border:2px solid #eee;border-radius:8px;background:#fff;cursor:pointer;transition:.2s;font-family:inherit;font-size:16px}.lang-option.active,.lang-option:hover{border-color:#ed1c24;background:#fff5f5}.lang-icon{font-size:24px}.lang-name{flex:1;text-align:left;font-weight:500;color:#333}.lang-check{font-size:20px;color:#ed1c24;opacity:0;transition:opacity .2s}.lang-option.active .lang-check{opacity:1}@media (max-width:768px){.pdf-container{padding-bottom:0}.page-wrapper canvas{max-width:100%;width:100%!important;height:auto!important}.hotspot{width:18px;height:18px;border-width:2px}.hotspot:hover{transform:translate(-50%,-50%) scale(1.2)}.voice-bar{bottom:15px;right:15px;padding:0}.voice-controls{gap:0;max-width:none}.control-btn{width:44px;height:44px}.control-btn svg{width:16px;height:16px}.modal-content{max-width:90%}.zoom-display{max-width:90vw;max-height:50vh}.zoom-display canvas{max-width:100%;max-height:50vh;width:auto!important;height:auto!important}.spinner{width:40px;height:40px;border-width:4px}.loader-text{font-size:16px;padding:0 20px;text-align:center}}@media (max-width:480px){.voice-bar{bottom:15px;right:15px;padding:0}.lang-btn{padding:8px 12px;font-size:14px}.control-btn{width:45px;height:45px;font-size:18px}.hotspot{width:18px;height:18px}.loader-text{font-size:14px}}@media (max-width:768px) and (orientation:landscape){.voice-bar{bottom:15px;right:15px;padding:0}.voice-controls{flex-direction:row;gap:0}.lang-toggle{width:auto}.pdf-container{padding-bottom:0}}@media (min-width:769px) and (max-width:1024px){.voice-controls{max-width:none}.hotspot{width:22px;height:22px}.pdf-container{padding-bottom:0}}@media (hover:none) and (pointer:coarse){.hotspot::before{content:'';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:18px;height:18px;background:#ff4d4f;border-radius:50%;border:2px solid #fff;box-shadow:0 0 12px rgba(255,77,79,.8),0 0 24px rgba(255,77,79,.4);animation:1.8s ease-in-out infinite heartbeat}.hotspot.active::before{background:#59ff4d}.hotspot{min-width:36px;min-height:36px;background:0 0;border:none;box-shadow:none}.control-btn{min-width:48px;min-height:48px}.lang-btn{min-height:44px}.hotspot:hover{transform:translate(-50%,-50%) scale(1)}.control-btn:hover{background:#fff;border-color:#ddd;color:#333}}