html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility} .animated, .transition, .sidebar, .viewer-container { transform: translateZ(0); backface-visibility: hidden; perspective: 1000px} * { will-change: auto} .loading-spinner, .progress-bar { contain: layout style paint} :root { --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%); --primary-color: #667eea; --primary-color-dark: #5a6fd8; --secondary-color: #764ba2; --secondary-color-dark: #6b5b95; --background-color: #f0f0f0; --sidebar-bg: rgba(255, 255, 255, 0.9); --text-color: #333; --text-color-light: #555; --border-color: #e0e0e0; --input-bg: white; --button-secondary-bg: #f5f5f5; --button-secondary-hover-bg: #e9e9e9} body.dark-mode { --primary-gradient: linear-gradient(135deg, #232526 0%, #414345 100%); --primary-color: #888; --primary-color-dark: #999; --secondary-color: #555; --secondary-color-dark: #666; --background-color: #121212; --sidebar-bg: rgba(30, 30, 30, 0.9); --text-color: #f0f0f0; --text-color-light: #bbb; --border-color: #444; --input-bg: #333; --button-secondary-bg: #444; --button-secondary-hover-bg: #555} * { margin: 0; padding: 0; box-sizing: border-box} body { font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: var(--primary-gradient); overflow: hidden; height: 100vh; color: var(--text-color)} #loadingScreen { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--background-color); display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 9999; color: white} .loader { width: 50px; height: 50px; border: 3px solid rgba(255, 255, 255, 0.3); border-top: 3px solid white; border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 20px} @keyframes spin { 0% { transform: rotate(0deg)} 100% { transform: rotate(360deg)} } .empty-state-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; background: var(--background-color); z-index: 500; transition: opacity 0.5s ease, visibility 0.5s ease} .empty-state-overlay.hidden { opacity: 0; visibility: hidden} .empty-state-content { background: transparent; padding: 60px; text-align: center; max-width: 600px; width: 90%; border: 2px dashed var(--border-color); border-radius: 24px} body.dark-mode .empty-state-content { background: transparent; border: 2px dashed rgba(255, 255, 255, 0.1)} .drop-hero-icon { font-size: 3rem; width: 64px; height: 64px; margin-bottom: 20px; color: var(--primary-color)} .empty-state-content h2 { font-size: 1.8rem; margin-bottom: 10px; color: var(--text-color); font-weight: 700} .empty-state-content>p { color: var(--text-color-light); margin-bottom: 20px; font-weight: 500} .centralized-input { justify-content: center} .centralized-search { max-width: 300px} .centralized-samples { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border-color)} .centralized-samples h4 { margin-bottom: 15px; color: var(--text-color-light)} #mainContainer { display: flex; height: 100vh} .hidden { display: none !important} .sidebar { position: fixed; top: 0; left: 0; height: 100vh; width: 360px; z-index: 2000; background: var(--sidebar-bg); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-right: 1px solid var(--border-color); box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15); display: flex; flex-direction: column; transform: translateX(-100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); overflow-y: auto; overflow-x: hidden} body.dark-mode .sidebar { background: rgba(18, 18, 18, 0.85); border-right: 1px solid rgba(255, 255, 255, 0.05); box-shadow: 10px 0 50px rgba(0, 0, 0, 0.6)} .sidebar:not(.collapsed) { transform: translateX(0)} .sidebar-toggle-btn { position: fixed; top: 20px; left: 20px; z-index: 2100; width: 48px; height: 48px; border-radius: 12px; background: var(--sidebar-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--border-color); color: var(--text-color); cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1)} .sidebar-toggle-btn:hover { transform: scale(1.05); background: var(--primary-color); color: white; border-color: var(--primary-color)} .sidebar-toggle-btn.active { left: 380px} @media (max-width: 768px) { .sidebar { width: 100%} .sidebar-toggle-btn.active { left: calc(100% - 68px)} } .google-fab-toolbar { position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; background: var(--sidebar-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.2); padding: 8px 16px; border-radius: 9999px; box-shadow: 0 8px 32px rgba(0,0,0,0.1); z-index: 1000; transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.2, 0, 0, 1)} body.dark-mode .google-fab-toolbar { border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 8px 32px rgba(0,0,0,0.5)} .google-fab-toolbar.hidden { opacity: 0; pointer-events: none; transform: translate(-50%, 20px)} .fab-btn { width: 48px; height: 48px; border-radius: 50%; border: none; background: transparent; color: var(--text-color); cursor: pointer; display: flex; justify-content: center; align-items: center; transition: background 0.2s ease, transform 0.2s ease} .fab-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2} .fab-btn:hover { background: rgba(128,128,128,0.15); transform: scale(1.05)} .sidebar-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--border-color); background: rgba(255, 255, 255, 0.1)} .sidebar-header h2 { color: var(--text-color); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em} .toggle-btn { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-color-light); padding: 5px; border-radius: 4px; transition: all 0.2s ease} .toggle-btn:hover { background: rgba(0, 0, 0, 0.1); color: var(--text-color)} .icon { width: 1em; height: 1em; vertical-align: -0.15em; margin-right: 0.5em; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round} .accordion { border-top: 1px solid var(--border-color)} .accordion-item { border-bottom: 1px solid var(--border-color)} .accordion-header { padding: 15px 20px; cursor: pointer; background: var(--input-bg); font-size: 1.1rem; font-weight: 600; color: var(--text-color); display: flex; justify-content: space-between; align-items: center; transition: background 0.2s ease; min-height: 48px; letter-spacing: -0.01em} .accordion-header:hover { background: var(--button-secondary-hover-bg)} .accordion-header::after { content: '▶'; font-size: 0.8rem; transition: transform 0.3s ease} .accordion-item.is-open .accordion-header::after { transform: rotate(90deg)} .accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out, padding 0.3s ease; background: var(--background-color)} .accordion-item.is-open .accordion-content { max-height: 1000px; padding: 0} .control-section { padding: 15px 20px; position: relative} .control-group { margin-bottom: 15px} .control-group label { display: block; color: var(--text-color-light); font-size: 0.9rem; margin-bottom: 8px; font-weight: 500} .input-group { display: flex; gap: 10px; margin-bottom: 15px} .input-field { flex: 1; padding: 10px; border: 2px solid var(--border-color); border-radius: 8px; font-size: 0.9rem; transition: border-color 0.2s ease; background-color: var(--input-bg); color: var(--text-color)} .input-field:focus { outline: none; border-color: var(--primary-color)} .select-field { width: 100%; padding: 10px; border: 2px solid var(--border-color); border-radius: 8px; font-size: 0.9rem; background: var(--input-bg); cursor: pointer; color: var(--text-color)} .color-input { width: 100%; height: 40px; border: 2px solid var(--border-color); border-radius: 8px; cursor: pointer; margin-top: 8px} .slider { width: 100%; height: 6px; border-radius: 3px; background: var(--border-color); outline: none; cursor: pointer; margin-bottom: 5px} .slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--primary-color); cursor: pointer; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); transition: all 0.2s ease} .slider::-webkit-slider-thumb:hover { transform: scale(1.1); background: var(--primary-color-dark)} .value-display { font-size: 0.8rem; color: var(--text-color-light); float: right} .btn { padding: 10px 16px; border: none; border-radius: 8px; font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: all 0.2s ease; text-align: center; text-decoration: none; display: inline-block} .btn.primary { background: var(--primary-gradient); color: white} .btn.primary:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4); background: linear-gradient(135deg, var(--primary-color-dark) 0%, var(--secondary-color-dark) 100%)} .btn.secondary { background: var(--button-secondary-bg); color: var(--text-color); border: 1px solid var(--border-color)} .btn.secondary:hover { background: var(--button-secondary-hover-bg); transform: translateY(-1px)} .btn.full-width { width: 100%; margin-bottom: 8px} .checkbox-label { display: flex !important; align-items: center; cursor: pointer; margin-bottom: 0 !important} .checkbox-label input[type="checkbox"] { display: none} .checkmark { width: 20px; height: 20px; background: var(--border-color); border-radius: 4px; margin-right: 10px; position: relative; transition: all 0.2s ease} .checkbox-label input[type="checkbox"]:checked+.checkmark { background: var(--primary-color)} .checkbox-label input[type="checkbox"]:checked+.checkmark::after { content: '✓'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: white; font-size: 12px; font-weight: bold} .file-drop { border: 2px dashed var(--border-color); border-radius: 8px; padding: 30px; text-align: center; cursor: pointer; transition: all 0.2s ease; margin-top: 10px} .file-drop:hover, .file-drop.dragover { border-color: var(--primary-color); background: rgba(102, 126, 234, 0.05)} .drop-content { pointer-events: none} .drop-icon { font-size: 2rem; display: block; margin-bottom: 10px} .drop-content p { color: var(--text-color-light); margin-bottom: 5px} .drop-content small { color: #999; font-size: 0.8rem} .animation-controls { display: flex; gap: 8px; flex-wrap: wrap} .animation-controls .btn { flex: 1; min-width: 80px} .viewport { flex: 1; position: relative; overflow: hidden; height: 100%} #viewerContainer { width: 100%; height: 100%} .stats-panel { position: absolute; top: 20px; right: 20px; background: rgba(0, 0, 0, 0.8); color: white; padding: 0; border-radius: 12px; font-size: 0.8rem; backdrop-filter: blur(15px); border: 1px solid rgba(255, 255, 255, 0.1); overflow: hidden; min-width: 180px} .stats-header { background: var(--primary-gradient); padding: 10px 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.1)} .stats-title { font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px} .stat-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); transition: background 0.2s ease; font-variant-numeric: tabular-nums} .stat-item:last-child { border-bottom: none} .stat-item:hover { background: rgba(255, 255, 255, 0.05)} .stat-label { color: rgba(255, 255, 255, 0.8); font-size: 0.75rem} .stat-value { font-weight: 600; color: #fff; font-size: 0.8rem} .progress-bar { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); width: 300px; height: 6px; background: rgba(255, 255, 255, 0.2); border-radius: 3px; overflow: hidden} .progress-fill { height: 100%; background: var(--primary-gradient); width: 0%; transition: width 0.3s ease} .progress-fill.indeterminate { width: 40% !important; border-radius: 3px; transition: none; animation: progress-indeterminate 1.1s ease-in-out infinite} @keyframes progress-indeterminate { 0% { margin-left: -40%} 100% { margin-left: 100%} } .progress-text { position: absolute; top: -25px; left: 50%; transform: translateX(-50%); color: white; font-size: 0.8rem; white-space: nowrap} .sidebar-toggle-btn { position: fixed; top: 30px; left: 30px; z-index: 1001; background: rgba(255, 255, 255, 0.8); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50%; width: 48px; height: 48px; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; color: var(--text-color)} body.dark-mode .sidebar-toggle-btn { background: rgba(30, 30, 30, 0.8); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4)} .sidebar-toggle-btn:hover { transform: scale(1.1) rotate(90deg); background: var(--sidebar-bg)} .hamburger-line { display: block; height: 2px; background: currentColor; transition: 0.3s; border-radius: 1px} .hamburger-line:nth-child(1) { width: 20px} .hamburger-line:nth-child(2) { width: 16px} .hamburger-line:nth-child(3) { width: 12px} .sidebar-toggle-btn.active .hamburger-line { width: 20px} .sidebar-toggle-btn.active .hamburger-line:nth-child(1) { transform: rotate(-45deg) translate(-2px, 2.5px)} .sidebar-toggle-btn.active .hamburger-line:nth-child(2) { opacity: 0} .sidebar-toggle-btn.active .hamburger-line:nth-child(3) { transform: rotate(45deg) translate(-2px, -2.5px)} .modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); display: none; justify-content: center; align-items: center; z-index: 10000; opacity: 0; transition: opacity 0.3s ease} .modal.show { display: flex; opacity: 1} .modal-content { background: var(--sidebar-bg); padding: 30px; border-radius: 12px; max-width: 400px; width: 90%; text-align: center; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3)} .modal-content h3 { color: var(--text-color); margin-bottom: 15px} .modal-content p { color: var(--text-color-light); margin-bottom: 20px; line-height: 1.5} @keyframes fadeIn { from { opacity: 0; transform: translateY(20px)} to { opacity: 1; transform: translateY(0)} } .control-section { animation: fadeIn 0.5s ease forwards} .sidebar::-webkit-scrollbar { width: 6px} .sidebar::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.1)} .sidebar::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.3); border-radius: 3px} .sidebar::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, 0.5)} .superhero-btn-container { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 1002; display: flex; gap: 12px; background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 8px; border-radius: 40px; border: 1px solid rgba(255, 255, 255, 0.2); box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15); transition: all 0.4s ease; opacity: 0; pointer-events: none} body.dark-mode .superhero-btn-container { background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.05)} .superhero-btn-container.visible { opacity: 1; pointer-events: auto} .superhero-btn { background: var(--primary-gradient); border: none; border-radius: 30px; height: 48px; padding: 0 24px; cursor: pointer; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; gap: 8px; color: white; font-weight: 600; font-size: 0.95rem} .superhero-btn svg { width: 20px; height: 20px; stroke: white; stroke-width: 2; fill: none} .superhero-btn:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4)} .superhero-controls { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 1003; background: rgba(0, 0, 0, 0.5); border-radius: 12px; padding: 10px; display: flex; gap: 10px; backdrop-filter: blur(5px); transition: opacity 0.3s ease} .superhero-controls.hidden { opacity: 0; pointer-events: none} .fade-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #000000; z-index: 9998; opacity: 0; transition: opacity 0.8s ease; pointer-events: none} .fade-overlay.active { opacity: 1; pointer-events: all} .fade-overlay.pitch-black { opacity: 1; background: #000000; transition: opacity 0.3s ease} .audio-drop { border: 2px dashed var(--border-color); border-radius: 8px; padding: 25px; text-align: center; cursor: pointer; transition: all 0.2s ease; margin-bottom: 15px; background: linear-gradient(135deg, rgba(255, 193, 7, 0.02) 0%, rgba(255, 87, 34, 0.02) 100%)} .audio-drop:hover, .audio-drop.dragover { border-color: #ff9800; background: linear-gradient(135deg, rgba(255, 193, 7, 0.08) 0%, rgba(255, 87, 34, 0.08) 100%); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255, 152, 0, 0.15)} .audio-status { display: flex; justify-content: space-between; align-items: center; padding: 10px; background: rgba(76, 175, 80, 0.1); border-radius: 8px; border: 1px solid rgba(76, 175, 80, 0.2)} .audio-indicator { color: #4CAF50; font-size: 0.85rem; font-weight: 500} @media (max-width: 480px) { .sidebar { width: 100%} .sidebar-header h2 { font-size: 1.25rem} .stats-panel { top: 10px; right: 10px} .sidebar-toggle-btn { top: 10px; left: 10px; width: 44px; height: 44px} .superhero-btn { width: 50px !important; height: 50px !important; bottom: 20px !important; right: 20px !important} .control-section { padding: 12px 16px} .btn { min-height: 44px} .modal-content { padding: 1.25rem} } @media (hover: none) and (pointer: coarse) { .accordion-header { min-height: 52px; padding: 16px 20px} .slider::-webkit-slider-thumb { width: 24px; height: 24px} .slider::-moz-range-thumb { width: 24px; height: 24px} .btn { min-height: 44px} .checkbox-label { min-height: 44px} .select-field { min-height: 44px} } @media (max-width: 600px) { body.superhero-mode-active .superhero-btn { bottom: 100px; right: 20px; width: 50px; height: 50px} .stats-panel { min-width: 120px; padding: 0} .stats-header { padding: 8px 12px} .stats-title { font-size: 0.7rem} .stat-item { padding: 6px 12px} .stat-label, .stat-value { font-size: 0.7rem} } #hierarchyContainer { max-height: 300px; overflow-y: auto} .hierarchy-list { list-style: none; padding: 0; margin: 0} .hierarchy-list ul { list-style: none; padding-left: 0} .hierarchy-list li { margin: 2px 0} .hierarchy-list label { display: flex; align-items: center; cursor: pointer; padding: 4px 8px; border-radius: 4px; transition: background-color 0.2s} .hierarchy-list label:hover { background-color: #f0f0f0} .hierarchy-list input[type="checkbox"] { margin-right: 10px} .theme-switcher { display: flex; align-items: center} .theme-toggle-checkbox { display: none} .theme-toggle-label { display: block; position: relative; width: 50px; height: 26px; border-radius: 13px; background: #e0e0e0; cursor: pointer; transition: background 0.2s} .theme-toggle-inner { display: block; width: 20px; height: 20px; border-radius: 50%; background: white; position: absolute; top: 3px; left: 4px; transition: left 0.2s} .theme-toggle-switch { display: block; width: 20px; height: 20px; border-radius: 50%; background: #667eea; position: absolute; top: 3px; left: 4px; transform: scale(0); transition: transform 0.2s} .theme-toggle-checkbox:checked+.theme-toggle-label { background: #333} .theme-toggle-checkbox:checked+.theme-toggle-label .theme-toggle-inner { left: 26px} .theme-toggle-checkbox:checked+.theme-toggle-label .theme-toggle-switch { transform: scale(1); left: 26px; background: #f0f0f0} .measurement-result { margin-top: 15px; padding: 10px; background-color: #f0f0f0; border-radius: 4px; font-weight: bold; color: #333; text-align: center} #measureBtn.active { background-color: #d9534f; color: white} .layout-mobile .sidebar { width: 100%; transform: translateX(-100%)} .layout-mobile .sidebar:not(.collapsed) { transform: translateX(0)} .layout-mobile .viewport { margin-left: 0} .layout-tablet .sidebar { width: 280px} [data-feature="camera-controls"] { transition: all 0.3s ease} [data-feature="animation-controls"] { transition: all 0.3s ease} [data-feature="lighting-controls"] { transition: all 0.3s ease} [data-feature="effects-controls"] { transition: all 0.3s ease} [data-feature="export-system"] { transition: all 0.3s ease} @import url('./src/analysis/analysis.css'); @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap'); body.presentation-mode .sidebar, body.presentation-mode .toolbar { display: none} body.presentation-mode .viewport { margin-left: 0} .modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); display: flex; align-items: center; justify-content: center; z-index: 10000; transition: opacity 0.3s ease} .modal.hidden { display: none !important; opacity: 0; visibility: hidden; pointer-events: none} .shortcut-help-panel { max-width: 800px; width: 90%} .shortcut-help-panel .modal-content { max-height: 80vh; overflow-y: auto} .shortcut-categories { display: grid; gap: 1.5rem} .shortcut-category h3 { color: var(--primary-color); margin-bottom: 1rem; font-size: 1.1rem; border-bottom: 2px solid var(--border-color); padding-bottom: 0.5rem} .shortcut-list { display: grid; gap: 0.75rem} .shortcut-item { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem; background: var(--input-bg); border: 1px solid var(--border-color); border-radius: 6px; transition: background-color 0.2s ease} .shortcut-item:hover { background: var(--button-secondary-hover-bg)} .shortcut-keys { display: flex; gap: 0.25rem} .shortcut-key { background: var(--text-color); color: var(--input-bg); padding: 0.25rem 0.5rem; border-radius: 4px; font-size: 0.8rem; font-weight: bold; min-width: 1.5rem; text-align: center} .shortcut-description { color: var(--text-color-light); font-size: 0.9rem} .modal-content { background: var(--sidebar-bg); border-radius: 12px; padding: 2rem; max-width: 500px; width: 90%; max-height: 80vh; overflow-y: auto; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3)} .modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border-color)} .modal-header h3 { margin: 0; color: var(--text-color); font-size: 1.25rem} .modal-close { background: none; border: none; font-size: 1.5rem; color: var(--text-color-light); cursor: pointer; padding: 0.25rem; border-radius: 4px; transition: all 0.2s ease} .modal-close:hover { background: var(--button-secondary-hover-bg); color: var(--text-color)} .modal-body { color: var(--text-color)} .url-examples { margin-top: 1.5rem; padding: 1rem; background: var(--background-color); border-radius: 8px} .url-examples p { margin: 0 0 0.75rem 0; font-weight: 600; color: var(--text-color)} .url-examples ul { margin: 0; padding-left: 1.25rem} .url-examples li { margin-bottom: 0.5rem} .url-examples a { color: var(--primary-color); text-decoration: none; font-size: 0.9rem; transition: color 0.2s ease} .url-examples a:hover { color: var(--primary-color-dark); text-decoration: underline} @media (max-width: 768px) { .modal-content { margin: 1rem; padding: 1.5rem; max-width: none; width: auto} .modal-header { flex-direction: column; align-items: flex-start; gap: 0.5rem} .modal-close { align-self: flex-end; margin-top: -0.5rem} } body.presentation-mode .sidebar { transform: translateX(-100%) !important; opacity: 0; pointer-events: none} body.presentation-mode #viewerContainer { left: 0 !important; width: 100% !important} .presentation-hud { position: fixed; bottom: -100px; left: 50%; transform: translateX(-50%); background: rgba(15, 23, 42, 0.7); backdrop-filter: blur(16px) saturate(180%); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 24px; padding: 0.75rem 1.5rem; display: flex; align-items: center; gap: 1.5rem; z-index: 10000; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.1); transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1)} body.presentation-mode .presentation-hud { bottom: 2rem} .hud-group { display: flex; align-items: center; gap: 0.75rem} .hud-btn { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); color: white; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1)} .hud-btn:hover { background: var(--primary-color); border-color: var(--primary-color); transform: translateY(-2px); box-shadow: 0 8px 16px rgba(99, 102, 241, 0.3)} .hud-counter { color: white; font-size: 0.95rem; font-weight: 600; min-width: 70px; text-align: center; font-family: 'Outfit', sans-serif; letter-spacing: 0.05em} .hud-exit { background: rgba(239, 68, 68, 0.1); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.2); padding: 0.6rem 1.25rem; border-radius: 14px; font-size: 0.9rem; font-weight: 700; cursor: pointer; transition: all 0.3s; font-family: 'Outfit', sans-serif} .hud-exit:hover { background: #ef4444; color: white; border-color: #ef4444; box-shadow: 0 8px 16px rgba(239, 68, 68, 0.3)} .hud-btn svg { width: 20px; height: 20px; fill: currentColor} .stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 20px} .accordion-content .stat-item { background: rgba(128, 128, 128, 0.08); padding: 12px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; border: 1px solid transparent; transition: all 0.2s ease} body.dark-mode .accordion-content .stat-item { background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.05)} .accordion-content .stat-item:hover { background: rgba(102, 126, 234, 0.1); transform: translateY(-2px)} .accordion-content .stat-label { font-size: 0.65rem; color: var(--text-color-light); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; font-weight: 600} .accordion-content .stat-value, .accordion-content [id$='Sidebar'] { font-weight: 700; font-size: 1.1rem; color: var(--text-color); font-family: 'Outfit', sans-serif} .divider { height: 1px; background: var(--border-color); margin: 16px 0; opacity: 0.4; position: relative; display: flex; align-items: center; justify-content: center} .tool-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px} .tool-btn { background: var(--input-bg); border: 1px solid var(--border-color); padding: 12px; border-radius: 10px; cursor: pointer; font-size: 0.85rem; color: var(--text-color); transition: all 0.2s ease; display: flex; align-items: center; justify-content: center} .tool-btn:hover { border-color: var(--primary-color); color: var(--primary-color); background: rgba(102, 126, 234, 0.05)} .tool-btn.active { background: var(--primary-gradient); color: white; border-color: transparent} .mt-2 { margin-top: 8px} .mt-3 { margin-top: 16px} .mb-3 { margin-bottom: 16px} .audio-upload { background: rgba(0, 0, 0, 0.03); border-radius: 12px; padding: 15px; border: 1px dashed var(--border-color)} body.dark-mode .audio-upload { background: rgba(255, 255, 255, 0.02)} .file-drop p { font-size: 0.9rem; font-weight: 500; margin: 0} .skip-link.sr-only-focusable { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0} .skip-link.sr-only-focusable:focus { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; background: var(--primary-color, #6366f1); color: white; padding: 10px; z-index: 10000}