/**
 * V3 主题短代码样式
 * 提示框 / 视频容器 / 回复可见内容
 */

/* ===== 提示框 ===== */
.v3-tips {
    position: relative;
    padding: 12px 16px 12px 18px;
    margin: 16px 0;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.7;
    border-left: 4px solid;
    word-break: break-all;
}
.v3-tips::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.5;
}
.v3-tips-success {
    background: #ecfdf5;
    border-color: #34d399;
    color: #065f46;
}
.v3-tips-info {
    background: #eff6ff;
    border-color: #60a5fa;
    color: #1e40af;
}
.v3-tips-warning {
    background: #fffbeb;
    border-color: #fbbf24;
    color: #92400e;
}
.v3-tips-error {
    background: #fef2f2;
    border-color: #f87171;
    color: #991b1b;
}
.v3-tips p:last-child { margin-bottom: 0; }

/* ===== 视频容器 ===== */
.v3-video {
    margin: 16px 0;
    border-radius: 6px;
    overflow: hidden;
    background: #000;
}
.v3-video video {
    display: block;
    width: 100%;
    max-height: 70vh;
}
.v3-video-iframe {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.v3-video-iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== 回复可见内容 ===== */
.v3-hide-block {
    margin: 16px 0;
    border-radius: 6px;
    overflow: hidden;
}
.v3-hide-shown-tip,
.v3-hide-lock-tip {
    padding: 8px 14px;
    font-size: 13px;
    color: #fff;
}
.v3-hide-shown-tip {
    background: linear-gradient(117deg, #6366f1, #8b5cf6);
}
.v3-hide-content {
    padding: 14px 16px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-top: 0;
    border-radius: 0 0 6px 6px;
}
.v3-hide-locked .v3-hide-lock-tip {
    background: linear-gradient(117deg, #6b7280, #9ca3af);
    text-align: center;
}

/* ===== Meting 播放器适配 ===== */
meting-js { display: block; margin: 16px 0; }
