/* r3：刷视频作者/描述、楼中楼评论、举报子页面、我的-喜欢/收藏/足迹网格 */

/* ── 作者 + 描述（热门流 / 详情页竖屏全屏） ── */
.fx-caption{min-width:0;color:#fff;text-shadow:0 1px 4px rgb(0 0 0 / 55%)}
.fx-author{overflow:hidden;font-size:17px;font-weight:var(--ok-weight-semibold,600);line-height:22px;white-space:nowrap;text-overflow:ellipsis}
.fx-desc{margin-top:6px;text-align:left}
.fx-desc-text{display:block;margin:0;font-size:15px;font-weight:var(--ok-weight-regular,400);line-height:21px;white-space:pre-line;overflow-wrap:anywhere;color:rgb(255 255 255 / 92%);text-align:left}
/* 「更多」/「收起」 sit inline right after the text (caption.js cuts the text so that it still fits in two lines). */
.fx-more{display:inline;margin:0 0 0 6px;padding:0;min-height:0;border:0;background:none;color:#fff;font:inherit;font-weight:var(--ok-weight-semibold,600);line-height:inherit;white-space:nowrap;text-shadow:inherit;pointer-events:auto;cursor:pointer;vertical-align:baseline}
.fx-more[hidden]{display:none}
.fx-desc.is-open .fx-desc-text{max-height:38dvh;overflow-y:auto;overscroll-behavior:contain}
.feed-info .fx-caption+.feed-detail{margin-top:6px}
.feed-info .feed-detail{font-size:13px}

/* 详情页：竖屏视频全屏时左下角显示同样的作者 + 描述，跟随控制条显隐 */
.vd-page .pv-full-caption{display:none}
.vd-page .player.is-full:not(.is-landscape) .pv-full-caption{position:absolute;z-index:11;display:block;left:calc(var(--safe-left,0px) + 16px);right:calc(var(--safe-right,0px) + 72px);bottom:calc(var(--safe-bottom,0px) + 100px);pointer-events:none;transition:opacity var(--ok-dur,.2s) var(--ok-ease,ease)}
.vd-page .player.is-full.controls-hidden .pv-full-caption,.vd-page .player.is-full.is-seeking .pv-full-caption{opacity:0}
.vd-page .player.is-full.controls-hidden .pv-full-caption .fx-more{pointer-events:none}

/* ── 评论：楼中楼 ── */
.cm-replies{display:grid;gap:12px;margin-top:10px}
.cm-reply-row{display:flex;align-items:flex-start;gap:8px;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
.cm-avatar.is-small{flex:none;width:24px;height:24px;font-size:11px}
.cm-reply-row .cm-body strong{font-size:12px;line-height:16px}
.cm-reply-row .cm-body p{margin:2px 0 3px;font-size:14px;line-height:20px}
.cm-to{color:var(--ok-label-2)}
.cm-to b{font-weight:var(--ok-weight-medium,500)}
.cm-like.is-small{width:28px}
.cm-like.is-small svg{width:15px;height:15px}
.cm-body p{cursor:pointer}
.cm-thread-foot{display:flex;align-items:center;gap:16px;margin-top:8px}
.cm-thread-foot:empty{display:none}
.cm-more{display:inline-flex;align-items:center;gap:4px;min-height:28px;padding:0;border:0;background:none;color:var(--ok-label-2);font-size:12px;font-weight:var(--ok-weight-semibold,600)}
.cm-more i{display:inline-block;width:20px;height:1px;margin-right:4px;background:var(--ok-separator,var(--ok-label-4))}
.cm-more svg{width:12px;height:12px}
.cm-more:disabled{opacity:.5}
.cm-end,.cm-loading-more{padding:16px 0 24px;color:var(--ok-label-3);font-size:12px;text-align:center}

/* ── 举报 ── */
.report-page .rp-reason{min-height:56px;gap:12px;text-align:left}
.report-page .rp-reason>span{display:grid;gap:2px;min-width:0}
.report-page .rp-reason strong{color:var(--ok-label);font-size:16px;font-weight:var(--ok-weight-regular,400);line-height:21px}
.report-page .rp-reason small{color:var(--ok-label-3);font-size:13px;line-height:17px}
.report-page .rp-reason .ok-check{pointer-events:none}
.report-page .rp-note textarea{display:block;box-sizing:border-box;width:100%;min-height:96px;padding:12px 16px;border:0;background:none;color:var(--ok-label);font:inherit;font-size:16px;line-height:22px;resize:none;outline:none}
.report-page .rp-note textarea::placeholder{color:var(--ok-label-3)}
.report-page .rp-note[hidden]{display:none}
.report-page .ok-group-title{margin-top:16px}
.report-page .ok-group-title:first-child{margin-top:4px}

/* ── 我的：喜欢 / 收藏 / 足迹 网格（三列竖封面，抖音式） ── */
.profile-saved-grid.me-grid{gap:1.5px}
.profile-saved-grid.me-grid>button{aspect-ratio:3/4;background:var(--ok-fill)}
.profile-saved-grid.me-grid>button>img{aspect-ratio:auto;height:100%}
.me-progress{position:absolute;left:0;right:0;bottom:0;height:3px;background:rgb(255 255 255 / 28%)}
.me-progress i{display:block;height:100%;background:#fff;border-radius:0 2px 2px 0}
.me-watched{position:absolute;left:6px;bottom:5px;color:#fff;font-size:11px;font-weight:var(--ok-weight-medium,500);line-height:14px;font-variant-numeric:tabular-nums;text-shadow:0 1px 2px rgb(0 0 0 / 60%)}
/* replies reach the same right edge as the 一级评论's ♥ column */
.cm-row>.cm-body{min-width:0}
.cm-replies{margin-right:-46px}
/* real Telegram photos in comments (initial letter when there is none) */
.cm-avatar{flex:none;display:grid;place-items:center;overflow:hidden;border-radius:50%}
.cm-avatar img{display:block;width:100%;height:100%;object-fit:cover}
/* 剩余时长 stays readable while the seek bar is dragged (it shows the time left from the finger's position) */
.feed-remain{font-variant-numeric:tabular-nums}
.feed-remain:empty,.feed-remain:empty+.fx-sep{display:none}
.feed-item.is-scrubbing .feed-info>.feed-detail{opacity:1;pointer-events:none}

/* ── 自动加载下一页（auto-load.js）：没有按钮，只有一行细字 ── */
.ok-autoload{display:flex;align-items:center;justify-content:center;min-height:44px;margin:0;padding:8px 16px calc(8px + var(--ok-autoload-pad,0px));color:var(--ok-label-3);font-size:12px;line-height:16px;text-align:center}
.ok-autoload:empty{min-height:1px;padding:0}
.ok-autoload-text{display:inline-flex;align-items:center;gap:6px}
.ok-autoload-spin{width:12px;height:12px;border:1.5px solid currentColor;border-right-color:transparent;border-radius:50%;animation:ok-autoload-spin .8s linear infinite}
.ok-autoload-retry{min-height:32px;padding:0 8px;border:0;background:none;color:var(--ok-label-2);font:inherit;font-size:12px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
@keyframes ok-autoload-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.ok-autoload-spin{animation:none}}

/* ── 作品网格 → 全屏竖滑播放器（openListPlayer）：没有 tab 栏和顶部频道，左上返回 ── */
.lp-hidden{visibility:hidden!important;pointer-events:none!important}
#app.list-mode{--nav-height:calc(max(var(--app-bottom-inset,0px),8px) + 4px)}
#app.list-mode>.nav{display:none}
.lp-top{position:fixed;z-index:8;top:calc(var(--app-top-inset,0px) + 8px);left:calc(var(--safe-left,0px) + 12px);right:calc(var(--safe-right,0px) + 12px);display:flex;align-items:center;gap:8px;pointer-events:none;transition:opacity var(--ok-dur,.2s) var(--ok-ease,ease)}
.lp-top>button{pointer-events:auto}
.lp-back{display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:rgb(0 0 0 / 30%);color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.lp-back svg{width:22px;height:22px}
.lp-spacer{flex:1}
.lp-top .feed-sound{position:static;inset:auto}
.feed-mode.feed-clear .lp-top{opacity:0;visibility:hidden;pointer-events:none}
.feed-menu-list .is-destructive b{color:var(--ok-danger,#ff453a)}
/* @作者 可点（= 点头像），#话题 高亮可点 */
button.fx-author{display:block;max-width:100%;margin:0;padding:0;border:0;color:inherit;background:none;font:inherit;font-size:17px;font-weight:var(--ok-weight-semibold,600);line-height:22px;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}
button.fx-author:active{opacity:.7}
.fx-tag{color:inherit;font-weight:var(--ok-weight-semibold,600);text-decoration:none;cursor:pointer}
