/* 非嵌入的单视频分享：独立外部控制栏，Artplayer 继续负责媒体和全屏。 */
body.is-share-play.is-single-video { background: #172138; color: #f7f8ff; color-scheme: dark; }
body.is-share-play.is-single-video .play-shell { background: none; min-height: 100svh; min-height: 100dvh; }
body.is-share-play.is-single-video .play-shell::before { display: none; }
body.is-share-play.is-single-video .play-shell-inner { max-width: none; margin: 0; padding: 0; }
.single-video { position: relative; --vp-progress: 0%; --vp-gradient: linear-gradient(90deg, #79ddff, #969dff 55%, #c0a0ff); font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; color: #f7f8ff; }
.single-video *, .single-video *::before, .single-video *::after { box-sizing: border-box; }
.sv-backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: radial-gradient(ellipse at 90% 35%, #805d77, transparent 65%), radial-gradient(ellipse at 0% 10%, #48608c, transparent 65%), #172138; }
.sv-backdrop img { width: 100%; height: 100%; object-fit: cover; filter: blur(48px) saturate(.7); transform: scale(1.18); opacity: .65; }
.sv-backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #101a3159, #101a3170 50%, #10192df0); }
.sv-content { display: flex; flex-direction: column; width: min(100%, 800px); min-height: 100vh; min-height: 100dvh; margin: 0 auto; padding: calc(16px + env(safe-area-inset-top)) 12px calc(16px + env(safe-area-inset-bottom)); }
.sv-header { flex: none; text-align: center; font-size: 19px; font-weight: 600; line-height: 1.4; letter-spacing: .03em; }
.sv-header span { display: block; margin-top: 3px; font-size: 11px; font-weight: 400; color: #d4dcf0b8; letter-spacing: .12em; }
.sv-title { margin: clamp(28px, 5svh, 48px) 12px 24px; font-size: clamp(24px, 6.3vw, 31px); line-height: 1.4; font-weight: 650; letter-spacing: .02em; }
.sv-title-viewport { display: block; min-width: 0; max-width: 100%; overflow: hidden; scrollbar-width: none; -ms-overflow-style: none; }
.sv-title-viewport::-webkit-scrollbar { display: none; width: 0; height: 0; }
.sv-title-track { display: flex; width: max-content; }
.sv-title-text, .sv-title-copy { display: block; flex: none; white-space: nowrap; }
.sv-title-copy { display: none; padding-left: 36px; }
.sv-title.is-overflow .sv-title-copy { display: block; }
.sv-title.is-overflow .sv-title-track { animation: sv-marquee var(--marquee-duration, 16s) linear infinite; }
.sv-title-viewport:focus-visible .sv-title-track { animation-play-state: paused; }
@keyframes sv-marquee { 0%, 4% { transform: translateX(0); } 96%, 100% { transform: translateX(calc(-1 * var(--marquee-distance))); } }
.sv-player { flex: none; width: 100%; }
.sv-frame { position: relative; width: 100%; aspect-ratio: var(--video-ratio, 16 / 9); margin: 0 auto; background: #050810; border-radius: 10px; overflow: hidden; box-shadow: 0 16px 45px #080f2529; }
.sv-frame #video_player { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
.sv-frame .art-video { object-fit: contain !important; }
.sv-overlay-play { position: absolute; top: 50%; left: 50%; z-index: 5; display: grid; place-items: center; width: 62px; height: 62px; padding: 0 0 0 3px; transform: translate(-50%, -50%); border: 1px solid #ffffff1f; border-radius: 50%; background: #1218278c; color: #fff; font-size: 35px; cursor: pointer; }
.sv-quality { position: absolute; top: 10px; right: 10px; z-index: 5; padding: 3px 7px; border-radius: 5px; background: #10172c99; font-size: 11px; color: #f1f4ff; pointer-events: none; }
.sv-quality[hidden], .single-video.is-playing .sv-overlay-play, .single-video.is-fullscreen .sv-overlay-play, .single-video.is-fullscreen .sv-quality { display: none; }
/* 页面只露出一组控制；进入全屏后使用播放器内部的触摸控制。 */
.single-video:not(.is-fullscreen) .sv-frame .art-controls,
.single-video:not(.is-fullscreen) .sv-frame .art-bottom,
.single-video:not(.is-fullscreen) .sv-frame .art-state { display: none !important; }
.single-video:not(.is-fullscreen):not(.is-playing) .sv-frame .art-loading { display: none !important; }
.sv-seek-wrap { position: relative; height: 28px; margin: 18px 12px 0; }
.sv-seek-track { position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 4px; overflow: hidden; background: #edf1ff40; }
.sv-seek-buffer { position: absolute; inset: 0 auto 0 0; width: 0; background: #ffffff1a; }
.sv-seek-fill { position: absolute; inset: 0; background: var(--vp-gradient); clip-path: inset(0 calc(100% - var(--vp-progress)) 0 0); }
.sv-seek-thumb { position: absolute; left: var(--vp-progress); top: 14px; width: 12px; height: 12px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; box-shadow: 0 2px 7px #11182744; pointer-events: none; }
.sv-seek { position: absolute; top: 0; left: -10px; width: calc(100% + 20px); height: 100%; margin: 0; padding: 0; appearance: none; -webkit-appearance: none; background: transparent; cursor: pointer; touch-action: pan-y; }
.sv-seek::-webkit-slider-runnable-track { height: 4px; background: transparent; }
.sv-seek::-moz-range-track { height: 4px; background: transparent; }
.sv-seek::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border: 0; background: transparent; }
.sv-seek::-moz-range-thumb { width: 20px; height: 20px; border: 0; background: transparent; }
.sv-times { display: flex; justify-content: space-between; margin: 0 12px; color: #edf0ffde; font-size: 12px; font-variant-numeric: tabular-nums; }
.sv-controls { display: flex; justify-content: space-between; align-items: center; margin: 16px 6px 0; }
.sv-controls button, .sv-controls a { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0; border: 0; background: none; color: #f4f6ff; font-size: 27px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sv-controls .sv-download { font-size: 23px; }
.sv-controls .sv-rate { font-size: 16px; }
@media (max-width: 359px) { .sv-controls { margin-left: -6px; margin-right: -6px; } }
.sv-controls button:disabled { opacity: .35; cursor: default; }
.sv-controls button:active:not(:disabled) { transform: scale(.94); }
.sv-status { min-height: 18px; margin: 5px 12px 0; text-align: center; font-size: 12px; color: #dfe7f5cc; }
.sv-info { flex: none; margin: 8px 12px 0; padding-top: 18px; border-top: 1px solid #e5edff26; }
.sv-author { display: flex; align-items: center; gap: 11px; }
.sv-author img { flex: none; border-radius: 50%; object-fit: cover; }
.sv-author > div { min-width: 0; }
.sv-author span { display: block; font-size: 11px; color: #d5ddefb3; }
.sv-author strong { display: block; margin-top: 4px; font-size: 15px; font-weight: 550; overflow-wrap: anywhere; }
.sv-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin: 20px 0 0; text-align: left; font-size: 12px; line-height: 1.6; color: #edf1ffdc; }
.sv-details > div { display: flex; min-width: 0; }
.sv-details dt { flex: none; color: #d4dcecb3; }
.sv-details dd { margin: 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.sv-footer { margin-top: auto; padding-top: 36px; text-align: center; font-size: 11px; color: #d2dbed91; }
.sv-web-exit { position: fixed; top: calc(10px + env(safe-area-inset-top)); right: calc(12px + env(safe-area-inset-right)); z-index: 2147483647; display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid #ffffff40; border-radius: 8px; background: #10192dcc; color: #fff; cursor: pointer; }
.sv-web-exit[hidden] { display: none; }
.single-video.is-web-fullscreen .art-control-fullscreen { display: none !important; }
.sv-controls button:focus-visible, .sv-controls a:focus-visible, .sv-seek:focus-visible, .sv-overlay-play:focus-visible { outline: 2px solid #a0ddff; outline-offset: 3px; border-radius: 6px; }
@media (max-height: 680px) { .sv-title { margin-top: 18px; margin-bottom: 16px; font-size: 23px; } .sv-seek-wrap { margin-top: 12px; } .sv-controls { margin-top: 8px; } .sv-info { padding-top: 14px; } .sv-footer { padding-top: 24px; } }
/* 标题明确采用跑马灯；减少动画时放慢，始终不切换为带滚动条的容器。 */
@media (prefers-reduced-motion: reduce) { .sv-controls button:active:not(:disabled) { transform: none; } .sv-title.is-overflow .sv-title-track { animation-duration: var(--marquee-slow-duration, 24s); } }
