/* ===== 作品详情页（沿用「在线报名」页面风格） ===== */
.wk-page { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
.wk-page .sg-tag-vote { background: rgba(255, 255, 255, .3); font-weight: 700; }
.wk-page .sg-tag-vote b { font-size: 15px; margin-right: 2px; }
.wk-page .sg-tag-warn { background: rgba(255, 236, 179, .34); font-weight: 600; }
.wk-step { font-size: 14px; }

/* 作品媒体 */
.sg-card .wk-media {
    position: relative; border-radius: 14px; overflow: hidden;
    background: #f4f5f9; aspect-ratio: 4 / 3;
    display: flex; align-items: center; justify-content: center;
}
.sg-card .wk-media > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sg-card .wk-media > video { width: 100%; height: 100%; background: #000; object-fit: contain; display: block; }
.sg-card .wk-media > audio { width: 86%; }
.wk-tencent {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 12px 20px; border-radius: 999px;
    background: linear-gradient(135deg, #ff7a59, #ff4d6d); color: #fff;
    font-size: 14px; font-weight: 600; text-decoration: none;
    box-shadow: 0 8px 18px rgba(255, 77, 109, .28);
}
.wk-thumbs {
    display: flex; gap: 8px; margin-top: 10px;
    overflow-x: auto; padding-bottom: 2px; -webkit-overflow-scrolling: touch;
}
.wk-thumbs a {
    flex: 0 0 66px; width: 66px; height: 66px; border-radius: 10px;
    overflow: hidden; background: #f4f5f9; border: 2px solid transparent;
    display: flex; align-items: center; justify-content: center; text-decoration: none;
}
.wk-thumbs a.on { border-color: #ff7a59; }
.wk-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.wk-thumb-tag { color: #fff; background: #ff4d6d; border-radius: 8px; padding: 3px 8px; font-size: 12px; }
.wk-desc { margin-top: 12px; font-size: 14px; line-height: 1.85; color: #4b5162; white-space: pre-wrap; word-break: break-word; }
.wk-desc-empty { margin-top: 10px; color: #a6adbd; font-size: 13px; }

/* 资料行 */
.wk-rows { display: flex; flex-direction: column; }
.wk-row { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px dashed #f0f1f5; font-size: 14px; }
.wk-row:last-child { border-bottom: 0; padding-bottom: 2px; }
.wk-row-label { flex: 0 0 84px; color: #8a8f9c; font-size: 13px; }
.wk-row-value { flex: 1; color: #333; word-break: break-word; }
.wk-row-media { display: flex; flex-wrap: wrap; gap: 8px; }
.wk-row-media a { display: block; width: 76px; height: 76px; border-radius: 10px; overflow: hidden; background: #f6f7fb; }
.wk-row-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wk-row-link { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #fff1ef; color: #ff4b52; font-size: 13px; }


/* 投票与操作 */
.wk-vote { height: 52px; font-size: 17px; letter-spacing: 1px; }
.wk-vote[disabled] { background: linear-gradient(135deg, #ffb59f, #ffa0ab); box-shadow: none; opacity: .9; }
.wk-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.wk-btn {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    height: 46px; padding: 0 8px; border-radius: 12px;
    border: 1px solid #eef0f5; background: #f7f8fb; color: #4b5162;
    font-size: 14px; font-family: inherit; text-decoration: none; cursor: pointer;
}
.wk-btn:active { background: #f0f2f8; }
.wk-note { margin-top: 12px; text-align: center; font-size: 12px; color: #a6adbd; }
.wk-empty { text-align: center; color: #a6adbd; font-size: 13px; padding: 18px 0; }

/* 礼物 */
.wk-diamond {
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px; background: #f7f8fb; border: 1px solid #eef0f5; border-radius: 12px;
    padding: 10px 12px; margin-bottom: 12px; font-size: 13px; color: #4b5162;
}
.wk-diamond .val { color: #ff4d6d; font-weight: 700; }
.wk-diamond a { color: #ff4d6d; font-size: 13px; white-space: nowrap; }
.wk-gifts { gap: 9px; }
.wk-gifts .gift-item { background: #f9fafc; border: 1px solid #f0f1f5; border-radius: 12px; }
.wk-gifts .gift-item:active { border-color: #ff8f78; }
.wk-gifts .gift-item .g-name { color: #3d4351; font-size: 12px; }
.wk-gifts .gift-item .g-meta { color: #9aa3b2; }
.wk-sub-title { font-size: 13px; color: #8a8f9c; margin: 12px 0 6px; }
.wk-gift .gift-sender { color: #6b7280; font-size: 12px; }

/* 评论 */
.wk-comment .comment-list { margin-top: 2px; }
.wk-count { color: #a6adbd; font-weight: 400; font-size: 12px; }
.wk-more { border: 1px solid #eef0f5; background: #f7f8fb; color: #6b7280; border-radius: 999px; padding: 7px 18px; font-size: 13px; }
.wk-comment .comment-form { margin-top: 12px; }
.wk-comment .comment-form textarea { border-color: #eef0f5; background: #f7f8fb; color: #333; }
.wk-send {
    flex: 0 0 auto; height: 44px; padding: 0 20px; border: 0; border-radius: 999px;
    background: linear-gradient(135deg, #ff7a59, #ff4d6d); color: #fff;
    font-size: 14px; font-weight: 600; font-family: inherit;
    box-shadow: 0 6px 14px rgba(255, 77, 109, .24); cursor: pointer;
}
.wk-send[disabled] { opacity: .6; box-shadow: none; }
.wk-page .c-nick { color: #4b5162; }
.wk-page .c-text { color: #3d4351; }
.wk-page .comment-item.is-top { background: #fff8f5; }
.wk-page .footer { padding: 18px 0 10px; }


/* 缩略图（按钮式，点击打开幻灯片） */
.wk-media-open { cursor: zoom-in; }
.wk-media-badge {
    position: absolute; right: 10px; bottom: 10px;
    background: rgba(0, 0, 0, .5); color: #fff; font-size: 12px;
    padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(4px);
}
.wk-thumb {
    flex: 0 0 66px; width: 66px; height: 66px; padding: 0;
    border: 2px solid transparent; border-radius: 10px; overflow: hidden;
    background: #f4f5f9; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.wk-thumb.on { border-color: #ff7a59; }
.wk-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 全屏图片幻灯片 */
.wk-viewer {
    position: fixed; inset: 0; z-index: 90;
    display: flex; align-items: center; justify-content: center;
    background: rgba(10, 10, 14, .94); backdrop-filter: blur(6px);
}
.wk-viewer[hidden] { display: none; }
.wk-viewer-stage { position: relative; width: 100%; height: 100%; overflow: hidden; touch-action: pan-y; }
.wk-viewer-track {
    display: flex; height: 100%;
    transition: transform .32s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}
.wk-viewer-slide {
    flex: 0 0 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    padding: 58px 0 64px;
}
.wk-viewer-slide img {
    max-width: 100%; max-height: 100%; object-fit: contain;
    user-select: none; -webkit-user-drag: none;
}
.wk-viewer-close {
    position: absolute; top: calc(10px + env(safe-area-inset-top)); right: 12px; z-index: 3;
    width: 38px; height: 38px; border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .16); color: #fff; font-size: 24px; line-height: 1;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.wk-viewer-count {
    position: absolute; top: calc(16px + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%);
    z-index: 3; color: #fff; font-size: 13px;
    background: rgba(255, 255, 255, .14); padding: 4px 12px; border-radius: 999px;
}
.wk-viewer-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 40px; height: 40px; border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .16); color: #fff; font-size: 26px; line-height: 1;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.wk-viewer-nav.prev { left: 10px; }
.wk-viewer-nav.next { right: 10px; }
.wk-viewer-dots {
    position: absolute; left: 0; right: 0; bottom: calc(22px + env(safe-area-inset-bottom));
    z-index: 3; display: flex; justify-content: center; gap: 8px;
}
.wk-viewer-dots button {
    width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .38); cursor: pointer;
}
.wk-viewer-dots button.on { width: 20px; border-radius: 999px; background: #fff; }
body.wk-viewer-lock { overflow: hidden; }

.sg-tag-expert{background:linear-gradient(135deg,#fff1e6,#ffe0cc);color:#b45309;border:1px solid #fed7aa;font-weight:600}
