/* ================= 网警110 · 竖版短视频 ================= */

/* 沉浸式（全屏视频页）状态栏 */
.device.immersive { background: #05080f; }
.device.immersive .statusbar { background: #05080f; color: #fff; }
.device.immersive .signal i { background: #fff; }
.device.immersive .battery { border-color: rgba(255, 255, 255, 0.6); }
.device.immersive .battery b { background: #fff; }
.device.immersive .battery::after { background: rgba(255, 255, 255, 0.55); }
.device.immersive .notch { display: none; }
.device.immersive .app-main { background: #05080f; }

/* ---------- 首页：竖版封面横滑条 ---------- */
.short-sec { margin-top: 2px; }
.short-bar { display: flex; align-items: center; justify-content: space-between; margin: 0 2px 9px; }
.sh-flag { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border-radius: 20px; background: #eef4ff; color: #1a5cff; font-size: 11.5px; font-weight: 600; letter-spacing: 0.3px; }
.sh-flag .ic { width: 13px; height: 13px; stroke-width: 2; }
.sh-all { display: inline-flex; align-items: center; gap: 1px; border: 0; background: none; padding: 0; font-size: 11.5px; color: #a2acbd; }
.short-strip { display: flex; gap: 9px; overflow-x: auto; margin: 0 -14px; padding: 2px 14px 4px; scroll-snap-type: x proximity; scrollbar-width: none; }
.short-strip::-webkit-scrollbar { display: none; }
.short-item { flex: 0 0 110px; width: 110px; border: 0; background: none; padding: 0; text-align: left; scroll-snap-align: start; }
.si-box { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: #0a1730; box-shadow: 0 7px 16px rgba(12, 28, 70, 0.2); transition: transform 0.14s; }
.si-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.short-item:active .si-box { transform: scale(0.98); }
.si-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(8, 18, 40, 0.38); border: 1px solid rgba(255, 255, 255, 0.5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); color: #fff; }
.si-play .ic { width: 14px; height: 14px; margin-left: 2px; }
.si-dur { position: absolute; right: 6px; bottom: 6px; font-size: 9.5px; color: #fff; background: rgba(6, 12, 26, 0.55); padding: 1.5px 5px; border-radius: 5px; letter-spacing: 0.3px; font-variant-numeric: tabular-nums; }
.si-cap { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 6px; font-size: 11.5px; line-height: 1.42; color: #2c3a52; }
.short-tip { display: flex; align-items: center; gap: 4px; margin: 9px 2px 0; font-size: 10.5px; color: #a2acbd; }
.short-tip .ic { width: 12px; height: 12px; }

/* ---------- 全屏竖滑视频流（手势位移，上下双向切换） ---------- */
.shorts { position: relative; height: 100%; background: #05080f; overflow: hidden; -webkit-user-select: none; user-select: none; }
.shorts-track { position: relative; height: 100%; display: flex; flex-direction: column; will-change: transform; transition: transform 0.38s cubic-bezier(0.22, 0.85, 0.26, 1); touch-action: none; }
.shorts-track.dragging { transition: none; }
.ss { position: relative; flex: 0 0 100%; height: 100%; width: 100%; overflow: hidden; }
/* 后台上传的真实视频：铺满整屏，等比裁切 */
.ss-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #05080f; display: block; }
.ss-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 8, 16, 0.42) 0%, rgba(4, 8, 16, 0) 26%, rgba(4, 8, 16, 0) 52%, rgba(4, 8, 16, 0.72) 88%, rgba(4, 8, 16, 0.92) 100%); pointer-events: none; }

.shorts-top { position: absolute; left: 0; right: 0; top: 0; height: 48px; display: flex; align-items: center; gap: 6px; padding: 0 8px; color: #fff; z-index: 6; }
.st-btn { width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(6, 12, 26, 0.28); color: #fff; display: grid; place-items: center; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.st-title { font-size: 14px; font-weight: 600; letter-spacing: 0.6px; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5); }
.st-count { margin-left: auto; font-size: 10.5px; color: rgba(255, 255, 255, 0.78); background: rgba(6, 12, 26, 0.32); padding: 3px 9px; border-radius: 20px; font-variant-numeric: tabular-nums; }
.st-mute { width: 34px; height: 34px; opacity: 0.72; }
.st-mute .ic { width: 16px; height: 16px; }
.st-mute.on { opacity: 1; color: #8fd0ff; }

.shorts-hint { position: absolute; left: 50%; top: 56px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 3px; padding: 6px 12px; border-radius: 20px; background: rgba(6, 12, 26, 0.42); border: 1px solid rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.86); font-size: 11px; z-index: 6; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: opacity 0.4s; animation: hintFloat 1.9s ease-in-out infinite; }
.shorts-hint.off { opacity: 0; animation: none; }
@keyframes hintFloat { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -7px); } }

/* 左侧页码条：强调可上下双向切换 */
.ss-rail { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 4px; z-index: 6; padding: 4px 0; }
.ss-rail-dot { width: 16px; height: 12px; border: 0; padding: 0; background: none; display: grid; place-items: center; }
.ss-rail-dot::before { content: ""; width: 4px; height: 4px; border-radius: 3px; background: rgba(255, 255, 255, 0.38); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35); transition: height 0.24s, background 0.24s; }
.ss-rail-dot.on::before { height: 15px; background: #fff; }

.ss-center { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, 0.9); z-index: 5; opacity: 0; transition: opacity 0.2s; pointer-events: none; }
.ss-center .ic { width: 62px; height: 62px; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.5)); }
.shorts.paused .ss-center { opacity: 1; }

.ss-side { position: absolute; right: 10px; bottom: 92px; width: 52px; display: flex; flex-direction: column; align-items: center; gap: 17px; z-index: 4; }
.ss-ava { position: relative; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(150deg, #3d7bff, #1040c8); border: 1.5px solid rgba(255, 255, 255, 0.92); display: grid; place-items: center; font-size: 17px; font-weight: 700; color: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); }
.ss-ava-badge { position: absolute; right: -2px; bottom: -2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; color: #1a5cff; display: grid; place-items: center; }
.ss-ava-badge .ic { width: 10px; height: 10px; stroke-width: 3; }
.ss-act { border: 0; background: none; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; color: #fff; }
.act-ico { width: 34px; height: 34px; display: grid; place-items: center; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.55)); }
.act-ico .ic { width: 29px; height: 29px; stroke-width: 1.7; }
.act-ico.on { color: #ff4d5c; }
.act-ico.on .ic { fill: #ff4d5c; }
.act-num { font-size: 10.5px; color: rgba(255, 255, 255, 0.94); text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6); font-variant-numeric: tabular-nums; }
.ss-act.pop .act-ico { animation: likePop 0.42s cubic-bezier(0.2, 1.4, 0.4, 1); }
@keyframes likePop { 0% { transform: scale(1); } 38% { transform: scale(1.42); } 100% { transform: scale(1); } }
.ss-disc { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(150deg, #1c2b47, #0a1220); border: 1px solid rgba(255, 255, 255, 0.22); display: grid; place-items: center; color: rgba(255, 255, 255, 0.85); animation: discSpin 6s linear infinite; }
.ss-disc .ic { width: 19px; height: 19px; }
@keyframes discSpin { to { transform: rotate(360deg); } }

.ss-meta { position: absolute; left: 16px; right: 74px; bottom: 26px; color: #fff; z-index: 4; }
.ss-author { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; letter-spacing: 0.2px; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5); }
.ss-follow { border: 1px solid rgba(255, 255, 255, 0.72); background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 10.5px; height: 21px; padding: 0 9px; border-radius: 11px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.ss-follow.on { background: rgba(255, 255, 255, 0.9); color: #16233c; border-color: transparent; }
.ss-title { margin: 7px 0 0; font-size: 14px; line-height: 1.46; color: #fff; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55); }
.ss-tags { margin: 6px 0 0; font-size: 11.5px; color: rgba(255, 255, 255, 0.82); display: flex; flex-wrap: wrap; gap: 6px; }
.ss-music { margin: 7px 0 0; display: flex; align-items: center; gap: 5px; font-size: 10.5px; color: rgba(255, 255, 255, 0.7); white-space: nowrap; overflow: hidden; }
.ss-music .ic { flex: 0 0 auto; }
.ss-music > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; }
/* 来源标注（公开报道出处），与播放量同一层级 */
.ss-origin { margin: 7px 0 0; display: flex; align-items: flex-start; gap: 5px; font-size: 10px; color: rgba(255, 255, 255, 0.56); line-height: 1.45; }
.ss-origin .ic { flex: 0 0 auto; width: 12px; height: 12px; margin-top: 1px; }
.ss-plays { margin-left: auto; flex: 0 0 auto; color: rgba(255, 255, 255, 0.5); }

.ss-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2.5px; background: rgba(255, 255, 255, 0.14); z-index: 7; }
.ss-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #4d8bff, #9cc6ff); border-radius: 0 2px 2px 0; }
.ss:not(.on) .ss-progress i { width: 0 !important; }

/* ---------- 评论面板 ---------- */
.cmt-wrap { position: absolute; inset: 0; z-index: 20; pointer-events: none; opacity: 0; transition: opacity 0.2s; }
.cmt-wrap.show { pointer-events: auto; opacity: 1; }
.cmt-mask { position: absolute; inset: 0; background: rgba(4, 8, 16, 0.42); }
.cmt-sheet { position: absolute; left: 0; right: 0; bottom: 0; height: 64%; background: #fff; border-radius: 20px 20px 0 0; display: flex; flex-direction: column; transform: translateY(100%); transition: transform 0.28s cubic-bezier(0.22, 0.82, 0.26, 1); }
.cmt-wrap.show .cmt-sheet { transform: none; }
.cmt-head { display: flex; align-items: center; justify-content: center; padding: 14px 12px 10px; font-size: 13px; color: #4a576c; position: relative; border-bottom: 1px solid #f2f5fa; }
.cmt-head::before { content: ""; position: absolute; left: 50%; top: 6px; transform: translateX(-50%); width: 34px; height: 3.5px; border-radius: 3px; background: #e3e8f2; }
.cmt-x { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: #9aa5b6; width: 36px; height: 36px; display: grid; place-items: center; }
.cmt-list { flex: 1 1 auto; overflow-y: auto; padding: 6px 16px 10px; }
.cmt-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f6f8fc; }
.cmt-item.mine { animation: fadeIn 0.25s; }
.cmt-ava { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; background: #eef3fd; color: #4a6fa8; font-size: 13px; font-weight: 600; display: grid; place-items: center; }
.cmt-body { flex: 1 1 auto; min-width: 0; }
.cmt-u { font-size: 11.5px; color: #8794a8; margin-bottom: 3px; }
.cmt-body p { margin: 0; font-size: 13.5px; line-height: 1.5; color: #1f2c42; word-break: break-word; }
.cmt-f { display: flex; align-items: center; gap: 10px; margin-top: 5px; font-size: 10.5px; color: #a8b2c2; }
.cmt-like { border: 0; background: none; padding: 0; display: inline-flex; align-items: center; gap: 3px; font-size: 10.5px; color: #a8b2c2; }
.cmt-like .ic { width: 12px; height: 12px; }
.cmt-input { flex: 0 0 auto; display: flex; align-items: center; gap: 9px; padding: 9px 14px 16px; border-top: 1px solid #f2f5fa; }
.cmt-input input { flex: 1 1 auto; height: 38px; border: 0; background: #f5f7fc; border-radius: 19px; padding: 0 14px; font-size: 13px; outline: none; color: #1f2c42; }
.cmt-input input::placeholder { color: #aab4c4; }
.cmt-send { flex: 0 0 auto; height: 34px; padding: 0 16px; border: 0; border-radius: 17px; background: linear-gradient(135deg, #2f74ff, #1240c4); color: #fff; font-size: 13px; font-weight: 600; }

/* ---------- 视频搜索面板 ---------- */
.srch-wrap { position: absolute; inset: 0; z-index: 18; opacity: 0; pointer-events: none; transition: opacity 0.2s; background: rgba(5, 8, 15, 0.9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.srch-wrap.show { opacity: 1; pointer-events: auto; }
.srch-panel { position: absolute; inset: 0; display: flex; flex-direction: column; }
.srch-head { flex: 0 0 auto; display: flex; align-items: center; gap: 4px; padding: 6px 10px 8px; }
.srch-back { flex: 0 0 auto; width: 36px; height: 36px; border: 0; background: none; color: #fff; display: grid; place-items: center; }
.srch-field { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 9px 0 12px; border-radius: 19px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.16); }
.srch-field > .ic { flex: 0 0 auto; color: rgba(255, 255, 255, 0.6); }
.srch-field input { flex: 1 1 auto; min-width: 0; border: 0; background: none; color: #fff; font-size: 13.5px; outline: none; padding: 0; }
.srch-field input::placeholder { color: rgba(255, 255, 255, 0.42); }
.srch-clear { flex: 0 0 auto; width: 20px; height: 20px; border: 0; border-radius: 50%; padding: 0; background: rgba(255, 255, 255, 0.24); color: #05080f; display: none; place-items: center; }
.srch-clear.on { display: grid; }
.srch-clear .ic { width: 11px; height: 11px; stroke-width: 3; }
.srch-cancel { flex: 0 0 auto; border: 0; background: none; color: rgba(255, 255, 255, 0.74); font-size: 13px; padding: 0 2px 0 4px; }

.srch-body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 2px 14px 28px; }
.srch-blk { margin-top: 15px; }
.srch-blk h4 { margin: 0 0 9px; font-size: 11.5px; font-weight: 600; color: rgba(255, 255, 255, 0.46); letter-spacing: 0.5px; }
.srch-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.srch-chip { border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(255, 255, 255, 0.07); color: rgba(255, 255, 255, 0.9); font-size: 12px; height: 30px; padding: 0 12px; border-radius: 15px; }
.srch-chip.ghost { color: rgba(255, 255, 255, 0.62); }
.srch-chip:active { background: rgba(255, 255, 255, 0.2); }

.srch-list { display: flex; flex-direction: column; gap: 8px; }
.srch-item { width: 100%; display: flex; align-items: stretch; gap: 10px; padding: 7px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, 0.06); text-align: left; }
.srch-item:active { background: rgba(255, 255, 255, 0.14); }
.srch-thumb { position: relative; flex: 0 0 56px; width: 56px; aspect-ratio: 9 / 16; border-radius: 8px; overflow: hidden; background: #0a1730; }
.srch-thumb .si-art { border-radius: 8px; }
.srch-poster { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 8px; }
.srch-dur { position: absolute; right: 3px; bottom: 3px; font-size: 9px; line-height: 1.5; color: #fff; background: rgba(6, 12, 26, 0.6); padding: 0 4px; border-radius: 4px; font-variant-numeric: tabular-nums; font-style: normal; }
.srch-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.srch-t { font-size: 13px; line-height: 1.4; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.srch-t em, .srch-tags em { font-style: normal; color: #7fb0ff; }
.srch-s { font-size: 10.5px; color: rgba(255, 255, 255, 0.42); }
.srch-tags { display: flex; flex-wrap: wrap; gap: 6px; font-size: 10.5px; color: rgba(255, 255, 255, 0.6); }
.srch-go { flex: 0 0 auto; align-self: center; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.13); color: #fff; }
.srch-go .ic { width: 11px; height: 11px; margin-left: 1px; }
.srch-empty { padding: 58px 12px 0; text-align: center; color: rgba(255, 255, 255, 0.6); }
.srch-empty .ic { margin: 0 auto; width: 40px; height: 40px; opacity: 0.45; }
.srch-empty p { margin: 14px 0 6px; font-size: 13.5px; color: rgba(255, 255, 255, 0.88); }
.srch-empty span { font-size: 11.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.4); }
