.sound-list{max-width:100%;margin:0 auto;height:100%;overflow-y:auto;-webkit-overflow-scrolling:touch}.sound-list-header{text-align:center;margin-bottom:2rem}.sound-list-header h2{font-size:1.5rem;font-weight:600;color:#2d3748;margin-bottom:.5rem}.sound-list-count{color:#4a5568;font-size:1rem;font-weight:500;margin-bottom:1.5rem;background:#fffc;padding:.5rem 1rem;border-radius:20px;display:inline-block;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 4px 12px #0000001a}.category-stats{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center;margin-bottom:1rem}.category-stat{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;background:#ffffffe6;border-radius:25px;font-size:.85rem;font-weight:500;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 4px 12px #0000001a;border:1px solid rgba(255,255,255,.3);transition:all .3s ease}.category-stat:hover{transform:translateY(-2px);box-shadow:0 8px 20px #00000026}.category-icon{font-size:1rem}.category-name{font-weight:600;color:#2d3748}.category-count{color:#667eea;font-weight:700;background:#667eea1a;padding:.25rem .5rem;border-radius:12px;font-size:.8rem}.sound-list-items{display:flex;flex-direction:column;gap:1rem;scroll-behavior:smooth;padding-bottom:2rem}.sound-list-empty,.sound-list-loading{text-align:center;padding:2rem;color:#666}.sound-item{background:#ffffffe6;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:16px;box-shadow:0 8px 32px #0000001a;overflow:hidden;transition:all .3s ease;border:1px solid rgba(255,255,255,.3);position:relative}.sound-item:hover{box-shadow:0 12px 40px #00000026;transform:translateY(-2px)}.sound-item.loading{opacity:.8;border-color:#667eea;box-shadow:0 8px 32px #667eea33}.sound-item.playing{border-color:#48bb78;box-shadow:0 12px 40px #48bb784d;background:#48bb780d}.sound-item.error{border-color:#f56565;box-shadow:0 12px 40px #f565654d;background:#f565650d}.sound-item-content{display:flex;align-items:center;justify-content:space-between;padding:1.25rem;gap:1rem}.sound-item-info{flex:1;min-width:0}.sound-item-label{font-size:1.1rem;font-weight:700;color:#2d3748;margin-bottom:.25rem;line-height:1.3}.sound-item-category{font-size:.85rem;color:#4a5568;text-transform:capitalize;font-weight:500;margin:0}.sound-item-error{font-size:.8rem;color:#dc3545;margin:.25rem 0 0}.sound-item-loading{font-size:.8rem;color:#6c757d;margin:.25rem 0 0;font-style:italic}.sound-item-controls{flex-shrink:0;display:flex;align-items:center;gap:1rem}.sound-item-delete-button{background:#f56565;color:#fff;border:none;border-radius:8px;width:36px;height:36px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:1rem;transition:all .2s ease;flex-shrink:0}.sound-item-delete-button:hover{background:#e53e3e;transform:scale(1.05)}.sound-item-delete-button:active{transform:scale(.95)}.sound-item-playing-indicator{background:linear-gradient(90deg,#007bff,#0056b3);height:3px;overflow:hidden}.sound-wave{display:flex;align-items:center;justify-content:center;height:100%;gap:2px}.sound-wave span{width:2px;background:#fffc;border-radius:1px;animation:soundWave 1.5s ease-in-out infinite}.sound-wave span:nth-child(1){height:60%;animation-delay:0s}.sound-wave span:nth-child(2){height:100%;animation-delay:.2s}.sound-wave span:nth-child(3){height:60%;animation-delay:.4s}@keyframes soundWave{0%,to{transform:scaleY(.3);opacity:.5}50%{transform:scaleY(1);opacity:1}}.play-button{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1.5rem;border-radius:12px;font-size:.9rem;font-weight:600;min-width:100px;min-height:44px;transition:all .3s ease;position:relative;overflow:hidden;touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;box-shadow:0 4px 15px #667eea4d;opacity:1;background-color:#667eea}.play-button:focus{outline:2px solid #667eea;outline-offset:2px}.play-button:hover{transform:translateY(-2px);box-shadow:0 8px 25px #667eea66}.play-button:active{transform:scale(.95);transition:transform .1s ease}.play-button:active:before{content:"";position:absolute;inset:0;background:#fff3;border-radius:inherit;pointer-events:none}.play-button.idle{background:linear-gradient(135deg,#667eea,#764ba2);background-color:#667eea;color:#fff;border:none}.play-button.idle:hover{background:linear-gradient(135deg,#5a67d8,#6b46c1);transform:translateY(-2px);box-shadow:0 8px 25px #667eea66}.play-button.playing{background:linear-gradient(135deg,#48bb78,#38a169);background-color:#48bb78;color:#fff;border:none;box-shadow:0 4px 15px #48bb784d}.play-button.playing:hover{background:linear-gradient(135deg,#38a169,#2f855a);transform:translateY(-2px);box-shadow:0 8px 25px #48bb7866}.play-button.loading{background:linear-gradient(135deg,#a0aec0,#718096);background-color:#a0aec0;color:#fff;border:none;cursor:not-allowed;box-shadow:0 4px 15px #a0aec04d}.play-button.error{background:linear-gradient(135deg,#f56565,#e53e3e);background-color:#f56565;color:#fff;border:none;box-shadow:0 4px 15px #f565654d}.play-button.error:hover{background:linear-gradient(135deg,#e53e3e,#c53030);transform:translateY(-2px);box-shadow:0 8px 25px #f5656566}.play-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.play-button-text{font-weight:600}.play-button-indicator,.play-button-spinner,.play-button-error{font-size:1rem}@media (max-width: 768px){.sound-item-content{padding:.75rem;gap:.75rem;min-height:60px}.sound-item-label{font-size:1rem}.play-button{padding:.75rem 1.5rem;min-width:100px;min-height:48px;font-size:.9rem}.sound-list-header h2{font-size:1.25rem}.category-stats{gap:.5rem}.category-stat{padding:.375rem .625rem;font-size:.75rem}.sound-item{min-height:60px}}@media (max-width: 480px){.sound-item-content{padding:.625rem;gap:.625rem;min-height:56px}.play-button{padding:.625rem 1.25rem;min-width:90px;min-height:44px;font-size:.85rem}.sound-item-label{font-size:.95rem}.category-stat{padding:.25rem .5rem;font-size:.7rem}.sound-item{min-height:56px}}@media (max-width: 320px){.sound-item-content{padding:.5rem;gap:.5rem;min-height:52px}.play-button{padding:.5rem 1rem;min-width:80px;min-height:44px;font-size:.8rem}.sound-item-label{font-size:.9rem}.category-stat{padding:.25rem .375rem;font-size:.65rem}.sound-item{min-height:52px}}.offline-indicator{position:fixed;top:0;left:0;right:0;background:linear-gradient(135deg,#f56565,#e53e3e);color:#fff;padding:.75rem 1rem;z-index:1000;box-shadow:0 8px 32px #f565654d;animation:slideDown .3s ease-out;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.offline-indicator-content{display:flex;align-items:center;gap:.75rem;max-width:1200px;margin:0 auto}.offline-indicator-icon{font-size:1.25rem;flex-shrink:0}.offline-indicator-text{flex:1;min-width:0}.offline-indicator-title{font-weight:600;font-size:.9rem;margin-bottom:.125rem}.offline-indicator-subtitle{font-size:.8rem;opacity:.9;margin-bottom:.125rem}.offline-indicator-cache-size{font-size:.75rem;opacity:.8}@keyframes slideDown{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}body:has(.offline-indicator) .app-header{margin-top:3.5rem}@media (max-width: 768px){.offline-indicator{padding:.5rem .75rem}.offline-indicator-content{gap:.5rem}.offline-indicator-icon{font-size:1.1rem}.offline-indicator-title{font-size:.85rem}.offline-indicator-subtitle{font-size:.75rem}.offline-indicator-cache-size{font-size:.7rem}body:has(.offline-indicator) .app-header{margin-top:3rem}}.error-boundary{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:2rem;background-color:#f8f9fa}.error-boundary-content{text-align:center;max-width:500px;padding:2rem;background:#fff;border-radius:12px;box-shadow:0 4px 12px #0000001a}.error-boundary-icon{font-size:3rem;margin-bottom:1rem}.error-boundary-title{font-size:1.5rem;font-weight:600;color:#dc3545;margin-bottom:1rem}.error-boundary-message{color:#666;margin-bottom:2rem;line-height:1.6}.error-boundary-actions{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.error-boundary-retry-button,.error-boundary-refresh-button{padding:.75rem 1.5rem;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease;min-width:120px}.error-boundary-retry-button{background:#007bff;color:#fff}.error-boundary-retry-button:hover{background:#0056b3}.error-boundary-refresh-button{background:#6c757d;color:#fff}.error-boundary-refresh-button:hover{background:#545b62}.error-boundary-details{margin-top:2rem;text-align:left}.error-boundary-details summary{cursor:pointer;font-weight:600;color:#666;margin-bottom:1rem}.error-boundary-stack{background:#f8f9fa;padding:1rem;border-radius:4px;font-size:.8rem;color:#dc3545;overflow-x:auto;white-space:pre-wrap;word-break:break-word}@media (max-width: 768px){.error-boundary{padding:1rem}.error-boundary-content{padding:1.5rem}.error-boundary-icon{font-size:2.5rem}.error-boundary-title{font-size:1.25rem}.error-boundary-actions{flex-direction:column;align-items:center}.error-boundary-retry-button,.error-boundary-refresh-button{width:100%;max-width:200px}}.loading-spinner{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem}.loading-spinner-icon{display:flex;align-items:center;justify-content:center}.spinner{border:3px solid #f3f3f3;border-top:3px solid #007bff;border-radius:50%;animation:spin 1s linear infinite}.loading-spinner-small .spinner{width:20px;height:20px;border-width:2px}.loading-spinner-medium .spinner{width:40px;height:40px;border-width:3px}.loading-spinner-large .spinner{width:60px;height:60px;border-width:4px}.loading-spinner-message{color:#666;font-size:.9rem;text-align:center}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (prefers-color-scheme: dark){.sound-list-count{background:#1a202ccc;color:#e2e8f0;box-shadow:0 4px 12px #0000004d}.category-stat{background:#1a202ce6;border:1px solid rgba(255,255,255,.1);box-shadow:0 4px 12px #0000004d}.category-name{color:#e2e8f0}.category-count{color:#81c784;background:#81c7841a}.sound-item{background:#1a202ce6;border:1px solid rgba(255,255,255,.1);box-shadow:0 8px 32px #0000004d}.sound-item:hover{box-shadow:0 12px 40px #0006}.sound-item.playing{background:#48bb781a;border-color:#48bb78}.sound-item.error{background:#f565651a;border-color:#f56565}.sound-item-label{color:#e2e8f0}.sound-item-category{color:#a0aec0}.play-button{background:linear-gradient(135deg,#4a5568,#2d3748);background-color:#4a5568;box-shadow:0 4px 15px #4a55684d}.play-button:hover{background:linear-gradient(135deg,#718096,#4a5568);box-shadow:0 8px 25px #4a556866}.play-button.playing{background:linear-gradient(135deg,#48bb78,#38a169);background-color:#48bb78;box-shadow:0 4px 15px #48bb784d}.play-button.playing:hover{background:linear-gradient(135deg,#38a169,#2f855a);box-shadow:0 8px 25px #48bb7866}.play-button.error{background:linear-gradient(135deg,#f56565,#e53e3e);background-color:#f56565;box-shadow:0 4px 15px #f565654d}.play-button.error:hover{background:linear-gradient(135deg,#e53e3e,#c53030);box-shadow:0 8px 25px #f5656566}.sound-item-delete-button{background:#e53e3e}.sound-item-delete-button:hover{background:#c53030}.offline-indicator{background:linear-gradient(135deg,#e53e3e,#c53030);box-shadow:0 8px 32px #e53e3e4d}.error-boundary{background-color:#1a202c}.error-boundary-content{background:#2d3748;color:#e2e8f0}.error-boundary-title{color:#f56565}.error-boundary-message{color:#a0aec0}.error-boundary-stack{background:#1a202c;color:#f56565}}.recording-panel{background:#ffffffe6;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:16px;padding:1.5rem;margin-bottom:2rem;box-shadow:0 8px 32px #0000001a;border:1px solid rgba(255,255,255,.3)}.recording-controls h3{font-size:1.25rem;font-weight:700;color:#2d3748;margin-bottom:1rem;text-align:center}.recording-permission{text-align:center;padding:1rem;background:#ffc1071a;border-radius:12px;border:1px solid rgba(255,193,7,.3);margin-bottom:1rem}.recording-permission p{color:#856404;margin-bottom:1rem;font-weight:500}.recording-permission-button{background:linear-gradient(135deg,#ffc107,#ff8f00);color:#212529;border:none;padding:.75rem 1.5rem;border-radius:12px;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 15px #ffc1074d}.recording-permission-button:hover{transform:translateY(-2px);box-shadow:0 8px 25px #ffc10766}.recording-error{background:#f565651a;border:1px solid rgba(245,101,101,.3);border-radius:12px;padding:1rem;margin-bottom:1rem;text-align:center}.recording-error p{color:#c53030;margin-bottom:.5rem;font-weight:500}.recording-error-dismiss{background:transparent;color:#c53030;border:1px solid #c53030;padding:.5rem 1rem;border-radius:8px;font-size:.8rem;cursor:pointer;transition:all .2s ease}.recording-error-dismiss:hover{background:#c53030;color:#fff}.recording-actions{text-align:center}.recording-start-button{background:linear-gradient(135deg,#e53e3e,#c53030);color:#fff;border:none;padding:1rem 2rem;border-radius:12px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 15px #e53e3e4d}.recording-start-button:hover{transform:translateY(-2px);box-shadow:0 8px 25px #e53e3e66}.recording-active{text-align:center}.recording-status{margin-bottom:1rem}.recording-indicator{display:flex;align-items:center;justify-content:center;gap:.5rem;margin-bottom:.5rem}.recording-pulse{width:12px;height:12px;background:#e53e3e;border-radius:50%;animation:pulse 1.5s ease-in-out infinite}@keyframes pulse{0%{transform:scale(1);opacity:1}50%{transform:scale(1.2);opacity:.7}to{transform:scale(1);opacity:1}}.recording-duration{font-size:1.5rem;font-weight:700;color:#2d3748;font-family:Courier New,monospace}.recording-controls-active{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.recording-pause-button,.recording-stop-button{padding:.75rem 1.5rem;border:none;border-radius:12px;font-weight:600;cursor:pointer;transition:all .3s ease;min-width:120px}.recording-pause-button{background:linear-gradient(135deg,#ffc107,#ff8f00);color:#212529;box-shadow:0 4px 15px #ffc1074d}.recording-pause-button:hover{transform:translateY(-2px);box-shadow:0 8px 25px #ffc10766}.recording-stop-button{background:linear-gradient(135deg,#e53e3e,#c53030);color:#fff;box-shadow:0 4px 15px #e53e3e4d}.recording-stop-button:hover{transform:translateY(-2px);box-shadow:0 8px 25px #e53e3e66}.recording-label-prompt{text-align:center}.recording-label-prompt h3{font-size:1.25rem;font-weight:700;color:#2d3748;margin-bottom:.5rem}.recording-label-prompt p{color:#4a5568;margin-bottom:1rem}.recording-label-input{width:100%;max-width:300px;padding:.75rem 1rem;border:2px solid #e2e8f0;border-radius:12px;font-size:1rem;margin-bottom:1.5rem;transition:border-color .3s ease}.recording-label-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.recording-label-actions{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.recording-cancel-button,.recording-save-button{padding:.75rem 1.5rem;border:none;border-radius:12px;font-weight:600;cursor:pointer;transition:all .3s ease;min-width:120px}.recording-cancel-button{background:#6c757d;color:#fff}.recording-cancel-button:hover{background:#545b62;transform:translateY(-2px)}.recording-save-button{background:linear-gradient(135deg,#48bb78,#38a169);color:#fff;box-shadow:0 4px 15px #48bb784d}.recording-save-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 25px #48bb7866}.recording-save-button:disabled{opacity:.6;cursor:not-allowed;transform:none}@media (max-width: 768px){.recording-panel{padding:1rem;margin-bottom:1.5rem}.recording-controls h3{font-size:1.1rem}.recording-start-button{padding:.875rem 1.5rem;font-size:1rem}.recording-controls-active{flex-direction:column;align-items:center}.recording-pause-button,.recording-stop-button{width:100%;max-width:200px}.recording-label-actions{flex-direction:column;align-items:center}.recording-cancel-button,.recording-save-button{width:100%;max-width:200px}}@media (prefers-color-scheme: dark){.recording-panel{background:#1a202ce6;border:1px solid rgba(255,255,255,.1);box-shadow:0 8px 32px #0000004d}.recording-controls h3,.recording-duration,.recording-label-prompt h3{color:#e2e8f0}.recording-label-prompt p{color:#a0aec0}.recording-label-input{background:#2d3748;border-color:#4a5568;color:#e2e8f0}.recording-label-input:focus{border-color:#81c784;box-shadow:0 0 0 3px #81c7841a}}@media (prefers-contrast: high){.sound-item{border:2px solid #000}.play-button.idle,.play-button.playing{background:#000;border-color:#000}.offline-indicator{background:#000;border:2px solid #fff}.error-boundary-content,.error-boundary-retry-button,.error-boundary-refresh-button{border:2px solid #000}.spinner{border-color:#000;border-top-color:#fff}.recording-panel,.recording-label-input,.file-upload-panel,.file-upload-label-input,.file-upload-category-select{border:2px solid #000}.sound-item-delete-button{background:#000;border:2px solid #fff}}.file-upload-panel{background:#ffffffe6;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:16px;padding:1.5rem;margin-bottom:2rem;box-shadow:0 8px 32px #0000001a;border:1px solid rgba(255,255,255,.3)}.file-upload-controls h3,.file-upload-form h3{font-size:1.25rem;font-weight:700;color:#2d3748;margin-bottom:1rem;text-align:center}.file-upload-controls p,.file-upload-form p{color:#4a5568;margin-bottom:1rem;text-align:center}.file-upload-error{background:#f565651a;border:1px solid rgba(245,101,101,.3);border-radius:12px;padding:1rem;margin-bottom:1rem;text-align:center}.file-upload-error p{color:#c53030;margin-bottom:.5rem;font-weight:500}.file-upload-error-dismiss{background:transparent;color:#c53030;border:1px solid #c53030;padding:.5rem 1rem;border-radius:8px;font-size:.8rem;cursor:pointer;transition:all .2s ease}.file-upload-error-dismiss:hover{background:#c53030;color:#fff}.file-upload-button{background:linear-gradient(135deg,gold,#ff6b35,#8a2be2,#00bfff,gold);background-size:300% 300%;color:#000;border:none;padding:1rem 2rem;border-radius:15px;font-size:1.1rem;font-weight:800;cursor:pointer;transition:all .4s ease;box-shadow:0 8px 25px #ffd70066,0 0 0 2px #fff3,inset 0 1px #ffffff4d;text-transform:uppercase;letter-spacing:.5px;position:relative;overflow:hidden;animation:gradientShift 3s ease-in-out infinite;display:block;margin:0 auto 1rem}.file-upload-button:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.4),transparent);transition:left .6s ease}.file-upload-button:hover:not(:disabled){transform:translateY(-3px) scale(1.02);box-shadow:0 15px 35px #ffd70099,0 0 0 3px #ffffff4d,inset 0 1px #fff6;animation-duration:1s}.file-upload-button:hover:not(:disabled):before{left:100%}.file-upload-button:active{transform:translateY(-1px) scale(.98);box-shadow:0 5px 15px #ffd70066,0 0 0 2px #fff3}.file-upload-button:disabled{opacity:.6;cursor:not-allowed;transform:none;animation:none}.file-upload-info{text-align:center;font-size:.85rem;color:#6b7280;line-height:1.4}.file-upload-info p{margin-bottom:.25rem}.ios-note{background:#ffc1071a;border:1px solid rgba(255,193,7,.3);border-radius:8px;padding:.75rem;margin-top:1rem;font-size:.9rem;color:#856404;font-weight:500}.file-upload-form{text-align:left}.file-upload-list{margin-bottom:1.5rem}.file-upload-item{background:#ffffffb3;border-radius:12px;padding:1rem;margin-bottom:1rem;border:1px solid rgba(0,0,0,.1)}.file-upload-preview{display:flex;align-items:center;gap:1rem;margin-bottom:1rem}.file-upload-icon{font-size:2rem;flex-shrink:0}.file-upload-info{flex:1;min-width:0}.file-upload-name{font-weight:600;color:#2d3748;margin-bottom:.25rem;word-break:break-word}.file-upload-details{font-size:.85rem;color:#6b7280}.file-upload-remove{background:#f56565;color:#fff;border:none;border-radius:50%;width:24px;height:24px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:.8rem;transition:all .2s ease;flex-shrink:0}.file-upload-remove:hover{background:#e53e3e;transform:scale(1.1)}.file-upload-fields{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.file-upload-field{display:flex;flex-direction:column;gap:.5rem}.file-upload-field label{font-weight:600;color:#2d3748;font-size:.9rem}.file-upload-label-input,.file-upload-category-select{padding:.75rem;border:2px solid #e2e8f0;border-radius:8px;font-size:.9rem;transition:border-color .3s ease;background:#fff}.file-upload-label-input:focus,.file-upload-category-select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.file-upload-actions{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.file-upload-cancel-button,.file-upload-save-button{padding:.75rem 1.5rem;border:none;border-radius:12px;font-weight:600;cursor:pointer;transition:all .3s ease;min-width:120px}.file-upload-cancel-button{background:#6c757d;color:#fff}.file-upload-cancel-button:hover{background:#545b62;transform:translateY(-2px)}.file-upload-save-button{background:linear-gradient(135deg,#48bb78,#38a169);color:#fff;box-shadow:0 4px 15px #48bb784d}.file-upload-save-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 25px #48bb7866}.file-upload-save-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.ios-instructions{background:linear-gradient(135deg,#0f0f23,#1a1a2e,#16213e 50%,#0f0f23);border:2px solid transparent;background-clip:padding-box;border-radius:20px;padding:2rem;margin-top:1.5rem;text-align:left;position:relative;overflow:hidden;box-shadow:0 20px 40px #000c,0 0 0 1px #ffffff1a,inset 0 1px #fff3}.ios-instructions:before{content:"";position:absolute;inset:0;background:linear-gradient(45deg,#ffd7001a,#ff45001a,#8a2be21a,#00bfff1a,#ffd7001a);border-radius:20px;z-index:-1;animation:shimmer 3s ease-in-out infinite}@keyframes shimmer{0%,to{opacity:.3}50%{opacity:.6}}.ios-instructions h4{background:linear-gradient(135deg,gold,#ff6b35,#8a2be2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;font-size:1.3rem;font-weight:800;margin-bottom:1.5rem;text-align:center;text-shadow:0 0 20px rgba(255,215,0,.5);letter-spacing:.5px}.ios-steps{margin-bottom:2rem}.ios-steps p{background:linear-gradient(135deg,#00bfff,#ff6b35);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;font-weight:700;margin-bottom:.75rem;margin-top:1.5rem;font-size:1.1rem;text-shadow:0 0 15px rgba(0,191,255,.3)}.ios-steps p:first-child{margin-top:0}.ios-steps ol{color:#e0e6ed;margin-left:1.5rem;margin-bottom:1.5rem;text-shadow:0 1px 3px rgba(0,0,0,.5)}.ios-steps li{margin-bottom:.75rem;line-height:1.6;font-weight:500;position:relative}.ios-steps li::marker{color:gold;font-weight:700}.ios-instructions-close{background:linear-gradient(135deg,gold,#ff6b35,#8a2be2,#00bfff,gold);background-size:300% 300%;color:#000;border:none;padding:1rem 2rem;border-radius:15px;font-weight:800;font-size:1.1rem;cursor:pointer;transition:all .4s ease;width:100%;text-transform:uppercase;letter-spacing:1px;position:relative;overflow:hidden;box-shadow:0 8px 25px #ffd70066,0 0 0 2px #fff3,inset 0 1px #ffffff4d;animation:gradientShift 2s ease-in-out infinite}@keyframes gradientShift{0%,to{background-position:0% 50%}50%{background-position:100% 50%}}.ios-instructions-close:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.4),transparent);transition:left .6s ease}.ios-instructions-close:hover{transform:translateY(-3px) scale(1.02);box-shadow:0 15px 35px #ffd70099,0 0 0 3px #ffffff4d,inset 0 1px #fff6;animation-duration:1s}.ios-instructions-close:hover:before{left:100%}.ios-instructions-close:active{transform:translateY(-1px) scale(.98);box-shadow:0 5px 15px #ffd70066,0 0 0 2px #fff3}@media (max-width: 768px){.file-upload-panel{padding:1rem;margin-bottom:1.5rem}.file-upload-controls h3,.file-upload-form h3{font-size:1.1rem}.file-upload-button{padding:.875rem 1.5rem;font-size:1rem}.file-upload-fields{grid-template-columns:1fr}.file-upload-actions{flex-direction:column;align-items:center}.file-upload-cancel-button,.file-upload-save-button{width:100%;max-width:200px}.ios-instructions{padding:1.5rem;margin-top:1rem;border-radius:16px}.ios-instructions h4{font-size:1.2rem;margin-bottom:1.25rem}.ios-steps p{font-size:1rem;margin-top:1.25rem}.ios-instructions-close{padding:.875rem 1.5rem;font-size:1rem;border-radius:12px}}@media (prefers-color-scheme: dark){.file-upload-panel{background:#1a202ce6;border:1px solid rgba(255,255,255,.1);box-shadow:0 8px 32px #0000004d}.file-upload-controls h3,.file-upload-form h3{color:#e2e8f0}.file-upload-controls p,.file-upload-form p,.file-upload-info{color:#a0aec0}.file-upload-item{background:#1a202cb3;border:1px solid rgba(255,255,255,.1)}.file-upload-name{color:#e2e8f0}.file-upload-details{color:#a0aec0}.file-upload-field label{color:#e2e8f0}.file-upload-label-input,.file-upload-category-select{background:#2d3748;border-color:#4a5568;color:#e2e8f0}.file-upload-label-input:focus,.file-upload-category-select:focus{border-color:#81c784;box-shadow:0 0 0 3px #81c7841a}.ios-note{background:#ffc10726;border-color:#ffc10766;color:#fbbf24}}@media (min-width: 320px){.app-header h1{font-size:1.25rem}.sound-list-header h2{font-size:1.1rem}.category-stat{font-size:.7rem;padding:.375rem .5rem}}@media (min-width: 480px){.app-header h1{font-size:1.5rem}.sound-list-header h2{font-size:1.25rem}.category-stat{font-size:.75rem;padding:.5rem .75rem}.play-button{min-width:110px;padding:.75rem 1.5rem}}@media (min-width: 768px){.app{max-width:768px;margin:0 auto}.app-header,.app-main{padding:1.5rem}.sound-list-header h2{font-size:1.5rem}.category-stats{gap:1rem}.category-stat{font-size:.8rem;padding:.5rem .75rem}.sound-item-content{padding:1rem}.play-button{min-width:120px;padding:.75rem 1.5rem}}@media (min-width: 1024px){.app{max-width:1024px}.sound-list-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1rem}.sound-item{max-width:100%}}@media (min-width: 1200px){.app{max-width:1200px}.sound-list-items{grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:1.5rem}}@media (orientation: landscape) and (max-height: 500px){.app-header{padding:.5rem 1rem}.app-header h1{font-size:1.1rem}.sound-list-header{margin-bottom:1rem}.sound-list-header h2{font-size:1.1rem}.category-stats{margin-bottom:.5rem}.sound-item-content{padding:.5rem;min-height:50px}.play-button{min-height:40px;padding:.5rem 1rem;font-size:.8rem}}@media (-webkit-min-device-pixel-ratio: 2),(min-resolution: 192dpi){.sound-item,.play-button{border-width:.5px}}@media (prefers-color-scheme: dark){body{background-color:#1a1a1a;color:#e0e0e0}.app-header{background-color:#2d2d2d;color:#e0e0e0}.sound-item{background:#2d2d2d;border-color:#404040}.sound-item:hover{background:#3a3a3a}.category-stat{background:#3a3a3a;border-color:#404040;color:#e0e0e0}.play-button.idle{background:#06c;border-color:#06c}.play-button.playing{background:#c30;border-color:#c30}}@media (prefers-reduced-motion: reduce){.sound-item,.play-button{transition:none}.sound-wave span{animation:none}.sound-list-items{scroll-behavior:auto}}@media print{.app-header{background:#fff;color:#000;box-shadow:none}.sound-item{break-inside:avoid;box-shadow:none;border:1px solid #ccc}.play-button,.sound-item-playing-indicator{display:none}}*{margin:0;padding:0;box-sizing:border-box}html{font-size:16px;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:linear-gradient(135deg,#667eea,#764ba2);color:#2d3748;line-height:1.6;overflow-x:hidden;min-height:100vh;transition:background .3s ease,color .3s ease}@media (prefers-color-scheme: dark){body{background:linear-gradient(135deg,#1a202c,#2d3748);color:#e2e8f0}}.app{min-height:100vh;display:flex;flex-direction:column}.app-header{background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:1.5rem;box-shadow:0 8px 32px #0000001a;position:sticky;top:0;z-index:100;border-bottom:1px solid rgba(255,255,255,.2);transition:background .3s ease,border-color .3s ease}.app-header h1{font-size:1.75rem;font-weight:700;text-align:center;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;text-shadow:0 2px 4px rgba(0,0,0,.1)}@media (prefers-color-scheme: dark){.app-header{background:#1a202cf2;border-bottom:1px solid rgba(255,255,255,.1);box-shadow:0 8px 32px #0000004d}.app-header h1{background:linear-gradient(135deg,#81c784,#4fc3f7);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}}.app-main{flex:1;padding:1rem;max-width:100%;overflow-x:hidden}@media (max-width: 768px){.app-header{padding:.75rem}.app-header h1{font-size:1.25rem}.app-main{padding:.75rem}}button{border:none;background:none;cursor:pointer;font-family:inherit;font-size:inherit;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:focus{outline:2px solid #007bff;outline-offset:2px}@media (prefers-reduced-motion: reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}@media (prefers-contrast: high){body{background-color:#fff;color:#000}.app-header{background-color:#000;color:#fff}}@media (prefers-contrast: high) and (prefers-color-scheme: dark){body{background-color:#000;color:#fff}.app-header{background-color:#fff;color:#000}}
