/* =========================================================
   刷鸭 Pro · 抖音风格
   色板：黑底 / 抖音红 #fe2c55 / 抖音青 #25f4ee / 收藏黄 #ffc21a
   ========================================================= */
:root {
  --red: #fe2c55;
  --cyan: #25f4ee;
  --yellow: #ffc21a;
  --bg: #000;
  --panel: #161823;
  --panel-2: #1f2130;
  --line: rgba(255, 255, 255, .08);
  --text: #fff;
  --text-2: rgba(255, 255, 255, .62);
  --text-3: rgba(255, 255, 255, .38);
  --tabbar-h: 52px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --ease: cubic-bezier(.22, .8, .24, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; background: var(--bg); color: var(--text); overflow: hidden; overscroll-behavior: none;
  font: 14px/1.45 -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select { font: inherit; color: var(--text); }
svg { width: 24px; height: 24px; fill: currentColor; }
[hidden] { display: none !important; }

#app { position: fixed; inset: 0; display: flex; flex-direction: column-reverse; }
#stage { position: relative; flex: 1; overflow: hidden; background: #000; }

/* ---------------- 底部导航 ---------------- */
#tabbar { height: calc(var(--tabbar-h) + var(--safe-b)); padding-bottom: var(--safe-b); display: flex; align-items: center;
  justify-content: space-around; background: #000; border-top: 1px solid var(--line); z-index: 30; flex-shrink: 0; }
#tabbar button { display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 11px; color: var(--text-2); min-width: 52px; }
#tabbar button svg { width: 22px; height: 22px; display: none; }
#tabbar button span { font-size: 16px; font-weight: 600; }
#tabbar button.on { color: #fff; }
#tabbar .brand, #tabbar .side-tip { display: none; }
#tabbar .add { width: 44px; height: 30px; position: relative; min-width: 0; }
#tabbar .add i { position: absolute; inset: 0; border-radius: 9px; background: #fff; }
#tabbar .add::before, #tabbar .add::after { content: ""; position: absolute; top: 0; bottom: 0; width: 100%; border-radius: 9px; z-index: -0; }
#tabbar .add::before { left: -4px; background: var(--cyan); }
#tabbar .add::after { right: -4px; background: var(--red); }
#tabbar .add i { z-index: 1; }
#tabbar .add i::before, #tabbar .add i::after { content: ""; position: absolute; left: 50%; top: 50%; background: #000; transform: translate(-50%, -50%); border-radius: 1px; }
#tabbar .add i::before { width: 16px; height: 3px; }
#tabbar .add i::after { width: 3px; height: 16px; }

/* ---------------- 顶部栏 ---------------- */
#topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 20; padding: calc(8px + var(--safe-t)) 10px 18px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent); pointer-events: none; transition: opacity .25s; }
#topbar > * { pointer-events: auto; }
.tb-main, .tb-sub { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.tb-sub { display: none; }
#topbar.sub .tb-main { display: none; }
#topbar.sub .tb-sub { display: flex; }
.tb-icon { width: 40px; height: 40px; display: grid; place-items: center; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5)); }
#topTabs { display: flex; gap: 22px; }
#topTabs button { position: relative; font-size: 17px; font-weight: 600; color: rgba(255, 255, 255, .62); padding: 6px 0; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); transition: color .2s; }
#topTabs button.on { color: #fff; }
#topTabs button.on::after { content: ""; position: absolute; left: 50%; bottom: -1px; width: 22px; height: 3px; border-radius: 2px; background: #fff; transform: translateX(-50%); }
#subTitle { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; padding-left: 4px; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.pill-btn { padding: 6px 14px; border-radius: 4px; background: var(--red); font-size: 13px; font-weight: 600; }
.pill-btn.on { background: rgba(255, 255, 255, .18); }
.tb-meta { position: absolute; right: 14px; top: calc(52px + var(--safe-t)); font-size: 11px; color: var(--text-3); }
.tb-meta b { color: var(--text-2); font-weight: 600; }

/* ---------------- 信息流 ---------------- */
#feed { position: absolute; inset: 0; touch-action: none; user-select: none; -webkit-user-select: none; overflow: hidden; }
.slide { position: absolute; inset: 0; will-change: transform; transition: transform .38s var(--ease); background: #000; overflow: hidden; }
.slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; pointer-events: none; }

.s-loading { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--text-2); font-size: 13px; pointer-events: none; }
.slide.loading .s-loading { display: flex; }
.ring { width: 34px; height: 34px; position: relative; }
.ring::before, .ring::after { content: ""; position: absolute; top: 9px; width: 16px; height: 16px; border-radius: 50%; mix-blend-mode: screen; }
.ring::before { left: 0; background: var(--cyan); animation: dotL .9s ease-in-out infinite alternate; }
.ring::after { right: 0; background: var(--red); animation: dotR .9s ease-in-out infinite alternate; }
@keyframes dotL { to { transform: translateX(18px); } }
@keyframes dotR { to { transform: translateX(-18px); } }

.s-error { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--text-2); }
.slide.err .s-error { display: flex; }
.slide.err .s-loading { display: none; }
.s-error button { padding: 9px 26px; border-radius: 4px; background: var(--red); color: #fff; font-weight: 600; }

.s-pause { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(1.4); opacity: 0; transition: .2s; pointer-events: none; }
.s-pause svg { width: 74px; height: 74px; fill: rgba(255, 255, 255, .55); filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .4)); }
.slide.paused .s-pause { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* 右侧操作栏 */
.rail { position: absolute; right: 8px; bottom: 96px; display: flex; flex-direction: column; align-items: center; gap: 18px; z-index: 5; transition: opacity .25s; }
.r-avatar { position: relative; margin-bottom: 8px; }
.r-avatar .avatar { width: 48px; height: 48px; border-radius: 50%; border: 2px solid #fff; font-size: 20px; font-weight: 700; display: grid; place-items: center; }
.r-avatar .follow { position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); width: 22px; height: 22px; border-radius: 50%; background: var(--red); display: grid; place-items: center; transition: .3s; }
.r-avatar .follow svg { width: 16px; height: 16px; }
.r-avatar .follow.on { background: #fff; color: var(--red); }
.r-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.r-btn .ic svg { width: 38px; height: 38px; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .45)); transition: fill .2s; }
.r-btn b { font-size: 12px; font-weight: 600; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.r-btn[data-act="like"].on svg { fill: var(--red); }
.r-btn[data-act="fav"].on svg { fill: var(--yellow); }
.r-btn.pop .ic { animation: pop .45s var(--ease); }
@keyframes pop { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 60% { transform: scale(.9); } 100% { transform: scale(1); } }
.disc { width: 46px; height: 46px; border-radius: 50%; margin-top: 6px; background: radial-gradient(circle, #333 0 38%, #111 40% 100%);
  display: grid; place-items: center; animation: spin 5s linear infinite; box-shadow: 0 0 0 7px rgba(255, 255, 255, .06) inset; }
.disc i { width: 26px; height: 26px; border-radius: 50%; display: block; }
.slide.paused .disc, .slide.loading .disc { animation-play-state: paused; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 底部信息 */
.info { position: absolute; left: 0; right: 76px; bottom: 0; padding: 60px 14px 22px; z-index: 4;
  background: linear-gradient(0deg, rgba(0, 0, 0, .55), transparent); transition: opacity .25s; pointer-events: none; }
.info > * { pointer-events: auto; }
.author { font-size: 17px; font-weight: 700; margin-bottom: 6px; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); display: flex; align-items: center; gap: 8px; }
.author .tag { font-size: 11px; font-weight: 500; padding: 1px 6px; border-radius: 3px; background: rgba(255, 255, 255, .18); }
.title { font-size: 15px; line-height: 1.5; max-height: 3em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .55); cursor: pointer; word-break: break-all; }
.title.open { -webkit-line-clamp: unset; max-height: 40vh; overflow: auto; }
.music { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; max-width: 70%; }
.music .note { animation: bob 1.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-2px); } }
.marquee { overflow: hidden; white-space: nowrap; flex: 1; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee span { display: inline-block; padding-left: 100%; animation: marquee 12s linear infinite; }
.slide.paused .marquee span { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* 进度条（可拖动） */
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 16px; z-index: 6; display: flex; align-items: flex-end; cursor: pointer; touch-action: none; }
.p-bar { position: relative; width: 100%; height: 2px; background: rgba(255, 255, 255, .18); transition: height .15s; }
.p-buf, .p-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; }
.p-buf { background: rgba(255, 255, 255, .22); }
.p-fill { background: rgba(255, 255, 255, .75); }
.p-dot { position: absolute; top: 50%; left: 0; width: 0; height: 0; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); transition: width .15s, height .15s; }
.progress:hover .p-bar, .progress.drag .p-bar { height: 5px; }
.progress:hover .p-dot, .progress.drag .p-dot { width: 13px; height: 13px; }
.p-time { position: absolute; left: 50%; bottom: 60px; transform: translateX(-50%); font-size: 26px; font-weight: 300; color: var(--text-2); opacity: 0; pointer-events: none; white-space: nowrap; }
.p-time b { color: #fff; font-weight: 600; }
.progress.drag .p-time { opacity: 1; }
#feed.seeking .rail, #feed.seeking .info { opacity: 0; }

/* 浮层提示 */
.chip-float { position: absolute; left: 50%; top: calc(64px + var(--safe-t)); transform: translateX(-50%); z-index: 21; padding: 7px 14px; border-radius: 18px;
  background: rgba(0, 0, 0, .5); backdrop-filter: blur(8px); font-size: 13px; }
.center-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 22; width: 80px; height: 80px; border-radius: 50%; background: rgba(0, 0, 0, .4); display: grid; place-items: center; }
.center-play svg { width: 44px; height: 44px; }
.speed-hint { position: absolute; left: 50%; top: calc(100px + var(--safe-t)); transform: translateX(-50%); z-index: 22; padding: 7px 16px; border-radius: 18px; background: rgba(0, 0, 0, .55); font-size: 13px; }

.burst { position: fixed; z-index: 99; width: 96px; height: 96px; margin: -60px 0 0 -48px; pointer-events: none; animation: burst .9s var(--ease) forwards; }
.burst svg { width: 100%; height: 100%; fill: var(--red); filter: drop-shadow(0 4px 12px rgba(254, 44, 85, .45)); }
@keyframes burst {
  0% { transform: rotate(var(--r)) scale(1.6); opacity: 0; }
  15% { transform: rotate(var(--r)) scale(.9); opacity: 1; }
  30% { transform: rotate(var(--r)) scale(1); }
  70% { transform: rotate(var(--r)) scale(1) translateY(0); opacity: 1; }
  100% { transform: rotate(var(--r)) scale(1.8) translateY(-50px); opacity: 0; }
}

.guide { position: absolute; inset: 0; z-index: 40; background: rgba(0, 0, 0, .72); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.guide .g-hand { font-size: 54px; animation: swipeUp 1.4s ease-in-out infinite; }
.guide p { color: var(--text-2); font-size: 13px; line-height: 1.8; }
.guide button { margin-top: 14px; padding: 9px 30px; border-radius: 4px; background: var(--red); font-weight: 600; }
@keyframes swipeUp { 0% { transform: translateY(40px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-40px); opacity: 0; } }

/* 清屏 */
#app.clean #topbar, #app.clean .rail, #app.clean .info, #app.clean .chip-float { opacity: 0; pointer-events: none; }
#app.clean .info > *, #app.clean .rail * { pointer-events: none; }

#toast { position: fixed; left: 50%; top: 42%; transform: translate(-50%, -50%) scale(.9); z-index: 200; max-width: 80vw; padding: 10px 18px; border-radius: 6px;
  background: rgba(22, 24, 35, .9); font-size: 14px; text-align: center; opacity: 0; pointer-events: none; transition: .2s; }
#toast.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ---------------- 底部弹层 ---------------- */
.sheet-mask { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, 0); transition: background .25s; display: flex; align-items: flex-end; justify-content: center; }
.sheet-mask.show { background: rgba(0, 0, 0, .45); }
.sheet { width: 100%; max-width: 560px; max-height: 78vh; background: var(--panel); border-radius: 14px 14px 0 0; transform: translateY(100%); transition: transform .28s var(--ease);
  display: flex; flex-direction: column; padding-bottom: var(--safe-b); }
.sheet.tall { max-height: 88vh; }
.sheet-mask.show .sheet { transform: none; }
.sheet-grip { height: 20px; flex-shrink: 0; cursor: grab; touch-action: none; position: relative; }
.sheet-grip::after { content: ""; position: absolute; left: 50%; top: 8px; width: 36px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .2); transform: translateX(-50%); }
.sheet-head { display: flex; align-items: center; justify-content: center; position: relative; padding: 0 16px 10px; }
.sheet-head h3 { font-size: 15px; font-weight: 600; }
.sheet-head .x { position: absolute; right: 12px; top: -6px; font-size: 26px; color: var(--text-2); width: 32px; height: 32px; }
.sheet-body { overflow-y: auto; padding: 4px 16px 18px; -webkit-overflow-scrolling: touch; }

.share-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 6px; padding: 6px 0 16px; }
.share-row button { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2); }
.share-row i { width: 50px; height: 50px; border-radius: 50%; background: var(--panel-2); display: grid; place-items: center; font-style: normal; font-size: 22px; }
.speed-row { display: flex; align-items: center; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); }
.speed-row span { color: var(--text-2); margin-right: 4px; }
.speed-row button, .seg button { padding: 5px 10px; border-radius: 4px; background: var(--panel-2); font-size: 13px; }
.speed-row button.on { background: var(--red); }

.set-group { background: var(--panel-2); border-radius: 10px; padding: 4px 14px; margin-bottom: 12px; }
.set-group > .row-between { padding: 12px 0 6px; }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.set-row:last-child { border-bottom: 0; }
.set-row small, .src-row small { display: block; color: var(--text-3); font-size: 12px; margin-top: 2px; }
.set-row select { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px; }
.seg { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.switch { appearance: none; -webkit-appearance: none; width: 44px; height: 26px; border-radius: 13px; background: rgba(255, 255, 255, .2); position: relative; cursor: pointer; transition: .2s; flex-shrink: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: .2s var(--ease); }
.switch:checked { background: var(--red); }
.switch:checked::after { transform: translateX(18px); }
.src-list { max-height: 300px; overflow-y: auto; }
.src-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.src-row .grow { flex: 1; min-width: 0; }
.hs { font-style: normal; font-size: 11px; padding: 0 5px; border-radius: 3px; }
.hs.ok { color: #34d399; background: rgba(52, 211, 153, .12); }
.hs.fail { color: #fb7185; background: rgba(251, 113, 133, .12); }
.hs.unknown { color: var(--text-3); background: rgba(255, 255, 255, .06); }

.btn-row { display: flex; gap: 8px; flex-wrap: wrap; padding: 12px 0; }
.btn { flex: 1; padding: 10px; border-radius: 6px; background: var(--panel); font-size: 13px; white-space: nowrap; }
.btn.primary { background: var(--red); font-weight: 600; }
.btn.danger { color: #fb7185; }
.btn-wide { display: block; width: 100%; padding: 11px; margin: 10px 0; border-radius: 6px; background: var(--red); font-weight: 600; }
.btn-wide.ghost { background: transparent; border: 1px dashed rgba(255, 255, 255, .25); color: var(--text-2); font-weight: 400; }
.link-btn { color: var(--cyan); font-size: 13px; }
.row-between { display: flex; align-items: center; justify-content: space-between; }
.muted { color: var(--text-3); }
.small { font-size: 12px; line-height: 1.6; }

.form label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 12px; }
.form input, .form select { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border-radius: 6px; background: var(--panel-2); border: 1px solid var(--line); outline: none; }
.form input:focus { border-color: var(--red); }

/* ---------------- 全屏页面 ---------------- */
.page { position: absolute; left: 0; right: 0; top: 0; bottom: calc(var(--tabbar-h) + var(--safe-b)); z-index: 25; background: var(--panel);
  transform: translateX(100%); transition: transform .3s var(--ease); display: flex; flex-direction: column; }
.page.show { transform: none; }
.pg-head { height: calc(48px + var(--safe-t)); padding-top: var(--safe-t); display: flex; align-items: center; justify-content: center; position: relative; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.pg-head h2 { font-size: 16px; font-weight: 600; }
.pg-back { position: absolute; left: 6px; bottom: 4px; width: 40px; height: 40px; font-size: 32px; line-height: 1; color: var(--text-2); }
.pg-body { flex: 1; overflow-y: auto; padding: 12px 12px 30px; -webkit-overflow-scrolling: touch; }
.empty { padding: 70px 20px; text-align: center; color: var(--text-3); }
.foot-tip { text-align: center; color: var(--text-3); font-size: 12px; margin-top: 18px; }

.search input { width: 100%; padding: 10px 14px 10px 36px; border-radius: 8px; border: 0; outline: none; background: var(--panel-2)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23888'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.47 6.47 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") no-repeat 10px center / 18px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; padding: 5px 14px; border-radius: 16px; background: var(--panel-2); color: var(--text-2); font-size: 13px; }
.chip.on { background: #fff; color: #000; font-weight: 600; }

.ds-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ds-card { background: var(--panel-2); border-radius: 8px; overflow: hidden; cursor: pointer; transition: transform .15s; position: relative; }
.ds-card:active { transform: scale(.97); }
.ds-card.off { opacity: .45; }
.ds-cover { aspect-ratio: 4 / 3; display: grid; place-items: center; position: relative; }
.ds-cover span { font-size: 40px; font-weight: 800; color: rgba(255, 255, 255, .9); text-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.ds-cover .hs { position: absolute; left: 6px; top: 6px; background: rgba(0, 0, 0, .45); }
.ds-meta { padding: 8px 10px 2px; }
.ds-meta b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-meta small { color: var(--text-3); font-size: 12px; }
.ds-follow { margin: 6px 10px 10px; padding: 4px 0; width: calc(100% - 20px); border-radius: 4px; background: var(--red); font-size: 12px; font-weight: 600; }
.ds-follow.on { background: rgba(255, 255, 255, .1); color: var(--text-2); }

.me-head { display: flex; align-items: center; gap: 14px; padding: 8px 4px 16px; }
.me-head h2 { font-size: 20px; }
.me-head p { color: var(--text-3); font-size: 12px; }
.me-head .icon-btn { margin-left: auto; width: 40px; height: 40px; display: grid; place-items: center; color: var(--text-2); }
.av { border-radius: 50%; display: inline-grid; place-items: center; font-weight: 700; flex-shrink: 0; }
.av.big { width: 72px; height: 72px; font-size: 30px; border: 2px solid rgba(255, 255, 255, .15); }
.av.sm { width: 28px; height: 28px; font-size: 13px; }
.me-stats { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; padding: 6px 0 16px; }
.me-stats b { display: block; font-size: 18px; }
.me-stats small { color: var(--text-3); font-size: 12px; }
.tabs { display: flex; border-bottom: 1px solid var(--line); margin: 0 -12px 2px; position: sticky; top: -12px; background: var(--panel); z-index: 2; }
.tabs button { flex: 1; padding: 12px 0; color: var(--text-3); font-weight: 600; position: relative; }
.tabs button.on { color: #fff; }
.tabs button.on::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: 0; height: 2px; background: var(--yellow); }

.v-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin: 0 -12px; }
.v-cell { position: relative; aspect-ratio: 3 / 4; overflow: hidden; cursor: pointer; }
.v-cell video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.v-ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 34px; font-weight: 800; color: rgba(255, 255, 255, .85); }
.v-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 6px 5px; background: linear-gradient(0deg, rgba(0, 0, 0, .7), transparent); }
.v-cap b { display: block; font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-cap small { font-size: 10px; color: var(--text-2); }
.f-list .f-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.f-row > div { flex: 1; }
.f-row small { display: block; color: var(--text-3); font-size: 12px; }
.f-row .ds-follow { width: auto; margin: 0; padding: 5px 14px; }

/* =========================================================
   电脑端：左侧导航 + 居中竖屏舞台（类似 douyin.com）
   ========================================================= */
@media (min-width: 769px) {
  #app { flex-direction: row; }
  #tabbar { width: 120px; height: 100%; padding: 18px 0; flex-direction: column; justify-content: flex-start; gap: 6px; border-top: 0; border-right: 1px solid var(--line); background: #0d0e14; }
  #tabbar .brand { display: flex; align-items: center; gap: 6px; font-size: 20px; margin-bottom: 18px; }
  #tabbar .brand b { background: linear-gradient(90deg, var(--cyan), var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; }
  #tabbar button { flex-direction: row; gap: 10px; width: 96px; padding: 10px 12px; border-radius: 8px; justify-content: flex-start; }
  #tabbar button svg { display: block; }
  #tabbar button span { font-size: 14px; }
  #tabbar button:hover { background: rgba(255, 255, 255, .06); color: #fff; }
  #tabbar button.on { background: rgba(255, 255, 255, .1); }
  #tabbar .add { order: 10; margin-top: 8px; width: 44px; padding: 0; }
  #tabbar .side-tip { display: block; order: 11; margin-top: auto; text-align: center; color: var(--text-3); font-size: 11px; line-height: 1.8; }
  #stage { margin: 12px; border-radius: 14px; }
  .slide { background: radial-gradient(ellipse at center, #1a1b24 0%, #000 70%); }
  .slide video { background: transparent; }
  .rail { right: 22px; bottom: 120px; }
  .info { right: 110px; padding-left: 26px; padding-bottom: 30px; max-width: 760px; }
  .page { left: 120px; bottom: 0; }
  .page .pg-body { max-width: 980px; width: 100%; margin: 0 auto; }
  .v-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); margin: 0; gap: 8px; }
  .v-cell { border-radius: 6px; }
  .sheet-mask { align-items: center; }
  .sheet { border-radius: 14px; transform: translateY(30px); opacity: 0; transition: .25s var(--ease); }
  .sheet-mask.show .sheet { opacity: 1; }
  .sheet-grip { display: none; }
  .sheet-head { padding-top: 16px; }
  .sheet-head .x { top: 10px; }
  .share-row { grid-template-columns: repeat(7, 1fr); }
  .tb-meta { top: 58px; right: 22px; }
}
@media (hover: hover) {
  .r-btn:hover .ic svg { transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
