/* 断相分享预览。字号对齐断相页，版式对齐确认稿。 */
.sp-root {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: none;
  flex-direction: column;
  background: rgba(20, 16, 12, .46);
  color: #252019;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.sp-root.is-open { display: flex; }
.sp-root[hidden],
.sp-root:not(.is-open) { display: none !important; }
.screen > .sp-sheet,
.sp-root:not(.is-open) .sp-sheet { display: none !important; }
.sp-vgap { flex: none; }
.sp-vgap-top { height: 8.2%; }
.sp-vgap-mid { display: none; height: 0; }
.sp-stage {
  flex: 1 1 auto;
  width: calc(100% - 16px);
  max-width: 360px;
  margin: 0 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
}
.sp-card {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background: #F4F0E8;
}
.sp-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 8px;
  right: 8px;
  width: 56px;
  height: 28px;
  pointer-events: none;
  background: url("assets/share/share-sky.svg?v=20260923sky2") right center / contain no-repeat;
}
.sp-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(90, 78, 60, 0.08) 0.55px, transparent 0.65px);
  background-repeat: repeat;
  background-size: 3px 3px;
}
.sp-scroll {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: auto;
  scrollbar-width: none;
  background: transparent;
}
.sp-scroll::-webkit-scrollbar { width: 0; height: 0; }
.sp-bar {
  position: absolute;
  top: 0;
  right: 5px;
  z-index: 6;
  width: 4px;
  border-radius: 2px;
  background: rgba(37, 32, 25, .55);
  opacity: 0;
  pointer-events: none;
}
.sp-card.has-overflow .sp-bar { opacity: 1; }
.sp-brandbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 56px;
  margin: 0;
  padding: 14px 64px 12px 16px;
  background: transparent;
}
.sp-brandbar img { width: 36px; height: 36px; object-fit: contain; flex: none; }
.sp-brandbar strong {
  display: block;
  color: #252019;
  font: 600 17px/1.35 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.sp-brandbar p {
  margin: 2px 0 0;
  color: #7a5d2b;
  font: 400 12px/1.35 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  white-space: nowrap;
}
.sp-frame {
  position: relative;
  z-index: 1;
  margin: 0 12px 10px;
  padding: 18px 18px 0;
  border: 1px solid rgba(184, 145, 75, .36);
  border-radius: 18px;
  overflow: hidden;
  background: #fffdf8;
}
.sp-shot {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  margin: 0;
  display: flex;
  justify-content: center;
  background: transparent;
}
.sp-photo-frame {
  position: relative;
  width: 50%;
  overflow: hidden;
  border-radius: 12px;
  background: transparent;
}
.sp-shot .sp-photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: fill;
  object-position: center;
}
.sp-root.is-wire .sp-photo-frame { aspect-ratio: 2 / 3; background: #efe6d6; }
.sp-root.has-face .sp-oval,
.sp-root:not(.is-wire) .sp-oval { display: none !important; }
.sp-wire { display: none; position: absolute; inset: 0; width: 100%; height: 100%; background: #ede2cf; }
.sp-root.is-wire .sp-photo { display: none; }
.sp-root.is-wire .sp-wire { display: block; }
.sp-oval {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 9%;
  width: 51%;
  height: 83%;
  transform: translateX(-50%);
  border: 1px dashed rgba(215, 180, 110, .9);
  border-radius: 49% 49% 44% 44%;
  pointer-events: none;
}
.sp-privacy { display: none !important; }
.sp-cap {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 12px 0 12px;
  border: 0;
  border-bottom: 1px solid rgba(122, 93, 43, .18);
  border-radius: 0;
  color: #746b60;
  background: rgba(255, 253, 248, .64);
  font: 400 12px/1.5 sans-serif;
}
.sp-rest { background: #fff; }
.sp-verdict { padding: 16px 16px 4px; text-align: center; }
.sp-verdict h2 {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  font: 700 18px/1.35 "Noto Serif SC", "Songti SC", serif;
  white-space: nowrap;
  text-align: center;
}
.sp-verdict h2::before { content: "“"; }
.sp-verdict h2::after { content: "”"; }
.sp-verdict p { margin: 10px 0 0; color: #7a5d2b; font: 400 15px/1.65 "Noto Serif SC", "Songti SC", serif; }
.sp-block { padding: 4px 16px 0; }
#shareBody { padding: 4px 0 8px; }
#shareModShot {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
}
#shareModShot[hidden] { display: none !important; }
.sp-title { margin: 0 0 12px; font: 600 17px/1.35 "Noto Serif SC", "Songti SC", serif; }
.sp-sxg { border-top: 1px solid rgba(122, 93, 43, .22); }
.sp-sxg-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(122, 93, 43, .18);
}
.sp-sxg-head { display: flex; align-items: center; gap: 12px; min-height: 40px; }
.sp-seal {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1.5px solid #a63d2f;
  border-radius: 50%;
  color: #a63d2f;
}
.sp-seal svg { width: 22px; height: 22px; display: block; }
.sp-seal path { fill: currentColor; }
.sp-sxg-head strong { font: 700 17px/1.35 sans-serif; }
.sp-sxg-row p,
.sp-hl.is-see p,
.sp-hl.is-basis p,
.sp-hv p {
  margin: 0;
  color: #252019;
  font: 400 16px/1.65 sans-serif;
  letter-spacing: 0;
}
.sp-sxg-row p + p,
.sp-hl p + p { margin-top: 8px; }
.sp-hl.is-see p,
.sp-hv .sp-lead { font-weight: 500; }
.sp-hl.is-basis p { color: #5f574c; font-weight: 400; }
.sp-stop { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(122, 93, 43, .18); }
.sp-stop:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.sp-stop h4 { margin: 0; font: 500 15px/1.35 sans-serif; letter-spacing: 0; }
.sp-stop .sp-range { margin: 4px 0 0; color: #62594d; font: 400 15px/1.65 sans-serif; letter-spacing: 0; }
.sp-hl { padding: 20px 0 8px; }
.sp-hl + .sp-hl { margin-top: 8px; }
.sp-k {
  display: block;
  margin: 0 0 12px;
  color: #7a5d2b;
  font: 400 13px/1 sans-serif;
  letter-spacing: 0;
}
.sp-k::before { content: "—"; font-family: "Noto Serif SC", "Songti SC", serif; font-weight: 400; }
.sp-hl p { margin: 0; }
.sp-hl.is-see p { font: 500 16px/1.65 sans-serif; }
.sp-hl.is-basis p {
  padding: 4px 0 4px 12px;
  border-left: 3px solid #b8914b;
  color: #5f574c;
  font: 400 16px/1.65 sans-serif;
}
.sp-hv .sp-lead {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font: 500 16px/1.65 sans-serif;
  letter-spacing: 0;
}
.sp-hv .sp-lead::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 6px;
  background: #a63d2f;
  transform: rotate(45deg);
}
.sp-hv .sp-more { margin: 8px 0 0 16px; font: 400 16px/1.65 sans-serif; letter-spacing: 0; }
#shareCapture {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  min-height: 100%;
}
.sp-foot {
  margin: auto 0 0;
  padding: 24px 12px 14px;
  background: #F4F0E8;
}
.sp-foot-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 68px;
  gap: 8px;
  align-items: center;
}
.sp-foot .sp-logo { width: 44px; height: 44px; object-fit: contain; }
.sp-foot strong { display: block; font: 700 17px/1.35 "Noto Serif SC", "Songti SC", serif; }
.sp-foot .sp-slogan { margin: 4px 0 0; color: #5f574c; font: 400 11px/1.5 sans-serif; white-space: nowrap; }
.sp-foot .sp-url { margin: 2px 0 0; color: #7a5d2b; font: 400 12px/1.5 sans-serif; }
.sp-foot .sp-qr { width: 68px; height: 68px; }
.sp-foot .sp-tag {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(122, 93, 43, .12);
  color: #746b60;
  font: 400 12px/1.5 sans-serif;
  text-align: center;
}
.sp-sheet {
  position: relative;
  flex: none;
  height: auto;
  margin-top: 12px;
  width: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: 0;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}
.sp-sheet-head {
  position: relative;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 52px;
}
.sp-sheet-title {
  margin: 0;
  color: #252019;
  font: 600 17px/1.35 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  text-align: center;
}
.sp-x {
  position: absolute;
  top: 4px;
  right: 8px;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #5c5c5c;
}
.sp-x i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f2f2f2;
}
.sp-x svg {
  width: 14px;
  height: 14px;
  display: block;
}
.sp-x:active i { background: #e6e6e6; }
.sp-dock {
  flex: none;
  width: 100%;
  background: #fff;
  padding: 0 16px;
  border: 0;
}
.sp-mods {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
}
.sp-chip {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 4px;
  font: 400 15px/1.35 sans-serif;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
}
.sp-tick {
  position: relative;
  width: 16px;
  height: 16px;
  border: 1.5px solid rgba(141, 129, 112, .72);
  border-radius: 4px;
}
.sp-tick::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 1px;
  width: 7px;
  height: 4px;
  border: 2px solid #b8914b;
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg);
  opacity: 0;
}
.sp-chip.is-on .sp-tick { border-color: #b8914b; }
.sp-chip.is-on .sp-tick::after { opacity: 1; }
.sp-switch-row {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0;
  border: 0;
  font: 400 15px/1.35 sans-serif;
}
.sp-switch {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: none;
  border: 0;
  padding: 0;
}
.sp-switch i {
  position: relative;
  width: 36px;
  height: 22px;
  border-radius: 11px;
  background: rgba(116, 107, 96, .35);
}
.sp-switch i::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fffdf8;
  box-shadow: 0 1px 3px rgba(37, 32, 25, .16);
}
.sp-switch.is-on i { background: #b8914b; }
.sp-switch.is-on i::after { transform: translateX(14px); }
.sp-actions {
  display: block;
  padding: 8px 0 0;
}
#shareSave {
  width: 100%;
  box-sizing: border-box;
  appearance: none;
  height: 44px;
  min-height: 44px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 0 24px;
  border: 1px solid #3C3834;
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
  color: #3C3834;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Helvetica Neue", STHeiti, "Microsoft YaHei", Tahoma, sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
  cursor: pointer;
}
#shareSave .dl {
  width: 20px;
  height: 20px;
  flex: none;
  background: currentColor;
  -webkit-mask: url("assets/share/share-download.png?v=20260923dl1") center / contain no-repeat;
  mask: url("assets/share/share-download.png?v=20260923dl1") center / contain no-repeat;
}
#shareSave:active { opacity: .85; }
.sp-hold {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  background: #1c1914;
  color: #fbf7ef;
}
.sp-hold[hidden] { display: none !important; }
.sp-hold p { margin: 0; padding: 16px 20px 8px; text-align: center; font: 400 15px/1.5 sans-serif; }
.sp-hold .sp-hold-scroll { flex: 1; min-height: 0; overflow: auto; padding: 0 16px 12px; }
.sp-hold img { width: min(420px, 100%); margin: 0 auto; display: block; background: #fff; }
.sp-hold button {
  height: 48px;
  margin: 0 16px 16px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #252019;
  font: 600 16px/1 sans-serif;
}
.sp-toast {
  position: absolute;
  left: 50%;
  bottom: 88px;
  transform: translateX(-50%);
  max-width: calc(100% - 48px);
  padding: 10px 14px;
  border-radius: 10px;
  color: #fbf7ef;
  background: rgba(37, 32, 25, .92);
  font: 400 15px/1.5 sans-serif;
  text-align: center;
}
.sp-toast[hidden] { display: none !important; }
