.videoPlayer { border: 1px solid hsl(var(--border)); border-radius: 8px; background-color: hsl(var(--background)); margin: 16px 0; overflow: hidden; } .screen { position: relative; background-color: hsl(var(--muted)); min-height: 300px; display: flex; align-items: center; justify-content: center; } .screenImage { max-width: 100%; max-height: 400px; object-fit: contain; border-radius: 4px; } .textOverlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)); padding: 20px 16px 12px; color: white; } .thoughtText { font-size: 14px; line-height: 1.4; max-height: 100px; overflow-y: auto; } .controls { padding: 12px 16px; background-color: hsl(var(--card)); border-top: 1px solid hsl(var(--border)); } .timeline { position: relative; margin-bottom: 12px; } .timelineSlider { width: 100%; height: 4px; background-color: hsl(var(--muted)); border-radius: 2px; outline: none; cursor: pointer; -webkit-appearance: none; appearance: none; } .timelineSlider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 16px; height: 16px; border-radius: 50%; background-color: hsl(var(--primary)); cursor: pointer; border: 2px solid white; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); } .timelineSlider::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background-color: hsl(var(--primary)); cursor: pointer; border: 2px solid white; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); } .frameMarkers { position: absolute; top: -2px; left: 0; right: 0; height: 8px; display: flex; justify-content: space-between; pointer-events: none; } .frameMarker { width: 6px; height: 8px; border-radius: 1px; cursor: pointer; pointer-events: auto; transition: all 0.2s ease; } .frameMarker.hasImage { background-color: hsl(var(--primary)); } .frameMarker.textOnly { background-color: hsl(var(--muted-foreground)); } .frameMarker.active { background-color: hsl(var(--accent)) !important; transform: scaleY(1.5); } .frameMarker:hover { transform: scaleY(1.2); } .controlButtons { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; } .controlButton { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid hsl(var(--border)); border-radius: 4px; background-color: hsl(var(--background)); color: hsl(var(--foreground)); cursor: pointer; transition: all 0.2s ease; } .controlButton:hover:not(:disabled) { background-color: hsl(var(--muted)); } .controlButton:disabled { opacity: 0.5; cursor: not-allowed; } .controlButton.active { background-color: hsl(var(--primary)); color: hsl(var(--primary-foreground)); } .frameInfo { display: flex; justify-content: center; font-size: 12px; color: hsl(var(--muted-foreground)); } /* Dark mode adjustments */ @media (prefers-color-scheme: dark) { .textOverlay { background: linear-gradient(transparent, rgba(0, 0, 0, 0.9)); } }