/* Unified media player styles — shared by audio and video player pages. */ /* Media container */ .media-container { max-width: 680px; margin: 0 auto; padding: 3rem 1.5rem 5rem; } /* Author header */ .author-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; } .author-avatar { width: 48px; height: 48px; background: var(--surface-muted); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-size: 1.25rem; color: var(--detail); } .author-info { flex: 1; } .author-name { font-family: var(--font-mono); font-size: 1rem; color: var(--detail); } .author-name a { color: inherit; text-decoration: none; } .author-name a:hover { text-decoration: underline; } .media-meta { font-family: var(--font-mono); font-size: 0.875rem; color: var(--text-muted); } /* Title */ .media-title { font-family: var(--font-heading); font-size: 2.5rem; font-weight: normal; line-height: 1.2; margin-bottom: 1rem; color: var(--detail); text-align: left; } /* Series name */ .media-series { font-family: var(--font-mono); font-size: 0.9375rem; color: var(--text-muted); margin-bottom: 2.5rem; } .media-series a { color: var(--highlight); text-decoration: none; } .media-series a:hover { text-decoration: underline; } /* Cover art (audio) */ .cover-art { background: var(--surface-muted); aspect-ratio: 1; max-width: 400px; margin: 0 auto 2rem; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-family: var(--font-mono); } .cover-art img { width: 100%; height: 100%; object-fit: cover; } /* Video display */ .video-display { max-width: 100%; margin: 0 auto 2rem; background: var(--detail); } .video-display video { width: 100%; display: block; } /* Player controls */ .media-player { background: var(--light-background); padding: 1.5rem; margin-bottom: 2.5rem; } .player-controls { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; } .play-button { width: 56px; height: 56px; background: var(--primary-dark); color: var(--primary-light); border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; transition: opacity 0.2s ease; flex-shrink: 0; } .play-button:hover { opacity: 0.8; } .progress-container { flex: 1; } .progress-bar { height: 6px; background: var(--surface-muted); border-radius: 3px; overflow: hidden; cursor: pointer; margin-bottom: 0.5rem; position: relative; } .progress-fill { height: 100%; background: var(--highlight); width: 0%; border-radius: 3px; transition: width 0.1s linear; } .time-display { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.8125rem; color: var(--text-muted); } .player-secondary { display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; border-top: 1px solid var(--border); } .speed-control { font-family: var(--font-mono); font-size: 0.875rem; display: flex; align-items: center; gap: 0.5rem; } .speed-button { background: var(--surface-muted); border: none; padding: 0.375rem 0.75rem; font-family: var(--font-mono); font-size: 0.8125rem; cursor: pointer; color: var(--detail); } .speed-button:hover { background: var(--border); } .speed-button.is-selected { background: var(--primary-dark); color: var(--primary-light); } .volume-control { display: flex; align-items: center; gap: 0.5rem; } .volume-icon { color: var(--text-muted); } .volume-slider { width: 80px; height: 4px; background: var(--surface-muted); border-radius: 2px; appearance: none; cursor: pointer; } .volume-slider::-webkit-slider-thumb { appearance: none; width: 12px; height: 12px; background: var(--detail); border-radius: 50%; cursor: pointer; } .volume-slider::-moz-range-thumb { width: 12px; height: 12px; background: var(--detail); border-radius: 50%; cursor: pointer; border: none; } /* Description */ .media-description { font-family: var(--font-body); font-size: 1.125rem; line-height: 1.9; margin-bottom: 2rem; } .media-description p { margin-bottom: 1.5rem; } /* Chapters */ .chapters { background: var(--light-background); padding: 1.5rem; margin-bottom: 2rem; } .chapters h3 { font-family: var(--font-mono); font-size: 1rem; font-weight: normal; margin-bottom: 1rem; color: var(--detail); } .chapter-list { list-style: none; } .chapter-item { display: flex; justify-content: space-between; padding: 0.75rem 0; border-bottom: 1px solid var(--border); cursor: pointer; transition: background 0.2s ease; } .chapter-item:last-child { border-bottom: none; } .chapter-item:hover { background: var(--surface-muted); margin: 0 -1.5rem; padding-left: 1.5rem; padding-right: 1.5rem; } .chapter-title { font-family: var(--font-body); color: var(--detail); } .chapter-time { font-family: var(--font-mono); font-size: 0.875rem; color: var(--text-muted); } /* Tags */ .media-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border); } .tag { font-family: var(--font-mono); background: var(--surface-muted); color: var(--detail); padding: 0.375rem 0.75rem; font-size: 0.8125rem; } /* Footer */ .media-player-footer { font-family: var(--font-mono); text-align: center; padding: 2rem; font-size: 0.875rem; color: var(--text-muted); border-top: 1px solid var(--border); } .media-player-footer a { color: var(--detail); text-decoration: none; } .media-player-footer a:hover { text-decoration: underline; } /* Hidden media elements */ audio { display: none; } /* Skip button for insertion segments */ .skip-insertion { font-family: var(--font-mono); font-size: 0.8125rem; background: var(--surface-muted); border: 1px solid var(--border); padding: 0.375rem 0.75rem; cursor: pointer; color: var(--detail); display: none; margin-top: 0.5rem; } .skip-insertion:hover { background: var(--border); } /* Insertion label shown during playback */ .insertion-label { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--text-muted); font-style: italic; display: none; margin-top: 0.25rem; } /* Responsive */ @media (max-width: 600px) { .media-title { font-size: 2rem; } .cover-art { max-width: 100%; } .player-secondary { flex-direction: column; gap: 1rem; align-items: flex-start; } }