* {
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    background: #F4F5F7 url('../img/share_bg.png') center top no-repeat;
    background-size: 100% auto;
}

img {
    display: block;
    overflow: hidden;
}

.share-notice {
    width: 100%;
    overflow: hidden;
    margin-top: 8.5rem;
    margin-bottom: 0.54rem;
}

.share-notice-2 {
    margin-top: 1.06rem;
}

.share-notice-row {
    width: 100%;
    overflow: hidden;
    text-align: center;
    font-size: 0.43rem;
    font-weight: normal;
    font-stretch: normal;
    line-height: 1.2;
    letter-spacing: 0px;
    color: #1799e7;
}

.campaign-time-share{
    width: 100%;
    text-align: center;
    font-size: 0.24rem;
    line-height: 1.2;
    color: #243a47;
    margin-bottom: 0.3rem;
}

.upload {
    width: 2.88rem;
    height: 2.75rem;
    overflow: hidden;
    background: #ffffff url('../img/upload.png') center center no-repeat;
    background-size: 0.89rem 0.89rem;
    box-shadow: inset 0px 7px 13px 0px rgba(0, 0, 0, 0.35);
    border-radius: 0.42rem;
    border: solid 0.02rem #3c8cd3;
    margin: 0 auto 0.24rem;
}

.upload.has-preview {
    background: none;
}

.upload-preview {
    width: 2.88rem;
    height: 2.75rem;
    display: none;
}

#fileInput {
    width: 0;
    height: 0;
    display: block;
    opacity: 0;
    position: absolute;
    left: -999rem;
    top: -999rem;
}

.upload-btn {
    width: 2.47rem;
    height: 0.64rem;
    border-radius: 0.32rem;
    border: solid 0.02rem #1674cf;

    font-size: 0.3rem;
    font-weight: normal;
    font-stretch: normal;
    line-height: 0.64rem;
    letter-spacing: 0px;
    color: #3c8cd3;
    text-align: center;
    margin: 0 auto;
    cursor: pointer;
}

.upload-hint{
    width: 100%;
    text-align: center;
    font-size: 0.22rem;
    line-height: 1.2;
    color: #64748b;
    margin-top: 0.16rem;
    margin-bottom: 0.2rem;
}

#desc {
    width: 7.36rem;
    height: 2.75rem;
    display: block;
    background-color: #ffffff;
    box-shadow: inset 0px 7px 13px 0px rgba(0, 0, 0, 0.35);
    border-radius: 0.42rem;
    border: solid 0.02rem #3c8cd3;
    margin: 0 auto 1rem;
    box-sizing: border-box;
    padding: 0.3rem 0.5rem;
    line-height: 1.5;
    /* iOS Safari / 微信：可编辑元素字号 <16px 时 focus 会整页放大，固定 ≥16px 可避免 */
    font-size: 16px;
}

#desc::placeholder{
    color: #64748b;
    opacity: 1;
}

.radio {
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.14rem;
    margin-bottom: 0.33rem;
}

.radio label {
    font-size: 0.21rem;
    font-weight: normal;
    font-stretch: normal;
    line-height: 0.5rem;
    letter-spacing: 0px;
    color: #000000;
}

.radio label a {
    text-decoration: underline;
    font-size: 0.21rem;
    font-weight: normal;
    letter-spacing: 0px;
    color: #000000;
    cursor: pointer;
}

.sure-share {
    width: 3.35rem;
    height: 0.86rem;
    background-color: #1799e7;
    border-radius: 0.43rem;
    font-size: 0.45rem;
    font-weight: normal;
    font-stretch: normal;
    line-height: 0.86rem;
    letter-spacing: 0px;
    color: #ffffff;
    text-align: center;
    margin: 0 auto 1.2rem;
    cursor: pointer;
}

.footer-des {
    width: 100%;
    font-family: FZLTXIHJW--GB1-0;
    font-size: 0.22rem;
    font-weight: normal;
    font-stretch: normal;
    line-height: 0.5rem;
    letter-spacing: 0px;
    color: #000000;
    text-align: center;
    margin-bottom: 1rem;
}


.dialog {
    width: 100%;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.3);
    display: none;
    align-items: center;
    justify-content: center;
}

.dialog.is-open {
    display: flex !important;
}

.d-box {
    width: 8.22rem;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 8px 6px 18px 0px rgba(141, 141, 141, 0.49);
    border-radius: 0.42rem;
    border: solid 0.02rem #3c8cd3;
    position: relative;
}

.d-box-img {
    width: 100%;
    overflow: hidden;
}

.d-box-title {
    position: absolute;
    left: 0;
    top: 6.25rem;
    width: 100%;
    font-size: 0.66rem;
    font-weight: normal;
    font-stretch: normal;
    line-height: 1;
    letter-spacing: 0px;
    color: #1799e7;
    text-align: center;
}

.d-box-notice {
    position: absolute;
    top: 7.39rem;
    left: 0;
    width: 100%;
    overflow: hidden;
}

.d-box-notice-des {
    font-size: 0.46rem;
    font-weight: normal;
    font-stretch: normal;
    line-height: 1.2;
    letter-spacing: 0px;
    color: #000;
    text-align: center;
    width: 100%;
}

/* 弹窗文案第二行可能为空（审核未通过态），不占位即可 */
#successLine2:empty {
    display: none;
}

.d-box-share {
    width: 2.75rem;
    height: 0.86rem;
    background-color: #1799e7;
    border-radius: 0.43rem;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1.44rem;
    margin: auto;
    font-size: 0.54rem;
    font-weight: normal;
    font-stretch: normal;
    line-height: 0.86rem;
    letter-spacing: 0px;
    color: #ffffff;
    text-align: center;
    cursor: pointer;
}

.d-box-des {
    font-size: 0.19rem;
    font-weight: normal;
    font-stretch: normal;
    line-height: 0.5rem;
    letter-spacing: 0px;
    color: #000000;
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 0.5rem;
    left: 0;
}

.upload-status-wrap {
    width: 7.36rem;
    margin: 0 auto 1rem;
    padding: 0.4rem;
    box-sizing: border-box;
    background: #fff;
    border-radius: 0.32rem;
    border: solid 0.02rem #3c8cd3;
    font-size: 0.28rem;
    color: #243a47;
    line-height: 1.5;
}

.modal-privacy {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    padding: 0.4rem;
    box-sizing: border-box;
}

.modal-privacy.is-open {
    display: flex;
}

.modal-privacy-card {
    width: 8rem;
    max-height: 70vh;
    overflow: auto;
    background: #fff;
    border-radius: 0.24rem;
    padding: 0.4rem 0.5rem;
    position: relative;
}

.modal-privacy-title {
    font-size: 0.4rem;
    margin-bottom: 0.3rem;
    text-align: center;
}

.modal-privacy-close {
    position: absolute;
    right: 0.3rem;
    top: 0.25rem;
    border: none;
    background: none;
    font-size: 0.5rem;
    line-height: 1;
    cursor: pointer;
    color: #64748b;
}

.modal-privacy-body {
    font-size: 0.24rem;
    line-height: 1.6;
    color: #334155;
    white-space: pre-wrap;
}

.modal-poster {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.55);
    padding: 0.3rem;
    box-sizing: border-box;
}

.modal-poster.is-open {
    display: flex;
}

.modal-poster-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 92vh;
}

.modal-poster-close {
    position: absolute;
    right: -0.1rem;
    top: -0.6rem;
    border: none;
    background: rgba(255,255,255,0.95);
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    font-size: 0.4rem;
    line-height: 0.6rem;
    cursor: pointer;
    color: #334155;
}

#posterPreviewImg {
    display: block;
    max-width: 100%;
    max-height: 88vh;
    width: min(92vw, 8.6rem);
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  max-width: 90%;
  padding: 10px 16px;
  background: rgba(25, 38, 55, 0.92);
  color: #fff;
  font-size: 13px;
  border-radius: 12px;
  z-index: 20000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.toast.show {
  opacity: 1;
}

.hidden {
  display: none !important;
}
