*{box-sizing:border-box;margin:0;padding:0}:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:dark;color:#ffffffde;background-color:#0f172a;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;min-width:320px;min-height:100vh}.scrollbar-thin{scrollbar-width:thin}.scrollbar-thin::-webkit-scrollbar{width:8px;height:8px}.scrollbar-thin::-webkit-scrollbar-track{background:transparent}.scrollbar-thin::-webkit-scrollbar-thumb{background-color:#475569;border-radius:4px}.scrollbar-thin::-webkit-scrollbar-thumb:hover{background-color:#64748b}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes slide-in-from-right{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.animate-in{animation-fill-mode:both}.fade-in{animation:fade-in .3s ease-out}.slide-in-from-right{animation:slide-in-from-right .3s ease-out}button:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}input:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}.onscreen-recorder-container{min-height:100vh;background:linear-gradient(to bottom right,#111827,#1f2937,#111827);padding:1.5rem;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}.onscreen-recorder-container.onscreen-recorder-embed{min-height:0;padding:1rem}.onscreen-recorder-wrapper{max-width:1200px;margin:0 auto}.onscreen-recorder-header{text-align:center;margin-bottom:1.5rem}.onscreen-recorder-embed .onscreen-recorder-header{margin-bottom:1rem}.onscreen-recorder-title{font-size:1.75rem;font-weight:700;color:#fff;margin:0 0 .5rem;display:flex;align-items:center;justify-content:center;gap:.5rem}.onscreen-recorder-embed .onscreen-recorder-title{font-size:1.25rem}.onscreen-recorder-title-icon{width:2rem;height:2rem;color:#60a5fa;flex-shrink:0}.onscreen-recorder-embed .onscreen-recorder-title-icon{width:1.5rem;height:1.5rem}.onscreen-recorder-subtitle{color:#9ca3af;font-size:.9375rem;margin:0}.onscreen-recorder-grid{display:grid;grid-template-columns:1fr;gap:1.5rem}@media(min-width:1024px){.onscreen-recorder-grid:not(.onscreen-recorder-grid-single){grid-template-columns:repeat(2,1fr)}}.onscreen-recorder-grid-single{max-width:100%}.onscreen-recorder-card{background-color:#1f2937;border-radius:.5rem;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;padding:1.5rem;border:1px solid #374151}.onscreen-recorder-card-title{font-size:1.125rem;font-weight:600;color:#fff;margin:0 0 .5rem}.onscreen-recorder-card-hint{font-size:.875rem;color:#9ca3af;margin:0 0 1rem;line-height:1.4}.onscreen-recorder-controls{display:flex;flex-direction:column;gap:1rem}.onscreen-recorder-toggles{display:flex;flex-wrap:wrap;gap:.5rem}.onscreen-recorder-toggle{display:inline-flex;align-items:center;gap:.375rem;padding:.5rem .75rem;font-size:.875rem;font-weight:500;color:#9ca3af;background:#374151;border:1px solid #4b5563;border-radius:.5rem;cursor:pointer;transition:background-color .2s,border-color .2s,color .2s}.onscreen-recorder-toggle:hover{background:#4b5563;color:#d1d5db}.onscreen-recorder-toggle-on{background:#16a34a33;border-color:#16a34a;color:#86efac}.onscreen-recorder-toggle-on:hover{background:#16a34a4d}.onscreen-recorder-actions{margin-top:.25rem}.onscreen-recorder-button-group{display:flex;flex-wrap:wrap;gap:.75rem}.onscreen-recorder-toolbar{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.onscreen-recorder-button{font-weight:600;padding:.75rem 1.5rem;border-radius:.5rem;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:.5rem;border:none;cursor:pointer;font-size:1rem}.onscreen-recorder-button-primary{flex:1;background-color:#2563eb;color:#fff}.onscreen-recorder-button-primary:hover{background-color:#1d4ed8}.onscreen-recorder-button-secondary{background-color:#4b5563;color:#fff}.onscreen-recorder-button-secondary:hover{background-color:#374151}.onscreen-recorder-button-success{flex:1;background-color:#16a34a;color:#fff}.onscreen-recorder-button-success:hover{background-color:#15803d}.onscreen-recorder-button-purple{flex:1;background-color:#9333ea;color:#fff}.onscreen-recorder-button-purple:hover{background-color:#7e22ce}.onscreen-recorder-button-purple:disabled,.onscreen-recorder-button-disabled{background-color:#4b5563;cursor:not-allowed;opacity:.6}.onscreen-recorder-button-danger{flex:1;background-color:#dc2626;color:#fff}.onscreen-recorder-button-danger:hover{background-color:#b91c1c}.onscreen-recorder-button-small{font-size:.875rem;background-color:#374151;color:#fff;padding:.25rem .75rem;border-radius:.375rem;transition:background-color .2s;border:none;cursor:pointer}.onscreen-recorder-button-small:hover{background-color:#4b5563}.onscreen-recorder-button-icon{width:1.25rem;height:1.25rem}.onscreen-recorder-button-label{font-variant-numeric:tabular-nums}.onscreen-recorder-camera-preview{margin-top:.5rem;padding:.75rem;background:#0f172a;border-radius:.5rem;border:1px solid #334155}.onscreen-recorder-camera-preview-label{font-size:.75rem;font-weight:500;color:#94a3b8;margin:0 0 .5rem;text-transform:uppercase;letter-spacing:.05em}.onscreen-recorder-camera-preview-video{display:block;width:100%;max-width:240px;aspect-ratio:4 / 3;border-radius:.375rem;background:#000;object-fit:cover}.onscreen-recorder-camera-section{margin-top:.5rem}.onscreen-recorder-recording{animation:onscreen-recorder-pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes onscreen-recorder-pulse{0%,to{opacity:1}50%{opacity:.8}}.onscreen-recorder-video-section{display:flex;flex-direction:column;gap:.75rem}.onscreen-recorder-video-title{font-size:1.125rem;font-weight:500;color:#fff;margin:0}.onscreen-recorder-video{width:100%;border-radius:.5rem;background-color:#000}.onscreen-recorder-empty-state{background-color:#374151;border-radius:.5rem;padding:2rem;text-align:center}.onscreen-recorder-empty-icon{width:3rem;height:3rem;color:#6b7280;margin:0 auto .75rem;display:block}.onscreen-recorder-empty-text{color:#9ca3af;margin:0}.onscreen-recorder-empty-subtext{color:#6b7280;font-size:.875rem;margin:.25rem 0 0}.onscreen-recorder-recording-indicator{background-color:#dc262633;border:1px solid #dc2626;border-radius:.5rem;padding:1.5rem;text-align:center}.onscreen-recorder-recording-dot{width:1rem;height:1rem;background-color:#dc2626;border-radius:50%;margin:0 auto .75rem;animation:onscreen-recorder-pulse 2s cubic-bezier(.4,0,.6,1) infinite}.onscreen-recorder-recording-text{color:#fca5a5;font-weight:600;margin:0}.onscreen-recorder-recording-subtext{color:#fecaca;font-size:.875rem;margin:.5rem 0 0}.onscreen-recorder-console-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.onscreen-recorder-console{background-color:#000;border-radius:.5rem;padding:1rem;height:24rem;overflow-y:auto;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:.875rem}.onscreen-recorder-console-empty{color:#6b7280;margin:0}.onscreen-recorder-logs{display:flex;flex-direction:column;gap:.5rem}.onscreen-recorder-log{display:flex;gap:.5rem}.onscreen-recorder-log-timestamp{color:#6b7280}.onscreen-recorder-log-icon{display:inline-block}.onscreen-recorder-log-icon-error{color:#f87171}.onscreen-recorder-log-icon-success{color:#86efac}.onscreen-recorder-log-icon-info{color:#93c5fd}.onscreen-recorder-log-message{flex:1}.onscreen-recorder-log-message-error{color:#fca5a5}.onscreen-recorder-log-message-success{color:#86efac}.onscreen-recorder-log-message-info{color:#d1d5db}.onscreen-recorder-countdown-overlay{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:1rem}.onscreen-recorder-countdown-backdrop{position:absolute;inset:0;background:#000000bf;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.onscreen-recorder-countdown-content{position:relative;text-align:center;padding:2.5rem 3rem;background:linear-gradient(145deg,#1f2937,#111827);border:2px solid #374151;border-radius:1rem;box-shadow:0 25px 50px -12px #00000080;min-width:18rem}.onscreen-recorder-countdown-label{color:#9ca3af;font-size:1rem;font-weight:500;margin:0 0 1rem}.onscreen-recorder-countdown-number{font-size:5rem;font-weight:800;line-height:1;color:#60a5fa;margin:0 0 .75rem;text-shadow:0 0 2rem rgba(96,165,250,.5);animation:onscreen-recorder-countdown-pop 1s cubic-bezier(.34,1.56,.64,1)}@keyframes onscreen-recorder-countdown-pop{0%{transform:scale(.5);opacity:0}70%{transform:scale(1.05);opacity:1}to{transform:scale(1);opacity:1}}.onscreen-recorder-countdown-hint{color:#6b7280;font-size:.875rem;margin:0 0 1.5rem}.onscreen-recorder-countdown-cancel{flex:none;margin:0 auto}.onscreen-recorder-preparing-indicator{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:#2563eb26;border:1px solid #3b82f6;border-radius:.5rem}.onscreen-recorder-preparing-dot{width:.5rem;height:.5rem;background:#60a5fa;border-radius:50%;animation:onscreen-recorder-pulse 1s ease-in-out infinite}.onscreen-recorder-preparing-text{color:#93c5fd;font-size:.875rem;font-weight:500;margin:0}
