/* 生成分享图 · 对齐 Figma 488:4060 */
.share-poster{
  position:absolute;inset:0;z-index:70;display:none;flex-direction:column;
  box-sizing:border-box;padding-top:42px;
  background:#000;color:#1a1a1a;
  font-family:"Microsoft YaHei","PingFang SC","MiSans",sans-serif;
}
.share-poster.open{display:flex}

.share-poster__nav{
  flex:0 0 auto;position:relative;z-index:2;
  display:flex;align-items:center;justify-content:center;
  min-height:44px;padding:4px 16px 8px;
}
.share-poster__back{
  position:absolute;left:16px;top:50%;transform:translateY(-50%);
  display:grid;place-items:center;width:36px;height:36px;padding:0;
  border:0;border-radius:50%;background:rgba(246,247,251,.88);color:#111;
  cursor:pointer;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
}
.share-poster__back:active{opacity:.78}
.share-poster__back svg{display:block;width:18px;height:18px}
.share-poster__nav-title{
  margin:0;color:#fff;font-size:17px;font-weight:600;line-height:1.2;letter-spacing:.01em;
}

.share-poster__scroll{
  flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;padding:12px 16px 12px;
}

.share-poster__card{
  width:100%;overflow:hidden;border-radius:10px;background:#fff;
  box-shadow:0 8px 28px rgba(0,0,0,.28);
}

.share-poster__author{
  display:flex;align-items:center;gap:10px;
  padding:13px 14px 12px;
}
.share-poster__avatar{
  width:37px;height:37px;border-radius:50%;object-fit:cover;background:#e8edf4;flex:0 0 auto;
}
.share-poster__author-copy{display:grid;gap:5px;min-width:0;flex:1 1 auto}
.share-poster__name{
  min-width:0;overflow:hidden;color:#000;font-size:12px;font-weight:600;
  line-height:12px;text-overflow:ellipsis;white-space:nowrap;
}
.share-poster__org-row{
  display:inline-flex;align-items:center;gap:4px;min-width:0;max-width:100%;
}
.share-poster__org{
  min-width:0;overflow:hidden;color:#6c6c6c;font-size:10px;font-weight:400;
  line-height:12px;text-overflow:ellipsis;white-space:nowrap;
}
.share-poster__verified{
  flex:0 0 auto;display:block;width:12px;height:12px;
}
.share-poster__verified[hidden]{display:none}

.share-poster__media{
  display:block;width:100%;aspect-ratio:370/535;max-height:none;
  margin:0;object-fit:cover;background:#eceff3;vertical-align:top;
}
.share-poster__media--wide{aspect-ratio:16/10;max-height:280px}
.share-poster__media[hidden]{display:none}

.share-poster__body{padding:14px 14px 12px}
.share-poster__title{
  margin:0 0 10px;color:#000;font-size:17px;font-weight:600;line-height:1.35;
}
.share-poster__text{
  margin:0 0 10px;color:#333;font-size:14px;font-weight:400;line-height:24px;
  white-space:pre-wrap;word-break:break-word;
}
.share-poster__text[hidden],
.share-poster__title:empty{display:none}
.share-poster__text ul{
  margin:8px 0 0;padding:0 0 0 1.2em;list-style:disc;
}
.share-poster__text li{margin:0 0 2px;line-height:24px}
.share-poster__tags{
  margin:0 0 10px;color:#2962d4;font-size:14px;line-height:24px;word-break:break-word;
}
.share-poster__tags[hidden],
.share-poster__tags:empty{display:none}
.share-poster__meta{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin:0;color:#6c6c6c;font-size:12px;line-height:1;
}
.share-poster__meta-date{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.share-poster__meta-date:empty{display:none}
.share-poster__stats{display:inline-flex;align-items:center;gap:10px;flex:0 0 auto;color:#b0b6bf}
.share-poster__stat{display:inline-flex;align-items:center;gap:3px;font-size:11px;line-height:1;white-space:nowrap}
.share-poster__stat .ic{width:12px;height:12px;flex:0 0 auto}

.share-poster__brand{
  display:flex;align-items:flex-end;justify-content:space-between;gap:12px;
  margin:0;padding:16px 14px 18px;border-top:1px solid #eee;background:#fff;
}
.share-poster__brand-left{display:grid;gap:4px;min-width:0;flex:1 1 auto;align-content:end}
.share-poster__brand-logo{
  display:block;width:119px;height:38px;object-fit:contain;object-position:left center;
}
.share-poster__brand-slogan{
  margin:0;color:#999;font-size:10px;font-weight:400;line-height:24px;white-space:nowrap;
}
.share-poster__qr{
  flex:0 0 74px;width:74px;height:74px;overflow:hidden;background:#fff;
}
.share-poster__qr img{display:block;width:100%;height:100%;object-fit:cover}

.share-poster__sheet{
  flex:0 0 auto;
  padding:10px 16px calc(18px + env(safe-area-inset-bottom,0px));
  border-radius:20px 20px 0 0;
  background:rgba(246,247,251,.8);
  backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);
  box-shadow:0 -4px 24px rgba(0,0,0,.12);
}
.share-poster__handle{
  display:block;width:34px;height:6px;margin:0 auto 16px;
  border-radius:10px;background:#a3a3a3;
}
.share-poster__actions{
  display:flex;align-items:flex-start;justify-content:flex-start;gap:50px;padding:0 10px 8px;
}
.share-poster__action{
  display:flex;flex-direction:column;align-items:center;gap:10px;min-width:50px;
  padding:0;border:0;background:transparent;color:#6c6c6c;font:inherit;cursor:pointer;
}
.share-poster__action:active{opacity:.78}
.share-poster__action-icon{
  display:grid;place-items:center;width:50px;height:50px;border-radius:50%;
  overflow:hidden;
}
.share-poster__action-icon--wechat{background:#07c160}
.share-poster__action-icon--moments,
.share-poster__action-icon--save{background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.04)}
.share-poster__action-icon img{
  display:block;width:30px;height:30px;object-fit:contain;
}
.share-poster__action-icon--save img{width:24px;height:24px}
.share-poster__action span{color:#6c6c6c;font-size:12px;line-height:14px;white-space:nowrap}

.share-poster__toast{
  position:absolute;z-index:3;left:50%;bottom:176px;transform:translateX(-50%);
  padding:8px 14px;border-radius:8px;background:rgba(23,36,58,.88);color:#fff;
  font-size:12px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s;
}
.share-poster__toast.show{opacity:1}
