:root { --primary:#4527d6; --primary2:#7b3ff2; --accent:#ff7a45; }
* { box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
html, body { margin:0; padding:0; }
body { background:#e9e7f5; font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",Arial,sans-serif; color:#222; }
button, input, textarea { font-family:inherit; }
[hidden] { display:none !important; }

.phone { max-width:480px; margin:0 auto; min-height:100vh; position:relative; overflow:hidden; background:var(--primary); box-shadow:0 0 40px rgba(20,6,90,.14); }
.bg-layer { position:absolute; top:0; left:0; right:0; height:700px; background-size:cover; background-position:top center; background-repeat:no-repeat; background-color:var(--primary); z-index:0; -webkit-mask-image:linear-gradient(180deg,#000 0%,#000 44%,transparent 100%); mask-image:linear-gradient(180deg,#000 0%,#000 44%,transparent 100%); }
.bg-overlay { display:none; }
.page { position:relative; z-index:1; padding-bottom:78px; }

.topbar { height:58px; background:#fff; display:flex; align-items:center; padding:0 10px; }
.tb-btn { width:38px; height:38px; border:0; background:transparent; color:#222; display:grid; place-items:center; cursor:pointer; flex:none; }
.tb-center { flex:1; text-align:center; min-width:0; }
.tb-center h1 { font-size:16px; font-weight:600; color:#1a1a1a; margin:0; line-height:1.3; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tb-center span { font-size:10px; color:#a2a2a2; display:block; margin-top:2px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

.preview-bar { background:linear-gradient(90deg,#f4714c,#ef5f4a); color:#fff; font-size:12.5px; text-align:center; padding:6px 10px; letter-spacing:.3px; }

.hero { position:relative; height:288px; padding-top:20px; }
.hero-title { text-align:center; padding:0 6px; }
.hero-line { font-size:64px; font-weight:900; color:#fff; line-height:1.04; letter-spacing:1px; white-space:nowrap; -webkit-text-stroke:2px #2b1596; text-shadow:0 3px 0 #2b1596, 0 6px 0 #2b1596, 0 9px 0 rgba(28,10,110,.85), 0 14px 18px rgba(0,0,0,.35); }
.hero-line-big { font-size:88px; line-height:1.06; }

.float-btns { position:absolute; right:10px; top:16px; display:flex; flex-direction:column; gap:8px; z-index:3; }
.float-btn { width:46px; min-height:48px; border:0; border-radius:14px; background:rgba(255,255,255,.92); color:#4a2ad0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1px; font-size:10px; box-shadow:0 4px 12px rgba(20,6,90,.2); cursor:pointer; padding:4px 2px; }
.float-btn i { display:grid; place-items:center; }
.float-btn i svg { width:18px; height:18px; }
.float-btn.music { background:rgba(255,255,255,.75); }
.float-btn.playing { background:#ffe6a8; color:#a04a10; }
.float-btn.hide { display:none; }

.banner { position:absolute; left:16px; right:16px; bottom:12px; height:46px; display:grid; place-items:center; border-radius:4px; color:#fff; font-size:17px; font-weight:600; letter-spacing:4px; background:linear-gradient(90deg,var(--primary),var(--primary2) 45%,#2f7ff0); border:2px solid rgba(120,220,255,.75); box-shadow:0 0 0 2px rgba(30,10,120,.5), inset 0 0 18px rgba(120,90,255,.5); }
.banner::before, .banner::after { content:''; position:absolute; top:0; width:26px; height:100%; background:rgba(255,255,255,.12); }
.banner::before { left:0; clip-path:polygon(0 0,100% 0,40% 100%,0 100%); }
.banner::after { right:0; clip-path:polygon(60% 0,100% 0,100% 100%,0 100%); }

.card { background:#fff; border-radius:16px; margin:0 14px; box-shadow:0 8px 24px rgba(20,6,90,.14); }
.info-card { padding:18px 16px 14px; }
.info-row { display:flex; align-items:baseline; font-size:14px; line-height:1.7; }
.info-label { color:#222; font-weight:600; white-space:nowrap; }
.countdown { color:#2f6bff; font-weight:600; letter-spacing:.5px; }
.countdown b { font-weight:700; }
.info-rules { margin-top:2px; }
.info-value { color:#444; flex:1; }
.quota { margin-top:10px; padding-top:10px; border-top:1px dashed #e8e6f2; font-size:12px; color:#8a8a8a; display:flex; justify-content:space-between; }
.quota b { color:var(--primary); }

.stats { display:flex; margin:18px 20px 14px; color:#fff; }
.stat { flex:1; text-align:center; position:relative; }
.stat + .stat::before { content:''; position:absolute; left:0; top:6px; bottom:6px; width:1px; background:rgba(255,255,255,.28); }
.stat b { display:block; font-size:22px; font-weight:700; letter-spacing:.5px; }
.stat span { font-size:12.5px; opacity:.85; }

.search-wrap { padding:0 14px 14px; }
.search-box { height:44px; border:1.5px solid rgba(255,255,255,.85); border-radius:26px; display:flex; align-items:center; padding:0 16px; gap:8px; color:#fff; background:rgba(255,255,255,.06); }
.search-icon { display:grid; place-items:center; }
.search-icon svg { width:18px; height:18px; opacity:.9; }
.search-box input { flex:1; min-width:0; background:transparent; border:0; outline:0; color:#fff; font-size:14px; }
.search-box input::placeholder { color:rgba(255,255,255,.75); }
.search-box input::-webkit-search-cancel-button { -webkit-appearance:none; }

.works-card { padding:12px; min-height:260px; }
.tabs { display:flex; border:1px solid #e6e3f2; border-radius:8px; overflow:hidden; margin-bottom:12px; }
.tab { flex:1; height:38px; border:0; background:#faf9ff; color:#777; font-size:13.5px; cursor:pointer; }
.tab + .tab { border-left:1px solid #e6e3f2; }
.tab.active { background:#fff; color:var(--primary); font-weight:600; box-shadow:inset 0 0 0 1.5px var(--primary); border-radius:7px; }

.works-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.work-card { border:1px solid #eee; border-radius:10px; overflow:hidden; background:#fff; display:flex; flex-direction:column; }
.work-thumb { position:relative; height:118px; background:#f2f0fa; cursor:pointer; overflow:hidden; }
.work-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.work-no { position:absolute; left:0; top:0; min-width:26px; height:28px; padding:0 6px; background:var(--accent); color:#fff; font-size:14px; font-weight:700; display:grid; place-items:center; border-radius:0 0 10px 0; z-index:1; }
.work-video-tag { position:absolute; right:6px; top:6px; background:rgba(0,0,0,.55); color:#fff; font-size:10px; padding:2px 6px; border-radius:10px; }
.work-body { padding:8px 9px 10px; flex:1; display:flex; flex-direction:column; }
.work-name { font-size:13.5px; color:#222; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.work-votes { font-size:11.5px; color:#999; margin-top:3px; }
.work-votes b { color:var(--primary); font-size:14px; }
.vote-btn { margin-top:8px; height:30px; border:0; border-radius:15px; color:#fff; font-size:12.5px; font-weight:600; background:linear-gradient(90deg,var(--primary),var(--primary2)); cursor:pointer; }
.vote-btn:active { transform:scale(.97); }
.vote-btn:disabled { background:#d8d5e8; cursor:default; }

.empty { text-align:center; color:#999; padding:36px 0; font-size:13px; }
.load-more { text-align:center; color:var(--primary); font-size:13px; padding:14px; cursor:pointer; }
.page-end { text-align:center; color:rgba(255,255,255,.5); font-size:11px; padding:24px 0 10px; }

.bottom-nav { position:fixed; bottom:0; left:50%; transform:translateX(-50%); width:100%; max-width:480px; height:64px; background:#fff; display:flex; border-top:1px solid #eee; z-index:20; padding-bottom:env(safe-area-inset-bottom); }
.nav-item { flex:1; border:0; background:transparent; color:#777; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; font-size:10.5px; cursor:pointer; }
.nav-item svg { width:21px; height:21px; }

/* 弹层 */
/* 遮罩/底部弹层必须高于 .detail-view(50)，否则在作品详情页点投票时弹框会被详情页整个盖住，
   表现为「点了没反应，退出详情页才弹出」。层级：page 1 < detail 50 < overlay 52 < sheet 53 < poster 55 < toast 60 */
.overlay { position:fixed; inset:0; background:rgba(12,6,40,.55); z-index:52; }
.sheet { position:fixed; left:50%; transform:translateX(-50%); bottom:0; width:100%; max-width:480px; max-height:82vh; background:#fff; border-radius:18px 18px 0 0; z-index:53; overflow:hidden; display:flex; flex-direction:column; animation:slideUp .22s ease; }
@keyframes slideUp { from { transform:translate(-50%,100%); } to { transform:translate(-50%,0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
.overlay:not([hidden]) { animation:fadeIn .2s ease; }
.sheet-head { display:flex; align-items:center; justify-content:space-between; padding:16px 18px 12px; border-bottom:1px solid #f0eef7; flex:none; }
.sheet-head h3 { margin:0; font-size:16px; color:#222; }
.sheet-close { border:0; background:#f3f1fa; width:28px; height:28px; border-radius:50%; color:#666; display:grid; place-items:center; cursor:pointer; }
.sheet-body { overflow-y:auto; padding:16px 18px 24px; -webkit-overflow-scrolling:touch; }

.toast { position:fixed; left:50%; top:45%; transform:translateX(-50%); background:rgba(20,12,45,.9); color:#fff; padding:12px 20px; border-radius:10px; font-size:14px; z-index:60; max-width:80%; text-align:center; line-height:1.5; animation:fadeIn .18s ease; }
.demo-badge { position:fixed; right:12px; top:12px; background:rgba(0,0,0,.55); color:#fff; font-size:10px; padding:5px 9px; border-radius:12px; z-index:30; }

/* 弹层内容 */
.rank-list { display:flex; flex-direction:column; gap:8px; }
.rank-row { display:flex; align-items:center; gap:10px; padding:9px 10px; border-radius:10px; background:#faf9ff; }
.rank-row.top1 { background:linear-gradient(90deg,#fff3d6,#fffaf0); }
.rank-row.top2 { background:linear-gradient(90deg,#f0f2fb,#fafbff); }
.rank-row.top3 { background:linear-gradient(90deg,#fdeee2,#fff8f3); }
.rank-medal { width:26px; height:26px; border-radius:50%; display:grid; place-items:center; font-size:12px; font-weight:700; color:#fff; background:#c9c4df; flex:none; }
.top1 .rank-medal { background:#f5a623; } .top2 .rank-medal { background:#9aa5c4; } .top3 .rank-medal { background:#d68e5c; }
.rank-thumb { width:42px; height:42px; border-radius:6px; object-fit:cover; flex:none; }
.rank-info { flex:1; min-width:0; }
.rank-name { font-size:13.5px; color:#222; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.rank-no { font-size:11px; color:#999; }
.rank-count { color:var(--primary); font-weight:700; font-size:15px; }
.about-text { font-size:14px; line-height:1.9; color:#444; white-space:pre-line; }
.follow-box { text-align:center; padding:8px 0; }
.follow-box img { max-width:180px; border:1px solid #eee; border-radius:8px; margin:12px auto; display:block; }
.follow-qr-placeholder { width:160px; height:160px; margin:14px auto; background:#f5f3fb; border-radius:10px; display:grid; place-items:center; color:#aaa; font-size:12px; line-height:1.8; }
.detail-img { width:100%; border-radius:10px; display:block; margin-bottom:12px; }
.detail-video { width:100%; border-radius:10px; display:block; margin-bottom:12px; background:#000; }
.detail-title { font-size:17px; font-weight:700; color:#222; }
.detail-desc { font-size:13px; color:#666; line-height:1.8; margin:8px 0 14px; }
.detail-meta { display:flex; align-items:center; justify-content:space-between; background:#f7f5ff; padding:12px 14px; border-radius:10px; margin-bottom:14px; }
.detail-meta span { font-size:12px; color:#888; }
.detail-meta b { font-size:20px; color:var(--primary); }
.form-group { margin-bottom:14px; }
.form-group label { display:block; font-size:13px; color:#555; margin-bottom:6px; font-weight:600; }
.form-group input, .form-group textarea, .form-group select { width:100%; box-sizing:border-box; border:1px solid #e2dff0; border-radius:8px; padding:10px 12px; font-size:14px; outline:0; color:#222; background:#fff; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color:var(--primary); }
.form-group textarea { min-height:76px; resize:vertical; }
.form-tip { font-size:11.5px; color:#999; margin-top:4px; line-height:1.6; }
.btn-primary { width:100%; height:44px; border:0; border-radius:22px; color:#fff; font-size:15px; font-weight:600; background:linear-gradient(90deg,var(--primary),var(--primary2)); cursor:pointer; }
.btn-ghost { width:100%; height:40px; border:1px solid #e2dff0; border-radius:20px; color:#666; font-size:14px; background:#fff; cursor:pointer; margin-top:10px; }
.captcha-box { display:flex; gap:10px; align-items:center; }
.captcha-box svg { flex:none; border-radius:8px; cursor:pointer; }
.captcha-box input { flex:1; min-width:0; }
.more-menu { display:flex; flex-direction:column; gap:2px; }
.more-menu button { border:0; background:#faf9ff; padding:13px 14px; text-align:left; font-size:14px; color:#333; border-radius:9px; cursor:pointer; }
.more-menu button:active { background:#f0edff; }
.share-tipbox { background:#f4f1ff; border:1px solid #e6dfff; color:#5a4a9a; font-size:12.5px; line-height:1.7; padding:10px 12px; border-radius:9px; margin-bottom:12px; }
.share-tipbox b { color:var(--primary); }
.file-row { display:flex; gap:8px; align-items:center; }
.file-row input { flex:1; }
.pick-btn { flex:none; padding:9px 12px; border:1px solid #e2dff0; border-radius:8px; background:#faf9ff; font-size:12px; color:var(--primary); cursor:pointer; }

/* 报名上传作品图（可视化确认，避免「传了但没生效」） */
.sg-upload { position:relative; border:1.5px dashed #cfc9ea; border-radius:12px; background:#faf9ff; padding:20px 12px; text-align:center; cursor:pointer; overflow:hidden; min-height:104px; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.sg-upload:active { border-color:var(--primary); }
.sg-upload-icon { width:38px; height:38px; border-radius:50%; background:#ece7ff; color:var(--primary); font-size:28px; line-height:36px; font-weight:300; margin-bottom:6px; }
.sg-upload-text { font-size:13.5px; color:var(--primary); font-weight:600; }
.sg-upload-tip { font-size:11px; color:#a09caf; margin-top:4px; }
.sg-upload.uploading { opacity:.7; pointer-events:none; }
.sg-upload.has-img { padding:0; border-style:solid; border-color:#e2dff0; min-height:0; }
.sg-preview { display:block; width:100%; max-height:180px; object-fit:contain; background:#f4f2fb; }
.sg-upload.has-img .sg-upload-icon, .sg-upload.has-img .sg-upload-tip { display:none; }
.sg-upload.has-img .sg-upload-text { position:absolute; left:0; right:0; bottom:0; background:rgba(20,10,60,.62); color:#fff; padding:6px; font-size:12px; }
/* 提交按钮常驻底部：上传图片后表单被撑长，按钮也不会滚出可视区 */
.sg-submit-bar {
  position:-webkit-sticky; position:sticky; bottom:24px; z-index:2;
  background:#fff; padding:10px 0 4px; margin-top:2px;
  border-top:1px solid #f0eef7;
  box-shadow:0 -6px 14px rgba(20,10,60,.05);
}

@media (max-width:480px) {
  body { background:var(--primary); }
  .phone { box-shadow:none; }
}
@media (max-width:360px) {
  .hero-line { font-size:54px; } .hero-line-big { font-size:74px; }
  .banner { font-size:15px; letter-spacing:2px; }
}

/* 微信内隐藏页面自绘表头：微信自带顶部导航栏会显示 document.title，
   再画一个就重复了。开关由后台「活动配置 → 微信内隐藏页面表头」控制。 */
body.wechat-no-header .topbar,
body.wechat-no-header .dv-topbar { display:none !important; }
body.wechat-no-header .dv-preview { margin-top:0; }
/* 表头隐藏后，把「更多」功能并入悬浮「分享」按钮，避免入口丢失 */
.float-btn.share { background:rgba(255,255,255,.92); }

/* ================================================================ */
/* 全屏作品详情页（对应效果图 1）                                    */
/* ================================================================ */
.detail-view {
  position:fixed; left:50%; top:0; transform:translateX(-50%);
  width:100%; max-width:480px; height:100vh; height:100dvh;
  background:var(--primary); z-index:50; display:flex; flex-direction:column;
  overflow:hidden;
}
.detail-view[hidden] { display:none !important; }
.dv-bg {
  position:absolute; left:0; right:0; top:0; height:100%;
  background:linear-gradient(180deg,var(--primary) 0%,var(--primary2) 58%,var(--primary) 100%);
  z-index:0; pointer-events:none;
}
.dv-topbar { position:relative; z-index:2; flex:none; }
.dv-preview {
  position:relative; z-index:2; flex:none; display:flex; align-items:center;
  justify-content:center; padding:6px 12px; min-height:32px;
}
.dv-preview[hidden], .dv-preview[style*="display: none"] { display:none !important; }
.dv-scroll {
  position:relative; z-index:1; flex:1; overflow-y:auto; -webkit-overflow-scrolling:touch;
  padding:16px 14px 20px;
}
.dv-card { background:#fff; border-radius:14px; box-shadow:0 8px 24px rgba(20,6,90,.16); margin-bottom:16px; }
.dv-info { padding:18px 18px 0; }
.dv-avatar {
  width:54px; height:54px; border-radius:50%; overflow:hidden; flex:none;
  border:2px solid #fff; box-shadow:0 2px 8px rgba(30,10,90,.18); background:#eee;
  display:inline-block; vertical-align:middle;
}
.dv-avatar img { width:100%; height:100%; object-fit:cover; display:block; }
.dv-idname { display:inline-block; vertical-align:middle; margin-left:12px; max-width:calc(100% - 72px); }
.dv-no { color:#9a97a8; font-size:14px; line-height:1.5; }
.dv-name { color:#1c1c1c; font-size:19px; font-weight:700; line-height:1.4; word-break:break-all; }
.dv-stats { display:flex; margin-top:18px; border-top:1px solid #f0eef6; }
.dv-stat { flex:1; text-align:center; padding:14px 4px 16px; position:relative; }
.dv-stat + .dv-stat::before { content:''; position:absolute; left:0; top:16px; bottom:16px; width:1px; background:#eeeaf4; }
.dv-stat span { display:block; color:#96939f; font-size:12.5px; margin-bottom:6px; }
.dv-stat b { color:var(--primary); font-size:19px; font-weight:600; }
.dv-media { padding:12px; }
.dv-media-inner { position:relative; border-radius:8px; overflow:hidden; background:#2a2540; min-height:200px; }
.dv-media-inner img { width:100%; display:block; }
.dv-media-inner video { width:100%; display:block; background:#000; }
.dv-play {
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  width:68px; height:68px; border-radius:50%; border:3px solid rgba(255,255,255,.9);
  background:rgba(0,0,0,.28); display:grid; place-items:center; cursor:pointer;
  box-shadow:0 4px 18px rgba(0,0,0,.3);
}
.dv-play::after {
  content:''; width:0; height:0; margin-left:5px;
  border-left:20px solid #fff; border-top:12px solid transparent; border-bottom:12px solid transparent;
}
.dv-play:active { transform:translate(-50%,-50%) scale(.94); }
.dv-footer { text-align:center; color:rgba(255,255,255,.72); font-size:12.5px; padding:6px 0 8px; letter-spacing:.3px; }
.dv-actions {
  position:relative; z-index:2; flex:none; display:flex; gap:12px;
  padding:14px 18px calc(18px + env(safe-area-inset-bottom));
}
.dv-btn {
  flex:1; height:52px; border:0; border-radius:28px; color:#fff;
  font-size:19px; font-weight:600; letter-spacing:2px; cursor:pointer;
  box-shadow:0 6px 18px rgba(10,4,50,.22);
}
.dv-btn:active { transform:scale(.98); }
.dv-btn-vote { background:linear-gradient(90deg,#2fd4d0,#22b8c9); }
.dv-btn-poster { background:linear-gradient(90deg,#f45ab6,#c93bd8); }
.dv-btn:disabled { opacity:.55; cursor:default; }

/* ================================================================ */
/* 一键分享卡片弹层（原二维码海报方案已停用）                          */
/* ================================================================ */
.poster-view { position:fixed; inset:0; z-index:55; display:flex; align-items:center; justify-content:center; }
.poster-view[hidden] { display:none !important; }
.pv-mask { position:absolute; inset:0; background:rgba(16,6,44,.78); animation:fadeIn .2s ease; }
.pv-body {
  position:relative; z-index:1; width:100%; max-width:480px; max-height:100vh;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding:16px 0 calc(20px + env(safe-area-inset-bottom)); overflow-y:auto;
}
.pv-loading { color:#fff; font-size:14px; padding:40px 0; }
.pv-img {
  display:block; width:78%; max-width:340px; height:auto; border-radius:6px;
  box-shadow:0 12px 40px rgba(0,0,0,.45); -webkit-touch-callout:default;
}
.pv-img[hidden] { display:none !important; }
/* 一键分享卡片：模拟微信「发送给朋友」的卡片预览 */
.share-card {
  width:84%; max-width:360px; background:#fff; border-radius:12px; overflow:hidden;
  display:flex; align-items:stretch; text-align:left;
  box-shadow:0 12px 40px rgba(0,0,0,.35);
}
.sc-cover {
  width:84px; flex:0 0 84px; min-height:104px;
  background:linear-gradient(135deg,#4527d6,#7b3ff2);
  display:flex; align-items:center; justify-content:center;
}
.sc-cover img { width:100%; height:100%; object-fit:cover; display:block; }
.sc-info { padding:14px 14px 12px; min-width:0; flex:1; }
.sc-title { color:#1a1a1a; font-size:15px; font-weight:700; line-height:1.35; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.sc-desc { color:#666; font-size:12px; line-height:1.5; margin-top:6px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.sc-domain { color:#999; font-size:11px; margin-top:10px; }
.pv-tip { color:#fff; font-size:13.5px; margin-top:20px; text-align:center; padding:0 20px; }
.pv-tip::before { content:'☝'; margin-right:6px; }
.pv-actions { display:flex; gap:12px; margin-top:16px; }
.pv-btn { border:0; border-radius:20px; padding:10px 22px; font-size:13.5px; color:#fff; background:linear-gradient(90deg,#ff9d3d,#ff6a3d); cursor:pointer; }
.pv-btn.ghost { background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.4); }
.pv-hint {
  position:absolute; right:12px; bottom:14px; color:rgba(255,255,255,.55);
  font-size:12px; pointer-events:none;
}
.pv-hint::after { content:'↗'; margin-left:4px; }

/* 可长按发送的卡片图片                                                */
.pv-headline { color:#fff; font-size:16px; font-weight:700; margin-bottom:10px; letter-spacing:.5px; }
.sc-card-img {
  display:block; width:84%; max-width:360px; height:auto; border-radius:12px;
  box-shadow:0 12px 40px rgba(0,0,0,.4); -webkit-touch-callout:default;
}
.sc-card-img[hidden], .share-card[hidden] { display:none !important; }
.pulse { animation:cardPulse .55s ease 2; }
@keyframes cardPulse {
  0%,100% { transform:scale(1); box-shadow:0 12px 40px rgba(0,0,0,.4); }
  50% { transform:scale(1.035); box-shadow:0 0 0 5px rgba(255,255,255,.28), 0 12px 40px rgba(0,0,0,.4); }
}

/* 投票张数选择器                                                    */
.vc-head { font-size:15.5px; font-weight:700; color:#222; margin-bottom:4px; }
.vc-sub { font-size:12.5px; color:#888; margin-bottom:16px; }
.vc-sub b { color:var(--primary); font-size:15px; }
.vc-stepper { display:flex; align-items:center; justify-content:center; gap:22px; margin-bottom:16px; }
.vc-stepper button {
  width:46px; height:46px; border:1px solid #e3e0f2; border-radius:50%;
  background:#f7f5ff; color:var(--primary); font-size:26px; line-height:1; cursor:pointer;
}
.vc-stepper button:active { background:#ebe5ff; }
.vc-num { min-width:96px; text-align:center; }
.vc-num b { font-size:40px; color:var(--primary); font-weight:800; }
.vc-num span { font-size:13px; color:#888; margin-left:4px; }
.vc-quick { display:flex; flex-wrap:wrap; gap:8px; justify-content:center; }
.vc-quick button {
  border:1px solid #e3e0f2; background:#fff; color:#555; border-radius:18px;
  padding:7px 15px; font-size:12.5px; cursor:pointer;
}
.vc-quick button.active { background:var(--primary); border-color:var(--primary); color:#fff; }

@media (max-width:360px) {
  .dv-name { font-size:17px; }
  .dv-stat b { font-size:17px; }
  .dv-btn { font-size:17px; height:48px; }
}


/* v1.2 分享卡片：真机诊断行 + 四按钮换行（仅在微信内签名未就绪时显示） */
.pv-actions { flex-wrap:wrap; }
.sc-diag {
  width:84%; max-width:360px; box-sizing:border-box; margin:10px auto 0;
  padding:8px 10px; border-radius:8px; font-size:11px; line-height:1.5; text-align:left;
  background:rgba(255,90,90,.14); color:#ffd7d7; border:1px solid rgba(255,120,120,.4);
  cursor:pointer; word-break:break-all;
}
.sc-diag[hidden] { display:none !important; }
