/* ============== 全屏视频详情页（仿抖音）============== */

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; overflow: hidden; }
.fullscreen-body {
    background: #000;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
}

/* 顶部状态栏 */
.fs-status {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 28px;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    pointer-events: none;
}
.fs-status .fs-status-icons { display: flex; gap: 4px; font-size: 12px; }

/* 顶部返回 / 搜索 */
.fs-top {
    position: fixed;
    top: 36px; left: 0; right: 0;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    pointer-events: none;
}
.fs-top a {
    color: #fff;
    font-size: 30px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
    pointer-events: auto;
    line-height: 1;
    text-decoration: none;
}
.fs-top .fs-back { font-size: 36px; font-weight: 200; }
.fs-top .fs-search { font-size: 20px; }

/* 视频背景层 */
.fs-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    background: #000;
    overflow: hidden;
}
.fs-bg video {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    object-fit: cover;
}
.fs-video-mask {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 5;
    cursor: pointer;
}
.fs-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 70px; height: 70px;
    background: rgba(0,0,0,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    padding-left: 6px;
    pointer-events: none;
}
.fs-no-video {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
}
.fs-no-tip { font-size: 16px; opacity: 0.85; }

/* 底部渐变蒙版 */
.fs-gradient {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.4));
    pointer-events: none;
}

/* 右侧互动栏 */
.fs-side {
    position: fixed;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    color: #fff;
}
.fs-sa-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
    position: relative;
}
.fs-sa-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background-color: #444;
    background-size: cover;
    background-position: center;
    border: 2px solid #fff;
}
.fs-sa-add {
    position: absolute;
    bottom: -8px;
    width: 20px; height: 20px;
    background: #fe2c55;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    border: 2px solid #fff;
}
.fs-sa-icon {
    font-size: 32px;
    line-height: 1;
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.5));
}
.fs-sa-text {
    font-size: 12px;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}
.fs-sa-try {
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 5px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

/* 左下角作者信息 */
.fs-left {
    position: fixed;
    left: 16px;
    right: 64px;
    bottom: 60px;
    z-index: 50;
    color: #fff;
    pointer-events: none;
}
.fs-author {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.fs-name { color: #fff; }
.fs-time-text {
    font-weight: 400;
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    margin-left: 4px;
}
.fs-desc {
    font-size: 13px;
    color: #fff;
    line-height: 1.5;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
    margin-bottom: 10px;
}

/* 滚动评论 */
.fs-fc-stage {
    position: relative;
    height: 56px;
    pointer-events: none;
    overflow: hidden;
}
.fs-fc-item {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: fsFcUp 6s linear infinite;
    opacity: 0;
    will-change: transform, opacity;
}
.fs-fc-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ddd;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255,255,255,0.4);
    flex-shrink: 0;
}
.fs-fc-bubble {
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 12px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}
.fs-fc-heart { color: #fe2c55; font-size: 11px; }

@keyframes fsFcUp {
    0%   { transform: translateY(0);     opacity: 0; }
    10%  { transform: translateY(-8px);  opacity: 1; }
    80%  { transform: translateY(-36px); opacity: 1; }
    100% { transform: translateY(-50px); opacity: 0; }
}

/* 底部工具栏 */
.fs-tools {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 60;
    background: rgba(20,20,20,0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    color: #fff;
    padding: 8px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.fs-dt-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 12px;
    color: rgba(255,255,255,0.9);
    padding: 6px 0;
    border-right: 1px solid rgba(255,255,255,0.08);
}
.fs-dt-item:last-child { border-right: none; }
.fs-dt-view { color: #fe2c55; font-weight: 700; font-size: 13px; margin-right: 3px; }
.fs-avatars { display: flex; }
.fs-avatars span {
    width: 18px; height: 18px;
    border-radius: 50%;
    background: #ccc;
    background-size: cover;
    background-position: center;
    border: 1.5px solid #161823;
    margin-left: -6px;
}
.fs-avatars span:first-child { margin-left: 0; }

/* 响应式 - 手机 */
@media (max-width: 480px) {
    .fs-side { right: 6px; gap: 16px; }
    .fs-sa-icon { font-size: 30px; }
    .fs-sa-avatar { width: 42px; height: 42px; }
}
