/* 首屏手机里的仿微信演示；按 340×720 设计，窄屏整体等比缩放 */
.phone-col { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; }
.phone-fit { width: calc(360px * var(--s, 1)); height: calc(740px * var(--s, 1)); position: relative; }
.phone {
  position: absolute; top: 0; left: 0; width: 360px; height: 740px; transform: scale(var(--s, 1)); transform-origin: top left;
  background: #1c1c1e; border: 2px solid #3a3a3c; border-radius: 52px; padding: 8px;
  box-shadow: 0 40px 70px -40px rgba(74, 52, 38, 0.7);
}
.screen {
  position: relative; width: 340px; height: 720px; border-radius: 43px; overflow: hidden; background: #ededed;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", sans-serif; color: #111;
  -webkit-font-smoothing: antialiased; user-select: none;
}
.island { position: absolute; top: 10px; left: 50%; width: 96px; height: 28px; margin-left: -48px; background: #000; border-radius: 20px; z-index: 30; }
.sbar { position: absolute; inset: 0 0 auto; height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 6px 26px 0 34px; z-index: 25; font-weight: 600; font-size: 15px; pointer-events: none; }
.sbar-r { display: flex; gap: 5px; align-items: center; }
.sig { display: flex; gap: 1.5px; align-items: flex-end; height: 11px; }
.sig i { width: 3px; background: #111; border-radius: 1px; }
.sig i:nth-child(1) { height: 4px; } .sig i:nth-child(2) { height: 6px; } .sig i:nth-child(3) { height: 8.5px; } .sig i:nth-child(4) { height: 11px; }
.bat { width: 24px; height: 12px; border: 1.5px solid rgba(17,17,17,.45); border-radius: 4px; padding: 1.5px; position: relative; }
.bat::after { content: ""; position: absolute; right: -4px; top: 3px; width: 2px; height: 4px; background: rgba(17,17,17,.45); border-radius: 0 1px 1px 0; }
.bat b { display: block; height: 100%; width: 78%; background: #111; border-radius: 1.5px; }
.home-ind { position: absolute; bottom: 7px; left: 50%; width: 120px; margin-left: -60px; height: 5px; border-radius: 3px; background: #111; z-index: 40; pointer-events: none; }

/* ---- 微信聊天页 ---- */
.app { position: absolute; inset: 0; transition: transform .45s cubic-bezier(.3,.7,.2,1), filter .45s; }
.wx { display: flex; flex-direction: column; padding-top: 46px; background: #ededed; }
.wx.away { transform: translateX(-28%); filter: brightness(.82); }
.wx-nav { height: 44px; flex: none; display: flex; align-items: center; padding: 0 12px; font-size: 17px; font-weight: 600; }
.wx-nav .back { font-size: 26px; font-weight: 300; width: 60px; display: flex; align-items: center; gap: 2px; }
.wx-nav .back small { font-size: 15px; font-weight: 500; background: #d8d8d8; border-radius: 10px; padding: 0 7px; }
.wx-nav .ttl { flex: 1; text-align: center; }
.wx-nav .more { width: 60px; text-align: right; font-size: 20px; letter-spacing: 1px; }
.wx-list { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 6px 12px 12px; display: flex; flex-direction: column; gap: 16px; scrollbar-width: none; }
.wx-list::-webkit-scrollbar { display: none; }
.wx-list > :first-child { margin-top: auto; }
.wx-time { align-self: center; font-size: 12px; color: #9a9a9a; }
.wx-row { display: flex; gap: 9px; align-items: flex-start; }
.wx-row.me { flex-direction: row-reverse; }
.wx-av { width: 40px; height: 40px; border-radius: 6px; flex: none; display: grid; place-items: center; font-size: 22px; }
.wx-col { display: flex; flex-direction: column; gap: 4px; min-width: 0; max-width: 236px; align-items: flex-start; }
.wx-row.me .wx-col { align-items: flex-end; }
.wx-nick { font-size: 12px; color: #8c8c8c; padding-left: 2px; }
.wx-bub { position: relative; background: #fff; border-radius: 6px; padding: 9px 11px; font-size: 16px; line-height: 1.42; word-break: break-word; }
.wx-bub::before { content: ""; position: absolute; top: 13px; left: -5px; border: 6px solid transparent; border-left: 0; border-right-color: #fff; }
.wx-row.me .wx-bub { background: #95ec69; }
.wx-row.me .wx-bub::before { left: auto; right: -5px; border-right: 0; border-left: 6px solid #95ec69; }
.wx-emoji { font-size: 34px; line-height: 1; padding: 2px 0; }
.wx-in { animation: wxIn .18s ease-out both; }
@keyframes wxIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* 视频号分享卡 */
.wx-video { width: 158px; background: #fff; border-radius: 6px; overflow: hidden; }
.wx-video .cover { position: relative; aspect-ratio: 3 / 4; background: radial-gradient(circle at 50% 38%, #9b7656 0, #4d3626 48%, #1f1610 100%); display: grid; place-items: center; overflow: hidden; }
.wx-video .face { font-size: 78px; filter: saturate(.85); transform: translateY(-6px); }
.wx-video .big { position: absolute; left: 6px; right: 6px; top: 10px; text-align: center; font-size: 19px; font-weight: 900; line-height: 1.18; color: #ffe14a; -webkit-text-stroke: 1px #2a1600; paint-order: stroke; text-shadow: 0 2px 0 #2a1600; }
.wx-video .big span { display: block; color: #fff; font-size: 15px; }
.wx-video .play { position: absolute; width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.4); display: grid; place-items: center; bottom: 34px; }
.wx-video .play::after { content: ""; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #fff; margin-left: 3px; }
.wx-video .meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 8px 6px; font-size: 11px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.6)); display: flex; align-items: center; gap: 5px; }
.wx-video .meta i { width: 16px; height: 16px; border-radius: 50%; background: #c99a6b; display: inline-block; }
.wx-video .foot { padding: 6px 8px; font-size: 11px; color: #8a8a8a; display: flex; align-items: center; gap: 4px; }
.wx-video .foot b { width: 12px; height: 12px; border-radius: 3px; background: linear-gradient(135deg, #fa9d3b, #f5642d); display: inline-block; }

/* 图片消息（辟谣卡） */
.wx-img { width: 138px; border-radius: 5px; overflow: hidden; position: relative; border: .5px solid rgba(0,0,0,.12); background: #fff; }
.wx-img .pc { font-size: 6.57px; border-radius: 0; }
.wx-img .sending { position: absolute; inset: 0; background: rgba(0,0,0,.35); display: grid; place-items: center; }
.spin { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 输入栏与加号面板 */
.wx-bar { flex: none; background: #f7f7f7; border-top: .5px solid #dcdcdc; padding: 8px 10px 30px; display: flex; gap: 9px; align-items: center; transition: padding .25s; }
.wx-bar.panel-open { padding-bottom: 10px; }
.wx-ico { width: 28px; height: 28px; border-radius: 50%; border: 1.6px solid #1f1f1f; flex: none; display: grid; place-items: center; font-size: 15px; line-height: 1; color: #1f1f1f; }
.wx-field { flex: 1; min-height: 38px; background: #fff; border-radius: 6px; padding: 8px 10px; font-size: 16px; line-height: 22px; white-space: nowrap; overflow: hidden; }
.wx-field .caret { display: inline-block; width: 1.5px; height: 19px; background: #07c160; vertical-align: -4px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.wx-send { flex: none; background: #07c160; color: #fff; border-radius: 6px; font-size: 15px; padding: 7px 12px; font-weight: 500; }
.wx-panel { flex: none; height: 0; overflow: hidden; background: #f7f7f7; transition: height .25s ease; }
.wx-panel.open { height: 212px; border-top: .5px solid #e2e2e2; }
.wx-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 0; padding: 20px 14px; }
.wx-cell { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 12px; color: #6b6b6b; }
.wx-cell i { width: 58px; height: 58px; border-radius: 14px; background: #fff; display: grid; place-items: center; font-size: 26px; font-style: normal; }

/* 相册选择 */
.sheet { position: absolute; left: 0; right: 0; bottom: 0; height: 74%; background: #fff; border-radius: 14px 14px 0 0; transform: translateY(102%); transition: transform .35s cubic-bezier(.3,.7,.2,1); z-index: 20; display: flex; flex-direction: column; }
.sheet.open { transform: none; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; font-size: 16px; font-weight: 600; }
.sheet-top .cancel { font-weight: 400; color: #333; }
.sheet-send { background: #d7d7d7; color: #fff; border-radius: 6px; padding: 6px 12px; font-size: 14px; transition: background .2s; }
.sheet-send.on { background: #07c160; }
.album { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 0 2px; }
.album > div { aspect-ratio: 1; overflow: hidden; position: relative; display: grid; place-items: center; font-size: 40px; }
.album .pick { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #fff; background: rgba(0,0,0,.15); transition: background .15s; }
.album .pick.on { background: #07c160; border-color: #07c160; }
.album .pick.on::after { content: "1"; color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; height: 100%; }
.album .thumb-card .pc { font-size: 5.2px; position: absolute; top: 0; left: 50%; margin-left: -10.5em; }

/* ---- 辟谣站（手机浏览器里打开） ---- */
.web { transform: translateX(100%); background: #f3ead8; display: flex; flex-direction: column; padding-top: 46px; box-shadow: -10px 0 30px rgba(0,0,0,.15); }
.web.in { transform: none; }
.web-top { flex: none; padding: 6px 14px 10px; background: #f3ead8; }
.web-url { background: rgba(74,52,38,.08); border-radius: 10px; text-align: center; font-size: 14px; color: #4a3426; padding: 8px; }
.web-body { flex: 1; overflow-y: auto; padding: 14px 16px 40px; display: flex; flex-direction: column; gap: 14px; scrollbar-width: none; scroll-behavior: smooth; }
.web-body::-webkit-scrollbar { display: none; }
.web-title { font-family: var(--f-brush); font-size: 34px; color: #4a3426; text-align: center; }
.web-box { background: #fffaf0; border: 1.5px solid #dccdb0; border-radius: 14px; padding: 12px; display: flex; gap: 10px; align-items: center; min-height: 92px; }
.web-shot { width: 52px; height: 70px; border-radius: 6px; background: radial-gradient(circle at 50% 40%, #9b7656, #2b1d13); display: grid; place-items: center; font-size: 28px; flex: none; opacity: 0; transform: scale(.6); transition: all .3s; }
.web-shot.on { opacity: 1; transform: none; }
.web-ph { font-size: 14px; color: #9c8670; }
.web-go { background: #2f8fd3; color: #fff; border-radius: 999px; text-align: center; font-size: 17px; font-weight: 700; padding: 12px; }
.web-steps { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: #7a6250; }
.web-steps div { display: flex; align-items: center; gap: 8px; animation: wxIn .2s both; }
.web-steps .ok { color: #3f8a4a; font-weight: 700; }
.web-srcs { display: flex; flex-wrap: wrap; gap: 6px; padding-left: 22px; }
.web-srcs span { font-size: 12px; background: #fffaf0; border: 1px solid #dccdb0; border-radius: 999px; padding: 2px 8px; animation: wxIn .2s both; }
.web-card { display: flex; justify-content: center; }
.web-card .pc { font-size: 14.2px; box-shadow: 0 16px 30px -18px rgba(74,52,38,.7); animation: wxIn .35s both; }
.web-save { align-self: center; border: 1.5px solid #4a3426; color: #4a3426; border-radius: 999px; padding: 9px 28px; font-size: 15px; font-weight: 600; }
.toast-in { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); background: rgba(30,30,30,.85); color: #fff; border-radius: 10px; padding: 14px 18px; font-size: 14px; z-index: 35; text-align: center; animation: wxIn .2s both; }

/* ---- 系统层：通知横幅、截屏、心里话、手指 ---- */
.banner { position: absolute; left: 10px; right: 10px; top: 50px; background: rgba(250,250,250,.92); backdrop-filter: blur(10px); border-radius: 18px; padding: 10px 12px; display: flex; gap: 10px; align-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.18); z-index: 28; transform: translateY(calc(-100% - 70px)); transition: transform .4s cubic-bezier(.3,.7,.2,1); }
.banner.on { transform: none; }
.banner i { width: 36px; height: 36px; border-radius: 9px; background: #07c160; flex: none; display: grid; place-items: center; font-style: normal; font-size: 20px; }
.banner b { display: block; font-size: 14px; }
.banner span { font-size: 13px; color: #333; }
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 32; }
.flash.go { animation: flash .45s ease-out; }
@keyframes flash { 0% { opacity: .9; } 100% { opacity: 0; } }
.shot { position: absolute; left: 16px; bottom: 90px; width: 82px; height: 174px; border-radius: 10px; border: 3px solid #fff; box-shadow: 0 6px 18px rgba(0,0,0,.3); overflow: hidden; z-index: 31; transform: scale(2.6); transform-origin: left bottom; opacity: 0; transition: transform .45s cubic-bezier(.3,.7,.2,1), opacity .3s; background: #ededed; }
.shot.on { transform: none; opacity: 1; }
.shot .mini { position: relative; width: 340px; height: 720px; transform: scale(.2235); transform-origin: top left; }
.os { position: absolute; right: 18px; bottom: 112px; max-width: 230px; background: #fff; border: 1.5px dashed #a9a9a9; border-radius: 22px; padding: 10px 14px; font-size: 14px; line-height: 1.45; color: #444; font-style: italic; z-index: 26; opacity: 0; transform: translateY(8px) scale(.96); transition: all .3s; }
.os.on { opacity: 1; transform: none; }
.os::before, .os::after { content: ""; position: absolute; background: #fff; border: 1.5px dashed #a9a9a9; border-radius: 50%; }
.os::before { width: 12px; height: 12px; right: 26px; bottom: -16px; }
.os::after { width: 7px; height: 7px; right: 18px; bottom: -28px; }
.finger { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: rgba(60,60,60,.28); border: 2px solid rgba(255,255,255,.85); z-index: 50; pointer-events: none; opacity: 0; transition: left .5s cubic-bezier(.4,.1,.2,1), top .5s cubic-bezier(.4,.1,.2,1), opacity .2s; }
.finger.on { opacity: 1; }
.finger.press { animation: press .3s ease-out; }
@keyframes press { 50% { transform: scale(.72); background: rgba(60,60,60,.45); } }

.replay { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink-2); font-size: 20px; cursor: pointer; }
.replay:hover { border-color: var(--ink-2); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .app, .sheet, .banner, .shot, .os, .finger, .wx-panel { transition: none !important; }
  .wx-in, .web-steps div, .web-srcs span, .web-card .pc { animation: none !important; }
}
