/* 中南点点原型 · 移动端（uni-app H5 复刻，设计稿 375 宽） */
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  font-size: 14px; color: #1e323f; background: linear-gradient(135deg, #dfeaf7, #c9daf0);
  display: flex; align-items: center; justify-content: center; gap: 40px; padding: 20px;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; border: 0; outline: none; background: none; }
textarea { resize: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.ellipsis { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 手机外框 ---------- */
.phone {
  position: relative; flex: none; width: 390px; height: min(844px, calc(100vh - 40px));
  border-radius: 36px; overflow: hidden; background: #eaf3ff; transform: translateZ(0);
  box-shadow: 0 0 0 10px #1b2430, 0 24px 60px rgba(20, 40, 80, .35);
}
.h5-view { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }
.h5-view::-webkit-scrollbar { display: none; }
@media (max-width: 560px) {
  body { padding: 0; display: block; background: #eaf3ff; }
  .phone { width: 100vw; height: 100vh; height: 100dvh; border-radius: 0; box-shadow: none; }
  .proto-panel { display: none !important; }
}

/* ---------- 原型控制面板（仅桌面） ---------- */
.proto-panel {
  width: 260px; background: rgba(255, 255, 255, .9); border-radius: 16px; padding: 18px;
  box-shadow: 0 10px 30px rgba(20, 40, 80, .12); font-size: 13px; align-self: center;
}
.proto-panel h3 { font-size: 15px; margin-bottom: 4px; }
.proto-panel p { color: #627079; line-height: 1.6; margin-bottom: 12px; font-size: 12px; }
.proto-panel .pp-label { color: #627079; font-size: 12px; margin: 12px 0 6px; }
.proto-panel .pp-user { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 8px 10px; border-radius: 8px; text-align: left; }
.proto-panel .pp-user:hover { background: #eef5fc; }
.proto-panel .pp-user.is-cur { background: #e3f1f9; color: #3087cc; font-weight: 600; }
.proto-panel .pp-links { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.proto-panel .pp-links a, .proto-panel .pp-links button { color: #3087cc; text-align: left; padding: 2px 0; }
.proto-panel .pp-links button.danger { color: #e64a4a; }

/* ---------- 通用 ---------- */
.pg { min-height: 100%; position: relative; }
.pg--tab { padding-bottom: 100px; }
.navbar {
  position: sticky; top: 0; z-index: 20; height: 44px; display: flex; align-items: center; justify-content: center;
  background: #eaf3ff; font-size: 17px; color: #1e323f;
}
.navbar--white { background: #fff; }
.navbar__back { position: absolute; left: 4px; top: 0; height: 44px; width: 44px; display: flex; align-items: center; justify-content: center; }
.navbar__title { max-width: 70%; }
.empty-tip { text-align: center; color: #9aa4ad; font-size: 15px; font-weight: 600; padding: 40px 0 20px; }
.more-tip { text-align: center; color: #9aa4ad; font-size: 14px; font-weight: 600; padding: 16px 0 24px; }
.avatar { flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; overflow: hidden; background: #e3f1f9; width: 40px; height: 40px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--txt { color: #fff; font-weight: 700; font-size: 16px; }
.avatar.xs { width: 28px; height: 28px; font-size: 12px; }
.avatar.sm { width: 34px; height: 34px; font-size: 14px; }
.avatar.lg { width: 50px; height: 50px; font-size: 20px; }
.avatar.xl { width: 74px; height: 74px; font-size: 28px; }
.red-dot { display: inline-block; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: #f04848; color: #fff; font-size: 10px; line-height: 16px; text-align: center; font-weight: 600; }
.red-dot--sm { min-width: 8px; width: 8px; height: 8px; padding: 0; }
.lx-pill { flex: none; padding: 5px 12px; border-radius: 16px; font-size: 13px; font-weight: 600; color: #1e323f; }
.lx-pill--green { background: linear-gradient(90deg, #dafbef, #c8f5e5); }
.lx-pill--orange { background: linear-gradient(90deg, #fff1e1, #ffe2c4); }
.lx-pill--pink { background: linear-gradient(90deg, #ffeef4, #ffd9e6); }
.lx-pill--purple { background: linear-gradient(90deg, #efeaff, #ded4ff); }
.top-pill { flex: none; padding: 3px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; color: #fff; background: linear-gradient(90deg, #ff7b6b, #f44a6a); }
.reply-flag { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 600; }
.reply-flag img { width: 14px; height: 14px; }
.reply-flag--done { color: #18b07c; }
.reply-flag--pending { color: #f08c2a; }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; height: 44px; border-radius: 22px; color: #fff; font-size: 16px; font-weight: 600;
  background: linear-gradient(90deg, #2f80ff, #065cf8);
}
.btn-primary:disabled { opacity: .45; }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; height: 44px; border-radius: 22px; border: 1px solid #9aa4ad; color: #627079; font-size: 16px; background: #fff; }

/* ---------- 底部 TabBar ---------- */
.tabbar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 30; height: 86px; display: none;
  background: url(../assets/h5/tab-bar-bg.svg) center bottom / 100% 100% no-repeat;
  padding: 18px 0 calc(env(safe-area-inset-bottom) + 6px);
}
.tabbar.is-show { display: flex; }
.tabbar__item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; color: rgba(255, 255, 255, .88); font-size: 12px; position: relative; }
.tabbar__item img { width: 34px; height: 34px; }
.tabbar__item.is-active { color: #fff; font-weight: 700; }
.tabbar__item .red-dot { position: absolute; top: -2px; left: calc(50% + 10px); }

/* ---------- 首页 ---------- */
.home-hero { position: relative; height: 240px; background: url(../assets/h5/hero-bg-deco.webp) center top / 100% auto no-repeat; }
.home-search-card {
  position: relative; margin: -2px 20px 0; padding: 16px 20px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, .72); backdrop-filter: blur(6px); box-shadow: 0 6px 18px rgba(48, 135, 204, .08);
}
.home-search-card__logo { height: 24px; width: auto; margin: 0 0 14px 6px; }
.home-search { display: flex; align-items: center; gap: 8px; height: 44px; border-radius: 22px; background: #eef5fc; padding: 0 14px; }
.home-search img { width: 18px; height: 18px; opacity: .7; }
.home-search input { flex: 1; font-size: 16px; }
.home-search input::placeholder { color: #627079; }
.home-search__clear { width: 18px; height: 18px; border-radius: 50%; background: #c3ccd4; color: #fff; font-size: 12px; line-height: 18px; text-align: center; }
.cat-chips { display: flex; gap: 8px; overflow-x: auto; padding: 14px 20px 0; scrollbar-width: none; }
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 18px; background: #fff; font-size: 15px; font-weight: 600; color: #1e323f; }
.cat-chip img { width: 20px; height: 20px; }
.cat-chip.is-active { color: #fff; background: linear-gradient(90deg, #469fff, #065cf8); }
.sort-row { display: flex; align-items: center; gap: 8px; padding: 12px 20px 0; }
.sort-pill { height: 34px; padding: 0 14px; border-radius: 17px; background: #fff; font-size: 15px; font-weight: 600; color: #1e323f; }
.sort-pill.is-active { color: #fff; background: linear-gradient(90deg, #469fff, #065cf8); }
.sort-row__swap { margin-left: auto; display: inline-flex; align-items: center; gap: 3px; color: #627079; font-size: 14px; font-weight: 600; }
.sort-row__swap svg.is-spin { animation: spin .6s linear; }
@keyframes spin { to { transform: rotate(360deg); } }
.top5 { padding: 0 20px; }
.top5__title { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; color: #627079; margin: 14px 0 12px; }
.top5__title svg { flex: none; }
.top5__box { background: #fff; border-radius: 14px; padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.top5__item { position: relative; display: flex; align-items: center; gap: 10px; min-height: 66px; padding: 12px 14px; border-radius: 10px; background: linear-gradient(180deg, #f6f9fe, #f0f5fc); text-align: left; overflow: hidden; }
.top5__item--1 { grid-column: span 2; min-height: 72px; background: linear-gradient(90deg, #ffe9ee, #fff3f5); }
.top5__item--2, .top5__item--3 { flex-direction: column; align-items: flex-start; gap: 8px; min-height: 104px; }
.top5__item--4, .top5__item--5 { grid-column: span 2; }
.top5__no { flex: none; font-size: 34px; font-weight: 900; font-style: italic; line-height: 1; letter-spacing: -1px; color: transparent; -webkit-background-clip: text; background-clip: text; background-image: linear-gradient(180deg, #ffc1cf, #ffe4ea); }
.top5__item--1 .top5__no { background-image: linear-gradient(180deg, #f0577a, #f78ba3); }
.top5__item--4 .top5__no, .top5__item--5 .top5__no { font-size: 28px; }
.top5__bt { font-size: 14px; font-weight: 600; color: #4a5a66; }
.top5__item--1 .top5__bt { font-size: 16px; color: #1e323f; }
.top5__hot { font-size: 12px; color: #627079; margin-top: 4px; font-weight: 600; }
.top5__arrow { margin-left: auto; color: #f04876; font-size: 18px; font-weight: 700; }
.post-list { padding: 12px 20px 0; display: flex; flex-direction: column; gap: 14px; }
.post-card { background: #fff; border-radius: 14px; padding: 16px 20px 14px; text-align: left; width: 100%; display: block; }
.post-card__head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid #eef1f4; }
.post-card__who { flex: 1; min-width: 0; }
.post-card__nc { font-size: 17px; font-weight: 700; color: #1e323f; }
.post-card__time { font-size: 12px; color: #627079; margin-top: 2px; font-weight: 600; }
.post-card__tags { display: flex; align-items: center; gap: 6px; }
.post-card__bt { font-size: 19px; line-height: 1.5; color: #1e323f; margin-top: 12px; }
.post-card__nr { font-size: 15px; line-height: 1.75; color: #627079; font-weight: 600; margin-top: 6px; }
.post-card__imgs { display: flex; gap: 8px; margin-top: 10px; }
.post-card__imgs img { width: 120px; height: 90px; border-radius: 8px; object-fit: cover; background: #e3f1f9; }
.post-card__foot { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #eef1f4; color: #627079; font-size: 15px; font-weight: 600; }
.post-card__foot span { display: inline-flex; align-items: center; gap: 4px; }
.post-card__foot img { width: 17px; height: 17px; }
.post-card__flag { margin-right: auto; }
.post-card__ops { display: flex; justify-content: flex-end; gap: 10px; margin-top: 10px; }
.post-card__ops button { height: 30px; padding: 0 14px; border-radius: 15px; font-size: 13px; font-weight: 600; border: 1px solid #c7e1f0; color: #3087cc; background: #f6fcff; }
.post-card__ops button.danger { border-color: #ffd0d0; color: #e64a4a; background: #fff6f6; }
.post-card__badge { position: absolute; }
.fab {
  position: fixed; right: 20px; bottom: 112px; z-index: 25; width: 70px; height: 70px; border-radius: 50%;
  background: url(../assets/h5/fab-icon.png) center / cover no-repeat; box-shadow: 0 8px 20px rgba(6, 92, 248, .35);
  color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 14px;
}

/* ---------- 帖子详情 ---------- */
.pd { background: #fff; min-height: 100%; padding: 16px 20px 80px; }
.pd__head { display: flex; align-items: center; gap: 10px; }
.pd__who { flex: 1; min-width: 0; }
.pd__nc { font-size: 18px; font-weight: 700; }
.pd__time { font-size: 12px; color: #627079; margin-top: 2px; font-weight: 600; }
.pd__bt { font-size: 18px; font-weight: 700; line-height: 1.55; margin-top: 12px; }
.pd__nr { font-size: 15px; line-height: 1.75; color: #627079; font-weight: 600; margin-top: 8px; white-space: pre-wrap; word-break: break-word; }
.pd__imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.pd__imgs--1 { grid-template-columns: 140px; }
.pd__imgs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: #e3f1f9; }
.pd__meta { display: flex; align-items: center; gap: 18px; margin-top: 22px; padding-bottom: 10px; border-bottom: 1px solid #eef1f4; color: #627079; font-size: 14px; font-weight: 600; }
.pd__meta span, .pd__meta button { display: inline-flex; align-items: center; gap: 4px; }
.pd__meta img { width: 17px; height: 17px; }
.pd__meta .is-liked { color: #f04876; }
.pd__acts { margin-left: auto; display: flex; align-items: center; }
.pd__acts button { padding: 0 12px; color: #4a5a66; }
.pd__acts button + button { border-left: 1px solid #dfe4e8; }
.pd__acts button:last-child { padding-right: 0; }
.pd__total { font-size: 16px; font-weight: 700; margin: 12px 0 4px; }
.cmt { display: flex; gap: 10px; padding: 14px 0; border-bottom: 1px solid #eef1f4; }
.cmt__main { flex: 1; min-width: 0; }
.cmt__nc { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 15px; font-weight: 600; color: #4a5a66; }
.cmt__tag { padding: 1px 6px; border-radius: 4px; font-size: 11px; background: #e3f1f9; color: #3087cc; }
.cmt__tag--official { background: #fff2e5; color: #f08c2a; }
.cmt__txt { font-size: 16px; line-height: 1.6; font-weight: 600; color: #1e323f; margin-top: 4px; word-break: break-word; white-space: pre-wrap; }
.cmt__txt em { font-style: normal; color: #3087cc; }
.cmt__imgs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.cmt__imgs img { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; }
.cmt__bar { display: flex; align-items: center; gap: 18px; margin-top: 8px; color: #9aa4ad; font-size: 13px; font-weight: 600; }
.cmt__bar button { color: #627079; }
.cmt__bar .cmt__like { margin-left: auto; display: inline-flex; align-items: center; gap: 3px; }
.cmt__bar .cmt__like img { width: 16px; height: 16px; }
.cmt__bar .cmt__like.is-liked { color: #f04876; }
.cmt__bar .cmt__del { color: #e64a4a; }
.cmt__more { color: #2f6bff; font-size: 14px; font-weight: 600; margin-top: 8px; }
.cmt__children { margin-top: 6px; }
.cmt__children .cmt { border-bottom: 0; padding: 10px 0 0; }
.composer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; box-shadow: 0 -2px 10px rgba(0, 0, 0, .04);
  padding: 8px 14px calc(env(safe-area-inset-bottom) + 8px);
}
.composer__row { display: flex; align-items: center; gap: 10px; }
.composer__img { flex: none; width: 40px; height: 40px; border-radius: 10px; background: #e3f1f9; color: #3087cc; font-size: 15px; font-weight: 700; }
.composer__input { flex: 1; height: 40px; border-radius: 20px; background: #f2f4f7; padding: 0 16px; font-size: 16px; }
.composer__input::placeholder { color: #627079; }
.composer__send { flex: none; color: #2f6bff; font-size: 17px; font-weight: 600; }
.composer__thumbs { display: flex; gap: 6px; margin-bottom: 8px; overflow-x: auto; }
.composer__thumb { position: relative; flex: none; }
.composer__thumb img { width: 54px; height: 54px; object-fit: cover; border-radius: 6px; }
.composer__thumb button { position: absolute; top: -4px; right: -4px; width: 18px; height: 18px; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; line-height: 18px; }
.composer__reply { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: #627079; margin-bottom: 6px; }
.composer__reply button { color: #2f6bff; }

/* ---------- 浮层（挂在手机容器内） ---------- */
.ui-layer { position: fixed; inset: 0; z-index: 100; }
.ui-mask { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity .25s; }
.ui-layer.is-open .ui-mask { opacity: 1; }
.ui-panel { position: absolute; background: #fff; transition: transform .25s, opacity .25s; }
.ui-sheet { left: 0; right: 0; bottom: 0; border-radius: 16px 16px 0 0; transform: translateY(100%); max-height: 86%; display: flex; flex-direction: column; padding-bottom: env(safe-area-inset-bottom); }
.ui-layer.is-open .ui-sheet { transform: none; }
.ui-sheet__head { position: relative; display: flex; align-items: center; justify-content: center; height: 52px; font-size: 17px; font-weight: 700; flex: none; }
.ui-sheet__close { position: absolute; right: 12px; top: 10px; width: 32px; height: 32px; font-size: 22px; color: #9aa4ad; }
.ui-sheet__body { overflow-y: auto; flex: 1; }
.ui-dialog { left: 50%; top: 50%; width: 84%; border-radius: 16px; transform: translate(-50%, -50%) scale(.92); opacity: 0; overflow: hidden; }
.ui-layer.is-open .ui-dialog { transform: translate(-50%, -50%); opacity: 1; }
.ui-dialog__head { position: relative; text-align: center; font-size: 17px; font-weight: 700; padding: 20px 40px 0; }
.ui-dialog__close { position: absolute; right: 10px; top: 12px; width: 32px; height: 32px; font-size: 22px; color: #9aa4ad; }
.ui-dialog__body { padding: 14px 20px 20px; }
.ui-popup { left: 20px; right: 20px; top: 20px; bottom: 20px; border-radius: 20px; display: flex; flex-direction: column; overflow: hidden; transform: scale(.95); opacity: 0; background: linear-gradient(180deg, #d6ecfb 0, #fff 130px); }
.ui-layer.is-open .ui-popup { transform: none; opacity: 1; }
.ui-popup__head { position: relative; flex: none; height: 70px; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700; }
.ui-popup__head::before { content: "♥CSU"; position: absolute; left: 20px; top: 12px; font-size: 40px; font-weight: 900; color: rgba(140, 190, 240, .35); letter-spacing: -2px; }
.ui-popup__title { position: relative; }
.ui-popup__close { position: absolute; right: 14px; top: 20px; width: 28px; height: 28px; border: 2px solid #627079; border-radius: 50%; color: #627079; font-size: 16px; line-height: 22px; }
.ui-popup__body { flex: 1; overflow-y: auto; padding: 0 16px 16px; }
.ui-confirm .ui-dialog__body { padding: 12px 0 0; }
.ui-confirm__msg { padding: 4px 24px 22px; text-align: center; color: #4a5a66; font-size: 15px; line-height: 1.6; }
.ui-confirm__ico { display: none; }
.ui-confirm__foot { display: flex; border-top: 1px solid #eef1f4; }
.ui-confirm__foot .btn { flex: 1; height: 50px; font-size: 16px; color: #627079; }
.ui-confirm__foot .btn + .btn { border-left: 1px solid #eef1f4; }
.ui-confirm__foot .btn--primary { color: #2f6bff; font-weight: 600; }
.ui-confirm__foot .btn--danger { color: #e64a4a; }
.ui-preview .ui-mask { background: rgba(0, 0, 0, .9); }
.ui-preview .ui-dialog { background: none; width: 100%; border-radius: 0; }
.ui-preview .ui-dialog__body { padding: 0; }
.ui-preview img { width: 100%; max-height: 80vh; object-fit: contain; margin: 0 auto; }
.ui-toast-box { position: fixed; left: 50%; top: 46%; z-index: 300; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.ui-toast { max-width: 260px; padding: 12px 20px; border-radius: 8px; background: rgba(20, 20, 20, .78); color: #fff; font-size: 15px; font-weight: 600; text-align: center; opacity: 0; transition: opacity .2s; }
.ui-toast.is-in { opacity: 1; }
.ui-toast__ico { display: none; }

/* 动作面板 / 选择器 */
.action-list button { display: block; width: 100%; height: 54px; font-size: 16px; border-top: 1px solid #f0f2f5; }
.action-list .is-cancel { border-top: 8px solid #f4f5f7; color: #627079; }
.picker__bar { display: flex; justify-content: space-between; align-items: center; height: 52px; padding: 0 16px; border-bottom: 1px solid #eef1f4; font-size: 17px; }
.picker__bar .cancel { color: #888; }
.picker__bar .done { color: #007aff; font-weight: 600; }
.picker__opts { padding: 8px 0 16px; max-height: 300px; overflow-y: auto; }
.picker__opt { display: flex; align-items: center; gap: 10px; width: 100%; padding: 13px 24px; font-size: 17px; color: #9aa4ad; justify-content: center; }
.picker__opt img { width: 22px; height: 22px; }
.picker__opt small { color: #9aa4ad; font-size: 12px; }
.picker__opt.is-cur { color: #1e323f; font-weight: 700; background: #f4f8fd; }
.lx-sheet { padding: 4px 16px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lx-sheet__item { display: flex; align-items: center; gap: 10px; padding: 16px 14px; border-radius: 12px; text-align: left; }
.lx-sheet__item img { width: 32px; height: 32px; }
.lx-sheet__item b { display: block; font-size: 16px; }
.lx-sheet__item small { color: #627079; font-size: 12px; }

/* 举报面板 */
.rp-sheet { padding: 0 16px 16px; }
.rp-sheet__label { font-size: 14px; color: #627079; margin-bottom: 10px; }
.rp-types { display: flex; flex-wrap: wrap; gap: 10px; }
.rp-type { padding: 7px 14px; border-radius: 18px; background: #f2f4f7; font-size: 14px; color: #4a5a66; }
.rp-type.is-cur { background: #e8f0ff; color: #2f6bff; font-weight: 600; box-shadow: inset 0 0 0 1px #2f6bff; }
.rp-sheet textarea { width: 100%; height: 110px; margin-top: 14px; padding: 12px; border-radius: 10px; background: #f6f7f9; font-size: 15px; }
.rp-sheet__count { text-align: right; font-size: 12px; color: #9aa4ad; margin-top: 4px; }
.rp-sheet .btn-primary { width: 100%; margin-top: 14px; }

/* 资料提示弹窗 */
.prompt-dlg .ui-dialog { overflow: visible; background: linear-gradient(180deg, #dff0ff, #fff 45%); }
.prompt-dlg .ui-dialog__body { padding: 0 22px 22px; text-align: center; }
.prompt-dlg__mascot { width: 120px; margin: -64px auto 0; }
.prompt-dlg__title { font-size: 19px; font-weight: 800; margin: 8px 0 10px; }
.prompt-dlg__txt { font-size: 14px; line-height: 1.75; color: #4a5a66; }
.prompt-dlg__txt b { color: #2f6bff; }
.prompt-dlg .btn-primary { width: 100%; margin-top: 18px; }
.prompt-dlg__close { position: absolute; left: 50%; bottom: -56px; transform: translateX(-50%); width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; color: #fff; font-size: 18px; }

/* 编辑资料面板 */
.ep-sheet { padding: 4px 20px 20px; }
.ep-sheet__ava { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #627079; font-size: 13px; margin-bottom: 16px; }
.ep-sheet__ava .avatar { box-shadow: 0 0 0 4px #e3f1f9; }
.ep-label { font-size: 14px; font-weight: 600; color: #627079; margin: 14px 0 8px; }
.ep-field { display: flex; align-items: center; gap: 8px; height: 46px; border-radius: 10px; background: #f4f6f9; padding: 0 12px; }
.ep-field input { flex: 1; font-size: 16px; font-weight: 600; }
.ep-field__swap { flex: none; width: 32px; height: 32px; border-radius: 8px; background: #e8f0ff; color: #2f6bff; font-weight: 700; }
.ep-hint { font-size: 12px; color: #9aa4ad; margin-top: 8px; line-height: 1.5; }
.ep-sheet .btn-primary { width: 100%; margin-top: 20px; border-radius: 10px; background: #2563eb; }

/* ---------- 发布 / 编辑 ---------- */
.pub { min-height: 100%; padding-bottom: 180px; }
.pub__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 10px; }
.pub__title { position: relative; font-size: 20px; font-weight: 700; }
.pub__title img { position: absolute; left: 22px; bottom: -6px; width: 32px; }
.pub__drafts { display: inline-flex; align-items: center; gap: 4px; font-size: 17px; color: #4a5a66; }
.pub__drafts img { width: 24px; height: 24px; }
.warn-bar { display: flex; align-items: flex-start; gap: 6px; padding: 8px 16px; background: #fff3dc; color: #f08c2a; font-size: 12px; font-weight: 600; line-height: 1.5; }
.warn-bar__ico { flex: none; width: 14px; height: 14px; border-radius: 50%; background: #f08c2a; color: #fff; font-size: 10px; text-align: center; line-height: 14px; margin-top: 2px; }
.warn-bar__x { flex: none; margin-left: auto; color: #f08c2a; font-size: 16px; line-height: 1; }
.pub__card { margin: 0 20px; background: linear-gradient(180deg, #f0f7ff, #fff 60px); border-radius: 0 0 12px 12px; padding: 16px 20px 20px; }
.pub__label { font-size: 16px; font-weight: 600; margin: 4px 0 10px; }
.pub__label i { color: #f04848; font-style: normal; }
.pub__label + .pub__hint { margin-top: -6px; }
.pub__field { display: flex; align-items: center; width: 100%; min-height: 54px; padding: 0 14px; border: 1px solid #c7e1f0; border-radius: 6px; background: #fff; font-size: 16px; margin-bottom: 18px; text-align: left; }
.pub__field input { flex: 1; font-size: 16px; height: 52px; }
.pub__field input::placeholder, .pub__field textarea::placeholder { color: #8cb4d3; font-weight: 600; }
.pub__field .ph { color: #8cb4d3; font-weight: 600; }
.pub__field .arrow { margin-left: auto; color: #3087cc; font-weight: 700; }
.pub__field--area { flex-direction: column; align-items: stretch; padding: 12px 14px 10px; }
.pub__field--area textarea { width: 100%; height: 100px; font-size: 16px; }
.pub__count { text-align: right; color: #627079; font-size: 14px; }
.pub__hint { font-size: 13px; color: #627079; margin-bottom: 10px; }
.pub__imgs { display: flex; flex-wrap: wrap; gap: 10px; }
.pub__thumb { position: relative; width: 92px; height: 92px; }
.pub__thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.pub__thumb button { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; font-size: 13px; line-height: 20px; }
.pub__upload { width: 122px; height: 124px; border: 1px dashed #8cb4d3; border-radius: 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #3087cc; font-size: 12px; font-weight: 600; }
.pub__upload svg { color: #8cb4d3; }
.pub__foot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; gap: 12px; padding: 18px 20px calc(env(safe-area-inset-bottom) + 10px); background: #fff; border-radius: 16px 16px 0 0; }
.pub__foot > * { flex: 1; height: 50px; border-radius: 25px; font-size: 18px; }
.pub__foot .btn-ghost { font-size: 18px; }
.pub__foot .btn-primary { background: linear-gradient(90deg, #4f9bff, #2f6bff); }

/* 草稿卡片 */
.draft-card { background: #fff; border-radius: 12px; padding: 14px 16px; box-shadow: 0 2px 10px rgba(48, 135, 204, .08); margin-bottom: 12px; font-size: 14px; line-height: 1.8; }
.draft-card b { color: #627079; font-weight: 600; }
.draft-card__ops { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.draft-card__ops button { height: 30px; padding: 0 16px; border-radius: 15px; font-size: 13px; font-weight: 600; border: 1px solid #c7e1f0; color: #3087cc; }
.draft-card__ops .danger { border-color: #ffd0d0; color: #e64a4a; }

/* ---------- 消息 ---------- */
.msg-tabs { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; padding: 24px 20px 14px; background: #eaf3ff; }
.msg-tab { position: relative; font-size: 18px; font-weight: 700; color: #627079; }
.msg-tab.is-active { color: transparent; -webkit-background-clip: text; background-clip: text; background-image: linear-gradient(90deg, #2f80ff, #b44cff); }
.msg-tab .red-dot { position: absolute; top: -6px; right: -14px; }
.msg-list { padding: 4px 20px; }
.msg-item { display: flex; gap: 12px; background: #fff; border-radius: 12px; padding: 14px; margin-bottom: 12px; width: 100%; text-align: left; position: relative; }
.msg-item__ico { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #e8f0ff; display: flex; align-items: center; justify-content: center; }
.msg-item__ico img { width: 24px; height: 24px; }
.msg-item__main { flex: 1; min-width: 0; }
.msg-item__t { display: flex; justify-content: space-between; gap: 8px; font-size: 15px; font-weight: 700; }
.msg-item__t time { flex: none; font-size: 12px; color: #9aa4ad; font-weight: 500; }
.msg-item__d { font-size: 13px; color: #627079; margin-top: 4px; }
.msg-item__p { font-size: 13px; color: #4a5a66; margin-top: 6px; padding: 6px 10px; border-radius: 6px; background: #f4f6f9; }
.msg-item .red-dot--sm { position: absolute; left: 44px; top: 14px; }

/* ---------- 我的 ---------- */
.me-hero { position: relative; height: 330px; background: url(../assets/h5/profile-hero-bg-light.webp) 48% 100% / auto 290px no-repeat, url(../assets/h5/profile-hero-bg-base.webp) center / cover no-repeat; }
.me-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(180deg, rgba(234, 243, 255, 0), #eaf3ff); }
.me-card { position: relative; z-index: 2; margin: -66px 20px 0; padding: 50px 0 18px; background: #fff; border-radius: 14px; text-align: center; }
.me-card__ava { position: absolute; left: 50%; top: -42px; transform: translateX(-50%); border-radius: 50%; padding: 5px; background: #fff; box-shadow: 0 4px 14px rgba(48, 135, 204, .15); }
.me-card__nc { font-size: 19px; font-weight: 700; margin-top: 4px; }
.me-card__edit { position: absolute; right: 14px; top: 56px; display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 12px; border-radius: 16px; background: #eef6ff; border: 1px solid #cfe3fb; color: #2f6bff; font-size: 14px; font-weight: 700; }
.me-card__edit img { width: 14px; height: 14px; }
.me-grid { display: flex; margin-top: 24px; }
.me-grid__item { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #4a5a66; }
.me-grid__item + .me-grid__item::before { content: ""; position: absolute; left: 0; top: 4px; height: 56px; border-left: 1px solid #eef1f4; }
.me-grid__item img { width: 36px; height: 36px; }
.me-grid__item .red-dot { position: absolute; top: -4px; left: calc(50% + 10px); }
.me-list { margin: 14px 20px 0; background: #fff; border-radius: 14px; padding: 0 16px; }
.me-list__item { display: flex; align-items: center; gap: 12px; width: 100%; height: 60px; font-size: 17px; text-align: left; }
.me-list__item + .me-list__item { border-top: 1px solid #eef1f4; }
.me-list__item > img:first-child { width: 28px; height: 28px; }
.me-list__item .chev { margin-left: auto; width: 16px; height: 16px; opacity: .5; }

/* 评论及回复 / 我的发帖 */
.tip-bar { margin: 10px 20px 0; padding: 8px 12px; border-radius: 8px; background: #fff3f3; color: #e64a4a; font-size: 12px; font-weight: 600; }
.card-wrap { position: relative; }
.card-wrap .red-dot { position: absolute; right: -4px; top: -6px; z-index: 2; }

/* 举报 */
.rp-tabs { display: flex; gap: 30px; padding: 10px 20px 4px; }
.rp-tab { position: relative; font-size: 18px; font-weight: 700; color: #627079; padding-bottom: 8px; }
.rp-tab.is-active { color: #1e323f; }
.rp-tab.is-active::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 32px; height: 6px; transform: translateX(-50%); background: url(../assets/h5/publish-title-underline.svg) center / 100% 100% no-repeat; }
.rp-list { padding: 10px 20px; display: flex; flex-direction: column; gap: 12px; }
.rp-card { position: relative; background: #fff; border-radius: 12px; padding: 14px 16px; text-align: left; width: 100%; overflow: hidden; }
.rp-card__stamp { position: absolute; right: 12px; top: 10px; width: 64px; }
.rp-card__bt { font-size: 16px; font-weight: 700; padding-right: 70px; }
.rp-card__row { font-size: 13px; color: #627079; margin-top: 6px; }
.rp-card__row b { color: #4a5a66; font-weight: 600; }
.rp-card__res { margin-top: 10px; padding: 8px 10px; border-radius: 8px; background: #f4f8fd; font-size: 13px; font-weight: 600; color: #3087cc; }
.rp-card__res--pending { color: #f08c2a; background: #fff7ec; }
.rp-card__res--violation { color: #e64a4a; background: #fff3f3; }
.rd { padding: 0 20px 30px; }
.rd__banner { border-radius: 14px; padding: 18px; color: #fff; background: linear-gradient(110deg, #3e8bff, #6b5cff); margin-bottom: 14px; }
.rd__banner--done { background: linear-gradient(110deg, #19b37f, #3ccf9b); }
.rd__banner--violation { background: linear-gradient(110deg, #ef5a5a, #ff8c6a); }
.rd__banner h4 { font-size: 19px; }
.rd__banner p { font-size: 13px; margin-top: 6px; opacity: .92; }
.rd__sec { background: #fff; border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }
.rd__sec h5 { font-size: 16px; margin-bottom: 10px; }
.rd__kv { display: flex; font-size: 14px; line-height: 2; }
.rd__kv b { flex: none; width: 80px; color: #627079; font-weight: 500; }
.rd__post { padding: 10px 12px; border-radius: 8px; background: #f4f8fd; }
.rd__post-bt { font-size: 15px; font-weight: 700; }
.rd__post-nr { font-size: 13px; color: #627079; margin-top: 4px; }
.rd__steps { position: relative; padding-left: 22px; }
.rd__step { position: relative; padding-bottom: 16px; }
.rd__step::before { content: ""; position: absolute; left: -18px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: #c3ccd4; }
.rd__step::after { content: ""; position: absolute; left: -14px; top: 18px; bottom: -2px; border-left: 2px solid #e3e8ed; }
.rd__step:last-child::after { display: none; }
.rd__step.is-done::before { background: #2f6bff; }
.rd__step.is-cur::before { background: #f08c2a; box-shadow: 0 0 0 4px #ffe8cf; }
.rd__step b { font-size: 15px; }
.rd__step span { margin-left: 8px; font-size: 12px; color: #9aa4ad; }
.rd__step p { font-size: 13px; color: #627079; margin-top: 2px; }
.rd__tip { text-align: center; font-size: 12px; color: #9aa4ad; margin-top: 4px; }

/* 私信 */
.sx-list { padding: 12px 20px; }
.sx-item { display: flex; gap: 12px; align-items: center; width: 100%; background: #fff; border-radius: 12px; padding: 14px 18px; margin-bottom: 12px; text-align: left; position: relative; }
.sx-item__main { flex: 1; min-width: 0; }
.sx-item__t { display: flex; justify-content: space-between; gap: 8px; font-size: 17px; font-weight: 700; }
.sx-item__t time { flex: none; font-size: 12px; font-weight: 600; color: #627079; }
.sx-item__d { font-size: 15px; font-weight: 600; color: #4a5a66; margin-top: 4px; }
.sx-item .red-dot { position: absolute; left: 56px; top: 12px; }
.chat { padding: 16px 20px 90px; display: flex; flex-direction: column; gap: 18px; }
.chat__msg { display: flex; gap: 10px; align-items: flex-start; }
.chat__msg.is-mine { flex-direction: row-reverse; }
.chat__body { max-width: 70%; display: flex; flex-direction: column; gap: 4px; }
.chat__msg.is-mine .chat__body { align-items: flex-end; }
.chat__time { font-size: 13px; color: #9aa4ad; font-weight: 600; }
.chat__bubble { padding: 9px 12px; border-radius: 4px 10px 10px 10px; background: #fff; font-size: 15px; font-weight: 600; line-height: 1.5; word-break: break-word; white-space: pre-wrap; }
.chat__msg.is-mine .chat__bubble { background: #065cf8; color: #fff; border-radius: 10px 4px 10px 10px; }
.chat-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 10px; padding: 10px 14px calc(env(safe-area-inset-bottom) + 10px); background: #fff; }
.chat-bar__emoji img { width: 28px; height: 28px; }
.chat-bar input { flex: 1; height: 44px; border-radius: 22px; background: #f2f4f7; padding: 0 16px; font-size: 16px; }
.chat-bar input::placeholder { color: #9aa4ad; font-weight: 600; }
.chat-bar__send { height: 44px; padding: 0 16px; border-radius: 22px; color: #fff; font-size: 17px; font-weight: 600; background: #065cf8; }
.chat-bar__send:disabled { background: #a8c8ff; }

/* 编辑资料页 */
.ep-page { padding: 16px 20px; background: #f5f6f9; min-height: 100%; }
.ep-page .ep-label { margin-top: 0; }
.ep-page .ep-field { background: #fff; }
.ep-page .ep-hint { margin-bottom: 14px; }
.ep-page__ava { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.ep-page__ava button { height: 32px; padding: 0 14px; border-radius: 16px; background: #e8f0ff; color: #2f6bff; font-size: 13px; font-weight: 600; }
.ep-page .btn-primary { width: 100%; border-radius: 10px; background: #2563eb; margin-top: 4px; }

/* 规则页 */
.rule-page { padding: 0 20px 30px; }
.rule-card { background: #fff; border-radius: 16px; padding: 22px 20px; }
.rule-card__title { text-align: center; font-size: 22px; font-weight: 800; color: #2f6bff; padding-bottom: 18px; border-bottom: 2px solid #eef4fc; }
.rule-card__views { text-align: center; color: #9aa4ad; font-size: 12px; margin-top: 8px; }
.rule-sec { margin-top: 20px; }
.rule-sec__h { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.rule-sec__p { font-size: 15px; line-height: 1.8; color: #4a5a66; font-weight: 600; margin-bottom: 8px; white-space: pre-line; }
.rule-sec__k { color: #2f6bff; }

/* 学工首页（入口壳） */
.xg-home { min-height: 100%; background: linear-gradient(180deg, #2f6bff 0, #4f8dff 180px, #f2f6fb 180px); padding: 20px; color: #1e323f; }
.xg-home__title { color: #fff; font-size: 20px; font-weight: 700; margin: 10px 0 18px; }
.xg-home__card { background: #fff; border-radius: 14px; padding: 16px; margin-bottom: 14px; }
.xg-home__card h4 { font-size: 16px; margin-bottom: 12px; }
.xg-home__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 8px; }
.xg-home__app { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: #4a5a66; }
.xg-home__app i { width: 40px; height: 40px; border-radius: 12px; display: block; }
.tucao-float { position: fixed; right: 12px; bottom: 140px; z-index: 25; width: 80px; height: 80px; }
.tucao-float img { width: 100%; height: 100%; }

/* ---------- 帖子投票 ---------- */
.vt-ico { display: inline-block; flex: none; width: 1em; height: 1em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 13h4v8H4zM10 3h4v18h-4zM16 9h4v12h-4z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 13h4v8H4zM10 3h4v18h-4zM16 9h4v12h-4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.vt-badge { flex: none; display: inline-flex; align-items: center; gap: 3px; height: 22px; padding: 0 7px; border-radius: 4px; font-size: 12px; font-weight: 600; color: #7b5cff; background: #f1edff; white-space: nowrap; }
.vt-badge.is-off { color: #909aa4; background: #f0f3f5; }
.vt-new { display: inline-block; margin-left: 4px; padding: 0 5px; border-radius: 9px; background: #f04848; color: #fff; font-size: 11px; font-style: normal; font-weight: 600; line-height: 16px; }
.vt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 34px; padding: 0 14px; border: 1px solid #d6dde3; border-radius: 17px; background: #fff; color: #3c444f; font-size: 14px; font-weight: 600; white-space: nowrap; }
.vt-btn--primary { min-width: 96px; border-color: transparent; background: linear-gradient(90deg, #9b7bff, #6c4cf5); color: #fff; }
.vt-btn--primary:disabled { opacity: .45; }
.vt-btn--danger { color: #f04848; border-color: #fbc4ca; }
.sort-pill, .sort-row__swap { flex: none; white-space: nowrap; }
.sort-pill--vote { display: inline-flex; align-items: center; gap: 4px; padding: 0 12px; color: #7b5cff; }
.vt-ed__row > .vt-seg { align-self: flex-start; }
.sort-pill--vote.is-active { background: linear-gradient(90deg, #9b7bff, #6c4cf5); }
.post-card__vote { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 8px 10px; border-radius: 8px; background: #f8f6ff; font-size: 14px; font-weight: 600; color: #3c444f; }
.me-list__vt { flex: none; width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, #a58bff, #6c4cf5); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; }
.me-list__new { margin-left: auto; padding: 0 8px; border-radius: 10px; background: #f04848; color: #fff; font-size: 12px; font-weight: 600; line-height: 20px; }
.me-list__new + .chev { margin-left: 6px !important; }

/* 发布页编辑器 */
.pub__vote-add { display: flex; align-items: center; gap: 12px; width: calc(100% - 40px); margin: 14px 20px 0; padding: 14px 16px; border: 1px dashed #c9bbff; border-radius: 12px; background: #faf8ff; color: #7b5cff; text-align: left; }
.pub__vote-add > .vt-ico { font-size: 22px; }
.pub__vote-add b { display: block; font-size: 16px; }
.pub__vote-add small { display: block; margin-top: 2px; font-size: 12px; color: #9aa4ad; font-weight: 600; }
.pub__vote-add .arrow { margin-left: auto; font-weight: 700; }
.pub__vote { margin-top: 14px; border-radius: 12px; background: #fff; }
.vt-ed { display: flex; flex-direction: column; gap: 14px; }
.vt-ed__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.vt-ed__title { display: inline-flex; align-items: center; gap: 5px; font-size: 17px; font-weight: 700; color: #7b5cff; }
.vt-ed__remove { margin-left: auto; color: #f04848; font-size: 14px; font-weight: 600; }
.vt-ed__tip, .vt-ed__lock { order: 3; flex-basis: 100%; font-size: 12px; color: #9aa4ad; font-weight: 600; }
.vt-ed__lock { color: #f08c2a; }
.vt-ed__row { display: flex; flex-direction: column; gap: 8px; }
.vt-ed__label { font-size: 15px; font-weight: 600; }
.vt-ed__label em { color: #f04848; font-style: normal; }
.vt-ed__opts { display: flex; flex-direction: column; gap: 8px; }
.vt-ed__opt { display: flex; align-items: center; gap: 8px; }
.vt-ed__opt .vt-input { flex: 1; min-width: 0; }
.vt-ed__no { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #ede8ff; color: #7b5cff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.vt-ed__rm { flex: none; width: 28px; height: 28px; border-radius: 50%; color: #9aa4ad; font-size: 20px; line-height: 1; }
.vt-ed__rm:disabled { opacity: .3; }
.vt-ed__add { align-self: flex-start; padding: 2px 30px; color: #7b5cff; font-size: 14px; font-weight: 600; }
.vt-ed__line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.vt-ed__max { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #627079; }
.vt-ed__hint { font-size: 12px; color: #9aa4ad; }
.vt-input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid #c7e1f0; border-radius: 6px; background: #fff; font-size: 15px; }
.vt-input:focus { border-color: #7b5cff; }
.vt-input:disabled { background: #f5f7fa; color: #909399; }
.vt-input--dt { width: auto; flex: 1; min-width: 180px; height: 38px; }
.vt-select { height: 32px; padding: 0 6px; border: 1px solid #c7e1f0; border-radius: 6px; background: #fff; font-size: 14px; }
.vt-seg { display: inline-flex; padding: 3px; border-radius: 8px; background: #f1edff; }
.vt-seg__item { height: 30px; padding: 0 12px; border-radius: 6px; color: #627079; font-size: 14px; font-weight: 600; }
.vt-seg__item.is-on { background: #fff; color: #7b5cff; box-shadow: 0 1px 4px rgba(123, 92, 255, .18); }

/* 详情投票卡 */
.vt-card { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; padding: 14px; border: 1px solid #e4dcff; border-radius: 12px; background: linear-gradient(180deg, #f6f2ff, #fff 80px); }
.vt-card.is-ended { border-color: #e3e8ec; background: linear-gradient(180deg, #f3f6f8, #fff 80px); }
.vt-card__head { display: flex; align-items: flex-start; gap: 8px; }
.vt-card__tag { flex: none; display: inline-flex; align-items: center; gap: 3px; height: 22px; padding: 0 7px; border-radius: 4px; background: #7b5cff; color: #fff; font-size: 12px; font-weight: 600; margin-top: 1px; }
.vt-card.is-ended .vt-card__tag { background: #909aa4; }
.vt-card__title { font-size: 17px; font-weight: 700; line-height: 1.45; }
.vt-card__rule { font-size: 12px; color: #909aa4; font-weight: 600; }
.vt-card__body { display: flex; flex-direction: column; gap: 8px; }
.vt-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.vt-card__hint { flex: 1 1 100%; font-size: 12px; color: #909aa4; font-weight: 600; }
.vt-card__foot .vt-btn--primary { flex: 1; }
.vt-opt { position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 46px; padding: 0 14px; border: 1px solid #e4dcff; border-radius: 10px; background: #fff; font-size: 15px; font-weight: 600; text-align: left; }
.vt-opt.is-sel { border-color: #7b5cff; background: #f6f2ff; }
.vt-opt__mark { position: relative; z-index: 1; flex: none; width: 18px; height: 18px; border: 1.5px solid #c0c4cc; border-radius: 50%; background: #fff; }
.vt-opt--multi .vt-opt__mark { border-radius: 4px; }
.vt-opt.is-sel .vt-opt__mark { border-color: #7b5cff; background: #7b5cff; box-shadow: inset 0 0 0 3px #fff; }
.vt-opt__txt { position: relative; z-index: 1; flex: 1; min-width: 0; }
.vt-opt__num { position: relative; z-index: 1; flex: none; font-size: 12px; color: #627079; }
.vt-opt__bar { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(123, 92, 255, .08); }
.vt-res { position: relative; overflow: hidden; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 10px; background: #f3f5f8; font-size: 15px; font-weight: 600; }
.vt-res__bar { position: absolute; left: 0; top: 0; bottom: 0; background: #dfe6ec; transition: width .4s; }
.vt-res.is-lead .vt-res__bar { background: #e2d9ff; }
.vt-res.is-mine { box-shadow: inset 0 0 0 1px #7b5cff; }
.vt-res__txt { position: relative; flex: 1; min-width: 0; }
.vt-res__mine { margin-left: 6px; padding: 1px 5px; border-radius: 4px; background: #7b5cff; color: #fff; font-size: 11px; font-style: normal; vertical-align: 1px; }
.vt-res__num { position: relative; flex: none; font-size: 12px; color: #627079; }

/* 统计页 */
.vt-page { padding: 14px 16px 40px; }
.vt-stats { display: flex; flex-direction: column; gap: 12px; }
.vt-stats__head { padding: 14px; border-radius: 12px; background: #fff; }
.vt-stats__title { font-size: 18px; font-weight: 700; line-height: 1.4; }
.vt-stats__sub { margin-top: 4px; font-size: 12px; color: #909aa4; font-weight: 600; }
.vt-stats__post { margin-top: 4px; font-size: 13px; color: #627079; }
.vt-stats__bars { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 12px; background: #fff; }
.vt-stats__ops { display: flex; flex-wrap: wrap; gap: 10px; }
.vt-stats__ops .vt-btn { flex: 1; height: 42px; border-radius: 21px; }
.vt-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.vt-kpi { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 12px; background: #fff; min-width: 0; }
.vt-kpi b { font-size: 16px; color: #5b3fe0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-kpi span { font-size: 12px; color: #909aa4; font-weight: 600; }
.vt-sec { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin: 4px 0 -4px; font-size: 16px; font-weight: 700; }
.vt-sec small { font-size: 12px; font-weight: 600; color: #909aa4; }
.vt-trend { display: flex; align-items: flex-end; gap: 6px; height: 140px; padding: 10px 12px 0; border-radius: 12px; background: #fff; }
.vt-trend:has(.vt-trend__empty) { height: 80px; }
.vt-trend__empty { margin: auto; font-size: 13px; color: #909aa4; }
.vt-trend__col { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; }
.vt-trend__n { font-size: 11px; color: #627079; }
.vt-trend__bar { width: 60%; max-width: 24px; min-height: 2px; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #a58bff, #6c4cf5); }
.vt-trend__d { font-size: 10px; color: #909aa4; padding-bottom: 4px; }
.vt-table-wrap { overflow-x: auto; border-radius: 12px; background: #fff; }
.vt-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.vt-table th { background: #f6f9fc; font-weight: 600; color: #627079; text-align: left; padding: 8px 10px; white-space: nowrap; }
.vt-table td { padding: 8px 10px; border-top: 1px solid #eef1f4; white-space: nowrap; }
.vt-table__empty { text-align: center; color: #909aa4; padding: 20px !important; }
.vt-user { display: inline-flex; align-items: center; gap: 6px; }
.vt-user .avatar { width: 22px; height: 22px; font-size: 10px; }

/* 我的投票 */
.tip-bar.vt-tip { background: #f4f0ff; color: #7b5cff; }
.vt-mine-list { display: flex; flex-direction: column; gap: 12px; padding: 12px 20px 30px; }
.vt-mine { display: flex; flex-direction: column; gap: 8px; width: 100%; padding: 14px 16px; border-radius: 14px; background: #fff; text-align: left; }
.vt-mine__top { display: flex; align-items: center; gap: 8px; }
.vt-mine__title { flex: 1; min-width: 0; font-size: 16px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-mine__post { font-size: 12px; color: #909aa4; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-mine__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: #627079; font-weight: 600; }
.vt-mine__meta b, .vt-mine__res b { color: #5b3fe0; }
.vt-mine__res { font-size: 13px; color: #627079; font-weight: 600; }
.vt-mine__bars { display: flex; flex-direction: column; gap: 5px; }
.vt-mine__bars .vt-res { min-height: 32px; font-size: 13px; }
.vt-status { flex: none; padding: 1px 6px; border-radius: 4px; background: #e7f9f2; color: #1ec997; font-size: 12px; font-weight: 600; }
.vt-status.is-off { background: #f0f3f5; color: #909aa4; }
