/** * KV-Tube Closed Captions Styles * Styling for CC overlay and controls */ /* CC Overlay Container */ .cc-overlay { position: absolute; bottom: 60px; left: 50%; transform: translateX(-50%); max-width: 90%; z-index: 100; pointer-events: none; transition: opacity 0.3s ease; } .cc-overlay.hidden { opacity: 0; } /* CC Text */ .cc-text { background: rgba(0, 0, 0, 0.75); color: #fff; padding: 8px 16px; border-radius: 4px; font-size: 18px; line-height: 1.4; text-align: center; max-width: 800px; word-wrap: break-word; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); } /* CC Button State */ .yt-action-btn.cc-active { color: #fff !important; background: #3ea6ff !important; } /* CC Button Icon */ .cc-btn-icon { display: flex; align-items: center; gap: 4px; } /* Loading state */ .cc-loading { font-style: italic; opacity: 0.7; } /* Mobile adjustments */ @media (max-width: 768px) { .cc-overlay { bottom: 50px; max-width: 95%; } .cc-text { font-size: 14px; padding: 6px 12px; } } /* Large screen */ @media (min-width: 1200px) { .cc-text { font-size: 22px; } }