* {
    margin: 0;
    padding: 0;
}

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

img {
    display: block;
    overflow: hidden;
}

.notice-img {
    margin-top: 8rem;
    margin-left: 2.6rem;
    margin-bottom: 0.36rem;
    width: 4.8rem;
    height: 1.03rem;
}

.share-des {
    width: 7.8rem;
    height: 0.9rem;
    margin-left: 1.2rem;
    background: url('../img/share-des.png') center top no-repeat;
    background-size: 7.8rem 0.9rem;

    font-size: 0.41rem;
    font-weight: normal;
    font-stretch: normal;
    line-height: 0.9rem;
    letter-spacing: 0px;
    color: #243a47;
    text-align: center;
}

.rule-title {
    font-size: 0.43rem;
    font-weight: normal;
    font-stretch: normal;
    line-height: 0.9rem;
    letter-spacing: 0px;
    color: #1b9be7;
    width: 100%;
    text-align: center;
}

.rule-prize {
    width: 7.95rem;
    height: 5.8rem;
    margin: 0 auto 0.52rem;
    background:url('../img/rule-prize.png') center top no-repeat;
    background-size: 7.95rem 5.8rem;
    position: relative;
}

.rule-prize-share {
    width: 4.24rem;
    height: 0.85rem;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.38rem;
    margin: auto;
    cursor: pointer;
    display: block;
    overflow: hidden;
}

.rule-prize-share img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.campaign-time{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.06rem;
    margin: 0 auto;
    width: 100%;
    text-align: center;
    font-size: 0.22rem;
    line-height: 1.2;
    color: #243a47;
    pointer-events: none;
}

.rule-help {
    width: 9.24rem;
    height: 1.94rem;
    margin-left: 0.6rem;
    margin-bottom: 0.6rem;
    background: #F4F5F7 url('../img/rule-help.png') center top no-repeat;
    background-size: 9.24rem 1.94rem;
    display: flex;
    align-items: center;
    flex-direction: column;
    font-weight: normal;
    letter-spacing: 0px;
    color: #1b9be7;
    line-height: 1;
    justify-content: center;
}

.rule-help-title {
    font-size: 0.4rem;
    margin-bottom: 0.2rem;
}

.rule-help-des {
    font-size: 0.26rem;
}

.lists {
    width: 100%;
    /* 列表整体居中 */
    max-width: 9.2rem;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.7rem;
    /* 维持两列布局可容纳：左右留白交给居中布局与基础 padding */
    padding-left: 0.6rem;
    padding-right: 0.6rem;
}

.lists-empty {
    width: 100%;
    text-align: center;
    font-size: 0.32rem;
    color: #243a47;
    padding: 0.6rem 0.4rem;
}

.load-more-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.btn-load-more {
    min-width: 2.4rem;
    padding: 0.2rem 0.5rem;
    border-radius: 0.32rem;
    border: solid 0.02rem #1674cf;
    background: #fff;
    font-size: 0.28rem;
    color: #3c8cd3;
    cursor: pointer;
}

.btn-load-more:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.list {
    width: 3.64rem;
    height: 4.97rem;
    background-color: #EAF4FD;
    box-shadow: 4px 3px 10px 0px rgba(115, 115, 115, 0.52);
    border-radius: 0.2rem;
    margin-bottom: 0.95rem;
    position: relative;
}

.list-icon {
    width: 0.92rem;
    height: 0.92rem;
    position: absolute;
    left: -0.42rem;
    top: -0.42rem;
    border-radius: 50%;
    z-index: 2;
    background: #e8f2fa;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.list-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.list-name {
    position: absolute;
    left: 0;
    top: -0.24rem;
    z-index: 1;
    text-indent: 0.7rem;
    box-sizing: border-box;
    width: 2.5rem;
    height: 0.48rem;
    background-image: linear-gradient(98deg,
            #56a6d6 0%,
            #30a4e9 100%);
    box-shadow: 3px 2px 13px 0px rgba(141, 141, 141, 0.67);
    border-radius: 0.24rem;
    font-size: 0.24rem;
    font-weight: normal;
    font-stretch: normal;
    line-height: 0.48rem;
    letter-spacing: 0px;
    color: #ffffff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.list-img {
    position: absolute;
    left: 0.17rem;
    top: 0.37rem;
    z-index: 1;
    width: 3.3rem;
    height: 3.72rem;
}

.list-big {
    position: absolute;
    right: 0.2rem;
    top: 3.61rem;
    z-index: 2;
    width: 0.52rem;
    height: 0.52rem;
}

.list-btn {
    position: absolute;
    left: 0.18rem;
    bottom: 0.22rem;
    z-index: 2;
    width: 1.85rem;
    height: 0.46rem;
    background-image: linear-gradient(141deg,
            #6eafd8 0%,
            #32a4e9 100%);
    border-radius: 0.24rem;
    font-size: 0.24rem;
    font-weight: normal;
    font-stretch: normal;
    line-height: 0.46rem;
    letter-spacing: 0px;
    color: #ffffff;
    text-align: center;
    cursor: pointer;
    border: none;
}

.list-num {
    position: absolute;
    right: 0.18rem;
    bottom: 0.22rem;
    z-index: 2;
    line-height: 0.46rem;
    font-size: 0.22rem;
    font-weight: normal;
    font-stretch: normal;
    letter-spacing: 0px;
    color: #1674cf;
    text-decoration: underline;
}

.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;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* 作品详情弹窗：去掉外层白卡描边/投影，仅保留 bg.png 底板；加宽减少文案换行 */
#storyDetailDialog .d-box {
    width: 9.35rem;
    max-width: calc(100vw - 0.4rem);
    background-color: transparent;
    background-image: url('../img/bg.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;
    padding: 0.48rem 0.38rem 0.52rem 0.26rem;
    box-sizing: border-box;
    box-shadow: none;
    border: none;
    position: relative;
}

#storyDetailDialog .d-detail-close {
    position: absolute;
    right: 0.1rem;
    top: 0.1rem;
    z-index: 5;
    border: none;
    background-color: #1799e7;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    font-size: 0.4rem;
    line-height: 0.6rem;
    cursor: pointer;
    color: #ffffff;
}

#storyDetailDialog .d-detail-vote {
    display: block;
    width: 3.2rem;
    height: 0.78rem;
    margin: 0.25rem auto 0.12rem;
    border: none;
    background-color: #1799e7;
    border-radius: 0.39rem;
    font-size: 0.32rem;
    line-height: 0.78rem;
    color: #ffffff;
    text-align: center;
    cursor: pointer;
}

/* 作品详情：主图水平居中；宽度与加宽后的弹窗匹配；aspect-ratio 见 .d-box-img-wrap */
#storyDetailDialog .d-box-img-wrap {
    width: 8.5rem;
    max-width: 100%;
    margin: 0 auto 0.6rem;
}

/* 弹窗大图区域（默认 1:1） */
.d-box-img-wrap {
    width: 7.4rem;
    margin: 0 auto 0.6rem;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 0.24rem;
    background: #f0f4f8;
}

.d-box-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.d-box-6 {
    width: auto;
    display: inline-block;
    overflow: hidden;
    margin-left: 1.22rem;
}

#storyDetailDialog .d-box-6 {
    margin-left: 0;
    width: 100%;
    display: block;
    box-sizing: border-box;
    padding: 0.38rem; /* 与原 margin-left 等效，保持引文左侧位置 */
}

#storyDetailDialog .d-box-6-people {
    justify-content: flex-end;
    flex-wrap: nowrap;
    white-space: nowrap;
}

#storyDetailDialog .d-box-des {
    text-align: left;
    padding-left: 0.08rem;
    padding-right: 0.35rem;
    box-sizing: border-box;
}

.d-box-6-top {
    width: auto;
    display: inline-block;
    position: relative;
    margin-bottom: 0.5rem;
    padding: 0.1rem 0.6rem;
}

.d-box-6-top::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0.47rem;
    height: 0.47rem;
    background: url('../img/d-before.png') center top no-repeat;
    background-size: 0.47rem 0.47rem;
}

.d-box-6-top::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0.47rem;
    height: 0.47rem;
    background: url('../img/d-after.png') center top no-repeat;
    background-size: 0.47rem 0.47rem;
}

.d-box-6-top-des {
	font-size: 0.45rem;
	font-weight: normal;
	font-stretch: normal;
	line-height: 0.72rem;
	letter-spacing: 0px;
	color: #001f4b;
}

.d-box-6-top-des + .d-box-6-top-des {
    margin-top: 0.08rem;
}

.d-box-6-people {
	font-size: 0.24rem;
	font-weight: normal;
	font-stretch: normal;
	line-height: 0.5rem;
	letter-spacing: 0px;
	color: #001f4b;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}



.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;
}

.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;
}
