#chapterReaderH5App .h5Main .menuTaBarItem {
    font-size: 12px;
}

#chapterReaderH5App .h5Main.gift-dialog-open > *:not(.giftDialogMask):not(.giftDialogLayer) {
    filter: blur(0.5rem);
    pointer-events: none;
    user-select: none;
}

#chapterReaderH5App .giftDialogMask {
    position: fixed;
    inset: 0;
    z-index: 1300;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(0.5rem);
    -webkit-backdrop-filter: blur(0.5rem);
}

#chapterReaderH5App .giftDialogLayer {
    position: fixed;
    inset: 0;
    z-index: 1310;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none;
}

#chapterReaderH5App .giftDialogRecord,
#chapterReaderH5App .giftDialogFeedList,
#chapterReaderH5App .giftDialogSheet {
    pointer-events: auto;
}

#chapterReaderH5App .giftDialogRecord {
    position: absolute;
    top: 2.625rem;
    right: 1rem;
    color: #fff;
    font-size: 0.8125rem;
    line-height: 1.0625rem;
    font-weight: 400;
}

#chapterReaderH5App .giftDialogFeedList {
    position: relative;
    left: auto;
    top: auto;
    margin: 0 0 0.625rem 1rem;
    width: 12.25rem;
    height: 7.0625rem;
    flex: 0 0 auto;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 84%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 84%, transparent 100%);
}

#chapterReaderH5App .giftDialogFeedTrack {
    display: flex;
    flex-direction: column;
    gap: 0.1875rem;
    animation: chapterGiftDialogFeedScroll 8s linear infinite;
}

#chapterReaderH5App .giftDialogFeedItem {
    max-width: 12.25rem;
    padding: 0 0.625rem;
    border-radius: 9999px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: rgba(255, 255, 255, 0.12);
}

#chapterReaderH5App .giftDialogFeedItem-1 {
    height: 1.5rem;
    line-height: 1.5rem;
    font-size: 0.625rem;
    opacity: 0.2;
}

#chapterReaderH5App .giftDialogFeedItem-2,
#chapterReaderH5App .giftDialogFeedItem-4 {
    height: 1.6875rem;
    line-height: 1.6875rem;
    font-size: 0.6875rem;
    opacity: 0.45;
}

#chapterReaderH5App .giftDialogFeedItem-3 {
    height: 2rem;
    line-height: 2rem;
    font-size: 0.75rem;
    opacity: 0.75;
}

#chapterReaderH5App .giftDialogSheet {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    height: auto;
    padding: 0.875rem 1rem 0;
    border-radius: 1.5rem 1.5rem 0 0;
    background: #fff;
    box-shadow: 0 -0.25rem 1rem rgba(0, 0, 0, 0.08);
    animation: chapterGiftDialogSheetIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
    box-sizing: border-box;
    overflow: hidden;
}

#chapterReaderH5App .giftDialogMask {
    animation: chapterGiftDialogMaskIn 0.22s ease both;
}

#chapterReaderH5App .giftDialogMask.closing {
    animation: chapterGiftDialogMaskOut 0.22s ease both;
}

#chapterReaderH5App .giftDialogLayer.closing .giftDialogRecord,
#chapterReaderH5App .giftDialogLayer.closing .giftDialogFeedList {
    animation: chapterGiftDialogMaskOut 0.2s ease both;
}

#chapterReaderH5App .giftDialogLayer.closing .giftDialogSheet,
#chapterReaderH5App .giftDialogLayer.closing .giftHonorSheet {
    animation: chapterGiftDialogSheetOut 0.24s cubic-bezier(0.4, 0, 0.2, 1) both;
}

#chapterReaderH5App .giftDialogCollapse {
    position: absolute;
    left: 1.375rem;
    top: 1.1875rem;
    width: 1rem;
    height: 1rem;
    border: 0;
    background: transparent;
    padding: 0;
}

#chapterReaderH5App .giftDialogCollapse::before,
#chapterReaderH5App .giftDialogCollapse::after {
    content: "";
    position: absolute;
    top: 0.40625rem;
    width: 0.46875rem;
    height: 0.125rem;
    border-radius: 9999px;
    background: #222;
}

#chapterReaderH5App .giftDialogCollapse::before {
    left: 0.125rem;
    transform: rotate(40deg);
}

#chapterReaderH5App .giftDialogCollapse::after {
    right: 0.125rem;
    transform: rotate(-40deg);
}

#chapterReaderH5App .giftDialogTitle {
    text-align: center;
    color: #191919;
    font-size: 0.9375rem;
    line-height: 1.25rem;
    font-weight: 600;
    margin-top: 0.0625rem;
    letter-spacing: 0;
}

#chapterReaderH5App .giftDialogProgressCard {
    margin-top: 0.875rem;
    width: 21.4375rem;
    height: 4.5625rem;
    padding: 0.5625rem 0.75rem 0.625rem;
    border-radius: 0.75rem;
    border: 0.03125rem solid #ececec;
    background: #fff;
    box-sizing: border-box;
}

#chapterReaderH5App .giftDialogProgressHead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.375rem;
}

#chapterReaderH5App .giftDialogProgressLabel {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    min-width: 0;
}

#chapterReaderH5App .giftDialogProgressLabel img {
    width: 1.0625rem;
    height: 1.0625rem;
    max-width: none;
}

#chapterReaderH5App .giftDialogProgressLabel span {
    color: #4b4b4b;
    font-size: 0.8125rem;
    line-height: 1rem;
}

#chapterReaderH5App .giftDialogProgressValue {
    display: flex;
    align-items: baseline;
    white-space: nowrap;
}

#chapterReaderH5App .giftDialogProgressCurrent {
    color: #ff6900;
    font-size: 0.75rem;
    line-height: 0.9375rem;
}

#chapterReaderH5App .giftDialogProgressTotal {
    color: #848891;
    font-size: 0.75rem;
    line-height: 0.9375rem;
    opacity: 0.8;
}

#chapterReaderH5App .giftDialogProgressBarTrack {
    margin-top: 0.5625rem;
    height: 0.375rem;
    border-radius: 9999px;
    background: #ededed;
    overflow: hidden;
}

#chapterReaderH5App .giftDialogProgressBarFill {
    height: 100%;
    border-radius: 9999px;
    background: linear-gradient(90deg, #ff7a1c 0%, #f74f87 100%);
}

#chapterReaderH5App .giftDialogProgressTip {
    margin-top: 0.375rem;
    color: #f65f1e;
    font-size: 0.75rem;
    line-height: 1rem;
}

#chapterReaderH5App .giftDialogGiftGrid {
    margin-top: 0.6875rem;
    margin-bottom: 0.75rem;
    display: grid;
    grid-template-columns: repeat(4, 5.125rem);
    justify-content: space-between;
    row-gap: 0.3125rem;
    column-gap: 0;
    width: 21.4375rem;
}

#chapterReaderH5App .giftDialogGiftItem {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 5.125rem;
    height: 5.9375rem;
    padding: 0.125rem 0 0.25rem;
    border: 0.03125rem solid transparent;
    border-radius: 0.5rem;
    background: transparent;
    box-sizing: border-box;
}

#chapterReaderH5App .giftDialogGiftItem.active {
    background: #fff7f2;
    border-color: rgba(245, 121, 49, 0.24);
}

#chapterReaderH5App .giftDialogGiftThumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
}

#chapterReaderH5App .giftDialogGiftThumb img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

#chapterReaderH5App .giftDialogGiftName {
    margin-top: -0.0625rem;
    color: #191919;
    font-size: 0.75rem;
    line-height: 0.9375rem;
}

#chapterReaderH5App .giftDialogGiftPrice {
    margin-top: 0.125rem;
    color: #b8b8b8;
    font-size: 0.625rem;
    line-height: 0.875rem;
}

#chapterReaderH5App .giftDialogFooter {
    margin-top: 0;
    width: 21.4375rem;
    min-height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 1.0625rem 0;
    border-top: 0.03125rem solid #f2f2f2;
    box-sizing: border-box;
}

#chapterReaderH5App .giftDialogDeduction {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-start;
    height: 2.1875rem;
    padding-right: 0.25rem;
}

#chapterReaderH5App .giftDialogDeductionBalance {
    color: #949494;
    font-size: 0.75rem;
    line-height: 0.9375rem;
    white-space: nowrap;
}

#chapterReaderH5App .giftDialogFooterActions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: none;
    width: auto;
    height: 2.1875rem;
    position: relative;
    border: 0.03125rem solid #f3b18c;
    border-radius: 9999px;
    background: #fff;
    overflow: visible;
    box-sizing: border-box;
}

#chapterReaderH5App .giftDialogQuantityBtn {
    height: 100%;
    min-width: 3.6875rem;
    flex: none;
    padding: 0;
    border-radius: 9999px 0 0 9999px;
    border: 0;
    background: transparent;
    color: #6d6356;
    font-size: 0.875rem;
    line-height: 2.125rem;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.25rem;
    padding: 0 0.75rem 0 0.625rem;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    white-space: nowrap;
}

#chapterReaderH5App .giftDialogQuantityArrow {
    display: inline-block;
    width: 0.4375rem;
    height: 0.25rem;
    flex: none;
    vertical-align: middle;
}

#chapterReaderH5App .giftDialogQuantityMenu {
    position: absolute;
    left: 0;
    bottom: calc(100% + 0.375rem);
    min-width: 100%;
    width: max-content;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.25rem;
    border: 0.03125rem solid rgba(243, 177, 140, 0.9);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 0.375rem 1rem rgba(71, 37, 29, 0.10);
    z-index: 4;
    box-sizing: border-box;
}

#chapterReaderH5App .giftDialogQuantityMenuItem {
    width: 100%;
    height: 1.75rem;
    border: 0;
    border-radius: 0.5625rem;
    background: transparent;
    color: #6d6356;
    font-size: 0.8125rem;
    line-height: 1.75rem;
    text-align: center;
}

#chapterReaderH5App .giftDialogQuantityMenuItem:active {
    background: rgba(243, 157, 94, 0.12);
}

#chapterReaderH5App .giftDialogSubmitBtn {
    height: 100%;
    width: 7.125rem;
    min-width: 7.125rem;
    flex: none;
    padding: 0;
    border: 0;
    border-radius: 9999px;
    background: linear-gradient(180deg, #f39d5e 0%, #ef7f3d 100%);
    color: #fff;
    font-size: 0.875rem;
    line-height: 2.1875rem;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

#chapterReaderH5App .giftDialogSubmitBtn:disabled {
    opacity: 0.72;
}

#chapterReaderH5App .giftHonorSheet {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 36.4375rem;
    padding: 0.875rem 0 0;
    border-radius: 1.5rem 1.5rem 0 0;
    background: linear-gradient(180deg, #fff8ea 0%, #fffef9 16%, #ffffff 100%);
    box-shadow: 0 -0.25rem 1rem rgba(0, 0, 0, 0.08);
    animation: chapterGiftDialogSheetIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
    box-sizing: border-box;
    overflow: hidden;
    pointer-events: auto;
}

#chapterReaderH5App .giftHonorBack {
    position: absolute;
    top: 1.125rem;
    left: 1.1875rem;
    width: 1rem;
    height: 1rem;
    border: 0;
    background: transparent;
    padding: 0;
}

#chapterReaderH5App .giftHonorBack::before,
#chapterReaderH5App .giftHonorBack::after {
    content: "";
    position: absolute;
    top: 0.40625rem;
    width: 0.46875rem;
    height: 0.125rem;
    border-radius: 9999px;
    background: #222;
}

#chapterReaderH5App .giftHonorBack::before {
    left: 0.125rem;
    transform: rotate(40deg);
}

#chapterReaderH5App .giftHonorBack::after {
    right: 0.125rem;
    transform: rotate(-40deg);
}

#chapterReaderH5App .giftHonorTitle {
    text-align: center;
    color: #191919;
    font-size: 0.9375rem;
    line-height: 1.3125rem;
    font-weight: 600;
}

#chapterReaderH5App .giftHonorList {
    margin-top: 1rem;
    height: 27.8125rem;
    padding: 0 1rem;
    overflow-y: auto;
    box-sizing: border-box;
}

#chapterReaderH5App .giftHonorItem {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    height: 3.0625rem;
}

#chapterReaderH5App .giftHonorRank {
    width: 2.1875rem;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

#chapterReaderH5App .giftHonorRankImage {
    display: block;
    width: 2.1875rem;
    height: 1.5rem;
    max-width: none;
    object-fit: contain;
}

#chapterReaderH5App .giftHonorRankBadge {
    width: 1.6875rem;
    height: 1.6875rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    line-height: 1;
    font-weight: 700;
    color: #fff;
    box-shadow: inset 0 0 0 0.0625rem rgba(255, 255, 255, 0.4);
}

#chapterReaderH5App .giftHonorRankBadge.rank-1 {
    background: linear-gradient(180deg, #ffd564 0%, #ffac34 100%);
}

#chapterReaderH5App .giftHonorRankBadge.rank-2 {
    background: linear-gradient(180deg, #d9e5ff 0%, #88a7e8 100%);
}

#chapterReaderH5App .giftHonorRankBadge.rank-3 {
    background: linear-gradient(180deg, #ffbf93 0%, #e98a47 100%);
}

#chapterReaderH5App .giftHonorRankText {
    color: #434343;
    font-size: 0.8125rem;
    line-height: 1.0625rem;
}

#chapterReaderH5App .giftHonorAvatar,
#chapterReaderH5App .giftHonorFooterAvatar {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    overflow: hidden;
    flex: none;
    background: #f2efe7;
}

#chapterReaderH5App .giftHonorAvatar img,
#chapterReaderH5App .giftHonorFooterAvatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#chapterReaderH5App .giftHonorInfo,
#chapterReaderH5App .giftHonorFooterInfo {
    min-width: 0;
    flex: 1 1 auto;
}

#chapterReaderH5App .giftHonorName,
#chapterReaderH5App .giftHonorFooterName {
    color: #191919;
    font-size: 0.875rem;
    line-height: 1.1875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#chapterReaderH5App .giftHonorCoins,
#chapterReaderH5App .giftHonorFooterCoins {
    margin-top: 0.125rem;
    color: #b3aba0;
    font-size: 0.6875rem;
    line-height: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#chapterReaderH5App .giftHonorLike {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 0.1875rem;
    color: #ff7b1b;
    font-size: 0.8125rem;
    line-height: 1.0625rem;
}

#chapterReaderH5App .giftHonorLikeIcon {
    display: block;
    width: 0.875rem;
    height: 0.875rem;
    flex: none;
}

#chapterReaderH5App .giftHonorBackTop {
    position: absolute;
    right: 1rem;
    bottom: 5.1875rem;
    width: 2.625rem;
    height: 2.625rem;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0.3125rem 0.9375rem rgba(35, 37, 47, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 2;
}

#chapterReaderH5App .giftHonorBackTop span {
    position: relative;
    display: block;
    width: 0.8125rem;
    height: 0.8125rem;
}

#chapterReaderH5App .giftHonorBackTop span::before,
#chapterReaderH5App .giftHonorBackTop span::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

#chapterReaderH5App .giftHonorBackTop span::before {
    top: 0.0625rem;
    width: 0.5625rem;
    height: 0.5625rem;
    border-top: 0.125rem solid #1f1f1f;
    border-left: 0.125rem solid #1f1f1f;
    transform: translateX(-50%) rotate(45deg);
}

#chapterReaderH5App .giftHonorBackTop span::after {
    bottom: 0.0625rem;
    width: 0.125rem;
    height: 0.5625rem;
    border-radius: 9999px;
    background: #1f1f1f;
}

#chapterReaderH5App .giftHonorFooter {
    height: 4.625rem;
    margin-top: 0.5rem;
    padding: 0 1rem;
    border-top: 0.03125rem solid #f3eee3;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    box-sizing: border-box;
}

#chapterReaderH5App .giftHonorFooterRank {
    width: 1.9375rem;
    flex: none;
    color: #434343;
    font-size: 0.8125rem;
    line-height: 1.0625rem;
}

#chapterReaderH5App .giftHonorFooterBtn {
    width: 4.4375rem;
    height: 2.0625rem;
    border: 0;
    border-radius: 9999px;
    background: linear-gradient(90deg, #ff9b49 0%, #f85a9a 100%);
    color: #fff;
    font-size: 0.875rem;
    line-height: 2.0625rem;
    text-align: center;
    flex: none;
}

#chapterReaderH5App .giftEffectLayer {
    position: fixed;
    inset: 0;
    z-index: 1320;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

#chapterReaderH5App .giftEffectMask {
    z-index: 1319;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(0.5rem);
    -webkit-backdrop-filter: blur(0.5rem);
    animation: chapterGiftDialogMaskIn 0.22s ease both;
}

#chapterReaderH5App .giftEffectMask.closing,
#chapterReaderH5App .giftEffectLayer.closing {
    animation: chapterGiftDialogMaskOut 0.22s ease both;
}

#chapterReaderH5App .giftEffectPanel {
    width: 12.9375rem;
    min-height: 21.1875rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: auto;
}

#chapterReaderH5App .giftEffectBurst {
    position: relative;
    width: 12.0625rem;
    height: 12.0625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: chapterGiftEffectBurstIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

#chapterReaderH5App .giftEffectCountBadge {
    position: absolute;
    top: 0.0625rem;
    right: -0.0625rem;
    z-index: 3;
    color: #ffa668;
    font-size: 1.625rem;
    line-height: 2.1875rem;
    font-weight: 400;
}

#chapterReaderH5App .giftEffectImage {
    position: relative;
    z-index: 2;
    width: 12.0625rem;
    height: 12.0625rem;
    object-fit: contain;
    filter: drop-shadow(0 0.625rem 1.25rem rgba(0, 0, 0, 0.18));
}

#chapterReaderH5App .giftEffectRing {
    position: absolute;
    inset: 1.5625rem;
    border-radius: 50%;
    border: 0.125rem solid rgba(255, 255, 255, 0.4);
}

#chapterReaderH5App .giftEffectRing-1 {
    animation: chapterGiftEffectRing 1.15s ease-out infinite;
}

#chapterReaderH5App .giftEffectRing-2 {
    inset: 0.5625rem;
    border-color: rgba(255, 189, 127, 0.42);
    animation: chapterGiftEffectRing 1.15s ease-out 0.22s infinite;
}

#chapterReaderH5App .giftEffectSpark {
    position: absolute;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: linear-gradient(180deg, #fff7cf 0%, #ffb35f 100%);
    box-shadow: 0 0 0.5rem rgba(255, 202, 134, 0.75);
}

#chapterReaderH5App .giftEffectSpark-1 {
    top: 1.5rem;
    right: 2.125rem;
}

#chapterReaderH5App .giftEffectSpark-2 {
    bottom: 1.8125rem;
    left: 1.875rem;
}

#chapterReaderH5App .giftEffectSpark-3 {
    top: 3.25rem;
    left: 1.125rem;
}

#chapterReaderH5App .giftEffectMessage {
    margin-top: 0.5rem;
    color: #fff;
    font-size: 1rem;
    line-height: 1.3125rem;
    font-weight: 400;
    white-space: nowrap;
    text-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.18);
}

#chapterReaderH5App .giftEffectConfirmBtn {
    margin-top: 2.375rem;
    width: 7.875rem;
    height: 2.75rem;
    border: 0;
    border-radius: 9999px;
    background: linear-gradient(180deg, #ff7d2c 0%, #ff6b22 100%);
    color: #fff;
    font-size: 0.9375rem;
    line-height: 1.25rem;
    font-weight: 400;
    box-shadow: 0 0.5rem 1.25rem rgba(255, 115, 39, 0.22);
}

@keyframes chapterGiftDialogMaskIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes chapterGiftDialogMaskOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes chapterGiftDialogSheetIn {
    from {
        opacity: 0;
        transform: translateY(1.5rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes chapterGiftDialogSheetOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(1rem);
    }
}

@keyframes chapterGiftDialogFeedScroll {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(calc(-50% - 0.09375rem));
    }
}

@keyframes chapterGiftEffectBurstIn {
    0% {
        opacity: 0;
        transform: translate3d(0, 1.5rem, 0) scale(0.72);
    }
    45% {
        opacity: 1;
        transform: translate3d(0, -0.25rem, 0) scale(1.04);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes chapterGiftEffectRing {
    0% {
        opacity: 0.8;
        transform: scale(0.76);
    }
    100% {
        opacity: 0;
        transform: scale(1.14);
    }
}

.h5Main .contains {
    padding-bottom: 60px !important;
}

#chapterReaderH5App .h5Main .menuTaBarItem svg {
    margin-right: 3px;
}

#chapterReaderH5App .topTabBar > img {
    width: 14px;
    height: 14px;
    flex: none;
}

#chapterReaderH5App .topTabBar .menuTaBarItem > img {
    width: 18px;
    height: 18px;
    flex: none;
}

#chapterReaderH5App .scheduleBtnItem a > img {
    width: 14px;
    height: 14px;
    flex: none;
    display: inline-block;
    vertical-align: middle;
}

#chapterReaderH5App .scheduleSliderBar .van-slider {
    --van-slider-active-background: #FF3955;
    --van-slider-button-width: 0.625rem;
    --van-slider-button-height: 0.625rem;
}

#chapterReaderH5App .scheduleSliderBar .van-slider__button {
    background: #FF3955;
    border-color: #FF3955;
}

#chapterReaderH5App .breadcrumbs li > img {
    width: 12px;
    height: 12px;
    display: inline-block;
    vertical-align: middle;
    flex: none;
}

@media (min-width: 750px) {
    .pcMain .breadcrumbs li {
        margin-right: 8px;
        line-height: 14px;
        display: flex;
        align-items: center;
    }
}

.pcMain .menuBox li a {
    justify-content: space-between;
}

#chapterReaderH5App .h5ChapterUpdateBox {
    padding: 0.25rem 0 0.875rem;
    text-align: center;
}

#chapterReaderH5App .h5ChapterUpdateTitle {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 2.1875rem;
}

#chapterReaderH5App .h5ChapterUpdateTitle img {
    display: block;
    width: 9.4375rem;
    height: 1.375rem;
    max-width: none;
}

#chapterReaderH5App .h5ChapterUpdateTitle .author-updating-dark {
    display: none;
}

#chapterReaderH5App .h5ChapterUpdateMeta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.0625rem;
    color: #9E9986;
    font-size: 0.75rem;
    line-height: 1.25rem;
}

#chapterReaderH5App .h5ChapterRankList {
    display: flex;
    width: 100%;
    gap: 0.5625rem;
    padding: 0 0 1.1875rem;
    box-sizing: border-box;
}

#chapterReaderH5App .h5ChapterRankItem {
    flex: 1;
    min-width: 0;
    background: #fff;
    border: 0.0625rem solid #f5f5f5;
    border-radius: 0.625rem;
    box-shadow: 0 0.0625rem 0.25rem rgba(200, 200, 200, 0.20);
    overflow: hidden;
}

#chapterReaderH5App .h5ChapterRankItem > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 4.125rem;
    padding: 0.75rem 0.125rem 0.5rem;
    box-sizing: border-box;
    text-decoration: none;
}

#chapterReaderH5App .h5ChapterRankTitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    width: 100%;
}

#chapterReaderH5App .h5ChapterRankIcon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    height: 1rem;
}

#chapterReaderH5App .h5ChapterRankIcon img {
    display: block;
    width: auto;
    height: auto;
    max-width: none;
}

#chapterReaderH5App .h5ChapterRankName {
    color: #4d4739;
    font-size: 0.8125rem;
    line-height: 1.125rem;
    font-weight: 500;
    white-space: nowrap;
}

#chapterReaderH5App .h5ChapterRankCount {
    margin-top: 0.125rem;
    color: #827659;
    font-size: 0.6875rem;
    line-height: 0.9375rem;
    white-space: nowrap;
}

.sty-1 #chapterReaderH5App .topTabBar,
.sty-1 #chapterReaderH5App .h5Main .configBar {
    background-color: #f5f5f5;
}

.sty-2 #chapterReaderH5App .topTabBar,
.sty-2 #chapterReaderH5App .h5Main .configBar {
    background-color: #cad9e8;
}

.sty-3 #chapterReaderH5App .topTabBar,
.sty-3 #chapterReaderH5App .h5Main .configBar {
    background-color: #d1edd1;
}

.sty-4 #chapterReaderH5App .topTabBar,
.sty-4 #chapterReaderH5App .h5Main .configBar {
    background-color: #dccca8;
}

.sty-5 #chapterReaderH5App .topTabBar,
.sty-5 #chapterReaderH5App .h5Main .configBar {
    background-color: #1f1f1f;
}

.sty-1 #chapterReaderH5App .h5Main #prevH5,
.sty-1 #chapterReaderH5App .h5Main #nextH5 {
    background-color: #fff;
    border-color: #f5f5f5;
    box-shadow: 0 0.0625rem 0.25rem rgba(200, 200, 200, 0.20);
}

.sty-2 #chapterReaderH5App .h5Main #prevH5,
.sty-2 #chapterReaderH5App .h5Main #nextH5 {
    background-color: #edf6ff;
    border-color: #e0f0ff;
    box-shadow: 0 0.0625rem 0.25rem rgba(178, 174, 188, 0.20);
}

.sty-3 #chapterReaderH5App .h5Main #prevH5,
.sty-3 #chapterReaderH5App .h5Main #nextH5 {
    background-color: #e8ffe8;
    border-color: #d0e8d0;
    box-shadow: 0 0.0625rem 0.25rem rgba(143, 175, 160, 0.20);
}

.sty-4 #chapterReaderH5App .h5Main #prevH5,
.sty-4 #chapterReaderH5App .h5Main #nextH5 {
    background-color: #F0E0BB;
    border-color: #FFEFCA;
    box-shadow: 0 0.0625rem 0.25rem rgba(188, 186, 174, 0.20);
}

.sty-5 #chapterReaderH5App .h5Main #prevH5,
.sty-5 #chapterReaderH5App .h5Main #nextH5 {
    background-color: #2b2b2b;
    border-color: #3a3a3a;
    box-shadow: 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.22);
}

.sty-1 #chapterReaderH5App .h5ChapterRankItem {
    background: #fff;
    border-color: #f5f5f5;
    box-shadow: 0 0.0625rem 0.25rem rgba(200, 200, 200, 0.20);
}

.sty-2 #chapterReaderH5App .h5ChapterRankItem {
    background: #edf6ff;
    border-color: #e0f0ff;
    box-shadow: 0 0.0625rem 0.25rem rgba(178, 174, 188, 0.20);
}

.sty-3 #chapterReaderH5App .h5ChapterRankItem {
    background: #e8ffe8;
    border-color: #d0e8d0;
    box-shadow: 0 0.0625rem 0.25rem rgba(143, 175, 160, 0.20);
}

.sty-4 #chapterReaderH5App .h5ChapterRankItem {
    background: #F0E0BB;
    border-color: #FFEFCA;
    box-shadow: 0 0.0625rem 0.25rem rgba(188, 186, 174, 0.20);
}

.sty-5 #chapterReaderH5App .h5ChapterRankItem {
    background: #2b2b2b;
    border-color: #3a3a3a;
    box-shadow: 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.22);
}

#chapterReaderH5App .h5BoostProgressCard {
    margin-top: 0.125rem;
    position: relative;
    background: #fff;
    border: 0.0625rem solid #f5f5f5;
    border-radius: 0.625rem;
    box-shadow: 0 0.0625rem 0.25rem rgba(200, 200, 200, 0.20);
    box-sizing: border-box;
    padding: 0.8rem 0.75rem 0.75rem;
    overflow: hidden;
}

#chapterReaderH5App .h5BoostProgressCorner {
    position: absolute;
    top: 0;
    right: 0;
    width: 5.5rem;
    height: 5.1875rem;
    pointer-events: none;
    z-index: 0;
}

#chapterReaderH5App .h5BoostProgressCorner img {
    display: block;
    width: 5.5rem;
    height: 5.1875rem;
    max-width: none;
}

#chapterReaderH5App .h5BoostProgressCorner .corner-blue,
#chapterReaderH5App .h5BoostProgressCorner .corner-green,
#chapterReaderH5App .h5BoostProgressCorner .corner-yellow {
    display: none;
}

#chapterReaderH5App .h5BoostProgressHead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.375rem;
    position: relative;
    z-index: 1;
    min-height: 1.3125rem;
}

#chapterReaderH5App .h5BoostProgressLabel {
    display: flex;
    align-items: center;
    gap: 0.3125rem;
    min-width: 0;
}

#chapterReaderH5App .h5BoostProgressLabel img {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    max-width: none;
    flex: none;
}

#chapterReaderH5App .h5BoostProgressLabel span {
    color: #4d4739;
    font-size: 0.9375rem;
    line-height: 1.3125rem;
    font-weight: 600;
}

#chapterReaderH5App .h5BoostProgressValue {
    display: flex;
    align-items: baseline;
    gap: 0.125rem;
    white-space: nowrap;
}

#chapterReaderH5App .h5BoostProgressCurrent {
    color: #ff7b1f;
    font-size: 0.9375rem;
    line-height: 1.3125rem;
    font-weight: 500;
}

#chapterReaderH5App .h5BoostProgressTotal {
    color: #b4ab97;
    font-size: 0.75rem;
    line-height: 1.0625rem;
}

#chapterReaderH5App .h5BoostProgressBar {
    margin-top: 0.5625rem;
    position: relative;
    z-index: 1;
}

#chapterReaderH5App .h5BoostProgressBarTrack {
    height: 0.5rem;
    background: rgba(223, 205, 166, 0.82);
    border-radius: 9999px;
    overflow: hidden;
}

#chapterReaderH5App .h5BoostProgressBarFill {
    width: 70%;
    height: 100%;
    border-radius: 9999px;
    background: linear-gradient(90deg, #ff7a1c 0%, #f74f87 100%);
}

#chapterReaderH5App .h5BoostProgressFoot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.625rem;
    margin-top: 0.6875rem;
    position: relative;
    z-index: 1;
    min-height: 2rem;
}

#chapterReaderH5App .h5BoostProgressTip {
    color: #ff6f24;
    font-size: 0.8125rem;
    line-height: 1.125rem;
}

#chapterReaderH5App .h5BoostProgressBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 1.75rem;
    min-width: 4.125rem;
    padding: 0 0.75rem;
    border-radius: 9999px;
    background: linear-gradient(180deg, #ff8b4c 0%, #ff5f5c 100%);
    color: #fff;
    font-size: 0.8125rem;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    align-self: flex-start;
}

.sty-2 #chapterReaderH5App .h5BoostProgressCard {
    background: #edf6ff;
    border-color: #e0f0ff;
    box-shadow: 0 0.0625rem 0.25rem rgba(178, 174, 188, 0.20);
}

.sty-3 #chapterReaderH5App .h5BoostProgressCard {
    background: #e8ffe8;
    border-color: #d0e8d0;
    box-shadow: 0 0.0625rem 0.25rem rgba(143, 175, 160, 0.20);
}

.sty-4 #chapterReaderH5App .h5BoostProgressCard {
    background: #F0E0BB;
    border-color: #FFEFCA;
    box-shadow: 0 0.0625rem 0.25rem rgba(188, 186, 174, 0.20);
}

.sty-5 #chapterReaderH5App .h5BoostProgressCard {
    background: #2b2b2b;
    border-color: #3a3a3a;
    box-shadow: 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.22);
}

.sty-1 #chapterReaderH5App .h5BoostProgressCorner,
.sty-5 #chapterReaderH5App .h5BoostProgressCorner {
    display: block;
}

.sty-1 #chapterReaderH5App .h5BoostProgressCorner .corner-white {
    display: block;
}

.sty-2 #chapterReaderH5App .h5BoostProgressCorner .corner-white,
.sty-3 #chapterReaderH5App .h5BoostProgressCorner .corner-white,
.sty-4 #chapterReaderH5App .h5BoostProgressCorner .corner-white,
.sty-5 #chapterReaderH5App .h5BoostProgressCorner .corner-white {
    display: none;
}

.sty-2 #chapterReaderH5App .h5BoostProgressCorner .corner-blue {
    display: block;
}

.sty-3 #chapterReaderH5App .h5BoostProgressCorner .corner-green {
    display: block;
}

.sty-4 #chapterReaderH5App .h5BoostProgressCorner .corner-yellow {
    display: block;
}

.sty-5 #chapterReaderH5App .h5BoostProgressCorner {
    display: none;
}

.pcMain .pcChapterExtraModules {
    margin-top: 44px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.pcMain .pcChapterUpdateBox {
    padding: 0 0 18px;
    text-align: center;
}

.pcMain .pcChapterUpdateTitle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 35px;
}

.pcMain .pcChapterUpdateTitle img {
    display: block;
    width: 151px;
    height: 22px;
    max-width: none;
}

.pcMain .pcChapterUpdateTitle .author-updating-dark {
    display: none;
}

.pcMain .pcChapterUpdateMeta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 1px;
    color: #9e9986;
    font-size: 12px;
    line-height: 20px;
}

.pcMain .pcChapterUtilityPanel {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.pcMain .pcChapterUtilityBar {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 492px;
    border: 0;
    background: transparent;
}

.pcMain .pcChapterUtilityItem {
    flex: none;
    width: 156px;
    display: flex;
}

.pcMain .pcChapterUtilityItem + .pcChapterUtilityItem {
    border-left: 0;
}

.pcMain .pcChapterUtilityItem > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 74px;
    padding: 12px 10px 10px;
    box-sizing: border-box;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
    border: 1px solid #f5f5f5;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(200, 200, 200, 0.20);
}

.pcMain .pcChapterUtilityHead {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
}

.pcMain .pcChapterUtilityIcon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    height: 16px;
}

.pcMain .pcChapterUtilityIcon img {
    display: block;
    width: auto;
    height: auto;
    max-width: none;
}

.pcMain .pcChapterUtilityName {
    color: #4d4739;
    font-size: 15px;
    line-height: 20px;
    font-weight: 500;
    white-space: nowrap;
}

.pcMain .pcChapterUtilityCount {
    margin-top: 2px;
    color: #827659;
    font-size: 12px;
    line-height: 17px;
    white-space: nowrap;
}

.pcMain .pcChapterUtilityItem > a:hover .pcChapterUtilityName {
    color: #FF3955;
}

.pcMain .pcChapterUtilityItem > a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(73, 59, 29, 0.10);
}

.pcMain .pcBoostProgressBtn:hover {
    opacity: 0.92;
}

.pcMain .pcBoostProgressCard {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid #f5f5f5;
    border-radius: 14px;
    box-shadow: 0 1px 4px rgba(200, 200, 200, 0.20);
    padding: 16px 18px 16px;
    box-sizing: border-box;
    margin-top: 14px;
    width: 100%;
    max-width: 492px;
}

.pcMain .pcBoostProgressCorner {
    position: absolute;
    top: 0;
    right: 0;
    width: 93px;
    height: 88px;
    pointer-events: none;
    z-index: 0;
}

.pcMain .pcBoostProgressCorner img {
    display: block;
    width: 93px;
    height: 88px;
    max-width: none;
}

.pcMain .pcBoostProgressCorner .corner-blue,
.pcMain .pcBoostProgressCorner .corner-green,
.pcMain .pcBoostProgressCorner .corner-yellow {
    display: none;
}

.pcMain .pcBoostProgressHead,
.pcMain .pcBoostProgressBar,
.pcMain .pcBoostProgressFoot {
    position: relative;
    z-index: 1;
}

.pcMain .pcBoostProgressHead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pcMain .pcBoostProgressLabel {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.pcMain .pcBoostProgressLabel img {
    display: block;
    width: 22px;
    height: 22px;
    max-width: none;
    flex: none;
}

.pcMain .pcBoostProgressLabel span {
    color: #4d4739;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
}

.pcMain .pcBoostProgressValue {
    display: flex;
    align-items: baseline;
    gap: 2px;
    white-space: nowrap;
}

.pcMain .pcBoostProgressCurrent {
    color: #ff7b1f;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
}

.pcMain .pcBoostProgressTotal {
    color: #b4ab97;
    font-size: 12px;
    line-height: 18px;
}

.pcMain .pcBoostProgressBar {
    margin-top: 12px;
}

.pcMain .pcBoostProgressBarTrack {
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(223, 205, 166, 0.82);
}

.pcMain .pcBoostProgressBarFill {
    width: 70%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff7a1c 0%, #f74f87 100%);
}

.pcMain .pcBoostProgressFoot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 14px;
}

.pcMain .pcBoostProgressTip {
    color: #ff6f24;
    font-size: 14px;
    line-height: 20px;
}

.pcMain .pcBoostProgressBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    min-width: 84px;
    padding: 0 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff8b4c 0%, #ff5f5c 100%);
    color: #fff;
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    flex: none;
}

.pcMain .pcGiftDialogMask,
.pcMain .pcGiftEffectMask {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    z-index: 1300;
    animation: chapterGiftDialogMaskIn 0.22s ease both;
}

.pcMain .pcGiftDialogLayer,
.pcMain .pcGiftEffectLayer {
    position: fixed;
    inset: 0;
    z-index: 1310;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
    box-sizing: border-box;
}

.pcMain .pcGiftDialogBarrage {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.pcMain .pcGiftDialogBarrageItem {
    position: absolute;
    left: 100%;
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 251, 243, 0.56);
    color: rgba(56, 41, 22, 0.72);
    font-size: 16px;
    line-height: 34px;
    letter-spacing: 0.01em;
    box-shadow: 0 12px 28px rgba(86, 68, 40, 0.14);
    backdrop-filter: blur(10px);
    white-space: nowrap;
    will-change: transform, opacity;
    --pc-barrage-opacity: 0.46;
    --pc-barrage-scale: 0.88;
    animation-name: pcGiftDialogBulletFloat;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.pcMain .pcGiftDialogMask.closing,
.pcMain .pcGiftEffectMask.closing {
    animation: chapterGiftDialogMaskOut 0.22s ease both;
}

.pcMain .pcGiftDialogSheet {
    position: relative;
    z-index: 1;
    width: 500px;
    max-width: calc(100vw - 48px);
    max-height: min(82vh, 760px);
    border-radius: 20px;
    border: 1px solid #f5f0e3;
    background: #fffdf8;
    box-shadow: 0 24px 60px rgba(76, 53, 17, 0.18);
    padding: 18px 20px 20px;
    box-sizing: border-box;
    animation: pcChapterGiftDialogModalIn 0.24s cubic-bezier(0.22, 1, 0.36, 1) both;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pcMain .pcGiftDialogLayer.closing .pcGiftDialogSheet {
    animation: pcChapterGiftDialogModalOut 0.18s ease both;
}

.pcMain .pcGiftDialogHeader {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    margin-bottom: 10px;
}

.pcMain .pcGiftDialogClose {
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.pcMain .pcGiftDialogClose::before,
.pcMain .pcGiftDialogClose::after {
    content: "";
    position: absolute;
    top: 9px;
    left: 3px;
    width: 14px;
    height: 2px;
    border-radius: 999px;
    background: #383838;
}

.pcMain .pcGiftDialogClose::before {
    transform: rotate(45deg);
}

.pcMain .pcGiftDialogClose::after {
    transform: rotate(-45deg);
}

.pcMain .pcGiftDialogTitle {
    color: #191919;
    font-size: 21px;
    line-height: 30px;
    font-weight: 600;
}

.pcMain .pcGiftDialogRecord {
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -9px;
    color: #a48963;
    font-size: 12px;
    line-height: 18px;
    text-decoration: none;
}

.pcMain .pcGiftDialogProgressCard {
    border-radius: 16px;
    border: 1px solid rgba(244, 230, 198, 0.92);
    background: rgba(255, 252, 245, 0.96);
    padding: 10px 12px 11px;
    box-sizing: border-box;
}

.pcMain .pcGiftDialogProgressHead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pcMain .pcGiftDialogProgressLabel {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.pcMain .pcGiftDialogProgressLabel img {
    display: block;
    width: 18px;
    height: 18px;
    max-width: none;
}

.pcMain .pcGiftDialogProgressLabel span {
    color: #4b4b4b;
    font-size: 13px;
    line-height: 18px;
}

.pcMain .pcGiftDialogProgressValue {
    display: inline-flex;
    align-items: baseline;
    white-space: nowrap;
}

.pcMain .pcGiftDialogProgressCurrent {
    color: #ff6900;
    font-size: 14px;
    line-height: 18px;
}

.pcMain .pcGiftDialogProgressTotal {
    color: #b4ab97;
    font-size: 12px;
    line-height: 18px;
}

.pcMain .pcGiftDialogProgressBarTrack {
    margin-top: 8px;
    height: 7px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(223, 205, 166, 0.4);
}

.pcMain .pcGiftDialogProgressBarFill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ff7a1c 0%, #f74f87 100%);
}

.pcMain .pcGiftDialogProgressTip {
    margin-top: 8px;
    color: #ff6924;
    font-size: 12px;
    line-height: 18px;
}

.pcMain .pcGiftDialogGiftGrid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px 8px;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
    padding: 2px 4px 2px 0;
}

.pcMain .pcGiftDialogGiftItem {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 6px 8px;
    border-radius: 14px;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
    box-sizing: border-box;
}

.pcMain .pcGiftDialogGiftItem.active {
    border-color: #f6c6aa;
    background: rgba(255, 246, 239, 0.95);
}

.pcMain .pcGiftDialogGiftItem:hover {
    transform: translateY(-2px);
}

.pcMain .pcGiftDialogGiftThumb {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pcMain .pcGiftDialogGiftThumb img {
    display: block;
    width: 50px;
    height: 50px;
    object-fit: contain;
    max-width: none;
}

.pcMain .pcGiftDialogGiftName {
    margin-top: 4px;
    color: #191919;
    font-size: 13px;
    line-height: 17px;
    font-weight: 500;
    text-align: center;
}

.pcMain .pcGiftDialogGiftPrice {
    margin-top: 2px;
    color: #b5b0a9;
    font-size: 10px;
    line-height: 14px;
    text-align: center;
}

.pcMain .pcGiftDialogFooter {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0ece2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex: none;
}

.pcMain .pcGiftDialogDeductionBalance {
    color: #9d978c;
    font-size: 12px;
    line-height: 18px;
}

.pcMain .pcGiftDialogFooterActions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pcMain .pcGiftDialogQuantityBox {
    position: relative;
    flex: none;
}

.pcMain .pcGiftDialogQuantityBtn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 60px;
    height: 38px;
    padding: 0 13px 0 12px;
    border-radius: 999px;
    border: 1px solid #f4bb92;
    background: #fff;
    color: #7c5f47;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    box-sizing: border-box;
    white-space: nowrap;
}

.pcMain .pcGiftDialogQuantityArrow {
    display: block;
    width: 7px;
    height: 4px;
    max-width: none;
}

.pcMain .pcGiftDialogQuantityMenu {
    position: absolute;
    left: 0;
    bottom: calc(100% + 6px);
    min-width: 100%;
    width: max-content;
    padding: 5px;
    border-radius: 12px;
    border: 1px solid #f1d8c7;
    background: #fff;
    box-shadow: 0 10px 28px rgba(76, 53, 17, 0.14);
}

.pcMain .pcGiftDialogQuantityMenuItem {
    width: 100%;
    height: 30px;
    padding: 0 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #7c5f47;
    font-size: 14px;
    line-height: 30px;
    text-align: left;
    cursor: pointer;
    white-space: nowrap;
}

.pcMain .pcGiftDialogQuantityMenuItem:hover {
    background: rgba(255, 121, 49, 0.08);
}

.pcMain .pcGiftDialogSubmitBtn {
    min-width: 132px;
    height: 38px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff964c 0%, #f5843d 100%);
    color: #fff;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(245, 132, 61, 0.24);
}

.pcMain .pcGiftDialogGiftGrid::-webkit-scrollbar {
    width: 6px;
}

.pcMain .pcGiftDialogGiftGrid::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(197, 177, 145, 0.7);
}

.pcMain .pcGiftDialogGiftGrid::-webkit-scrollbar-track {
    background: transparent;
}

.pcMain .pcGiftDialogSubmitBtn:disabled {
    opacity: 0.72;
    cursor: default;
}

.pcMain .pcGiftDialogRecordBack {
    position: absolute;
    left: 0;
    top: 50%;
    width: 22px;
    height: 22px;
    margin-top: -11px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.pcMain .pcGiftDialogRecordBack::before,
.pcMain .pcGiftDialogRecordBack::after {
    content: "";
    position: absolute;
    top: 10px;
    width: 10px;
    height: 2px;
    border-radius: 999px;
    background: #383838;
}

.pcMain .pcGiftDialogRecordBack::before {
    left: 3px;
    transform: rotate(40deg);
}

.pcMain .pcGiftDialogRecordBack::after {
    right: 3px;
    transform: rotate(-40deg);
}

.pcMain .pcGiftHonorPanel {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1 1 auto;
}

.pcMain .pcGiftHonorList {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    max-height: none;
    overflow-y: auto;
    padding: 0 8px;
    box-sizing: border-box;
}

.pcMain .pcGiftHonorItem {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 50px;
    padding: 0 2px;
    box-sizing: border-box;
}

.pcMain .pcGiftHonorRank {
    width: 35px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pcMain .pcGiftHonorRankImage {
    display: block;
    width: 35px;
    height: 24px;
    max-width: none;
    object-fit: contain;
}

.pcMain .pcGiftHonorRankBadge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.pcMain .pcGiftHonorRankBadge.rank-1 {
    background: linear-gradient(180deg, #ffd564 0%, #ffac34 100%);
}

.pcMain .pcGiftHonorRankBadge.rank-2 {
    background: linear-gradient(180deg, #d9e5ff 0%, #88a7e8 100%);
}

.pcMain .pcGiftHonorRankBadge.rank-3 {
    background: linear-gradient(180deg, #ffbf93 0%, #e98a47 100%);
}

.pcMain .pcGiftHonorRankText,
.pcMain .pcGiftHonorFooterRank {
    color: #434343;
    font-size: 14px;
    line-height: 18px;
}

.pcMain .pcGiftHonorAvatar,
.pcMain .pcGiftHonorFooterAvatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex: none;
    background: #f2efe7;
}

.pcMain .pcGiftHonorAvatar img,
.pcMain .pcGiftHonorFooterAvatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pcMain .pcGiftHonorInfo,
.pcMain .pcGiftHonorFooterInfo {
    flex: 1 1 auto;
    min-width: 0;
}

.pcMain .pcGiftHonorName,
.pcMain .pcGiftHonorFooterName {
    color: #191919;
    font-size: 14px;
    line-height: 19px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pcMain .pcGiftHonorCoins,
.pcMain .pcGiftHonorFooterCoins {
    margin-top: 2px;
    color: #b3aba0;
    font-size: 11px;
    line-height: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pcMain .pcGiftHonorLike {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #ff7b1b;
    font-size: 13px;
    line-height: 18px;
}

.pcMain .pcGiftHonorLikeIcon {
    display: block;
    width: 14px;
    height: 14px;
    flex: none;
}

.pcMain .pcGiftHonorFooter {
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid #f0ece2;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pcMain .pcGiftHonorFooterBtn {
    min-width: 88px;
    height: 36px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff9b49 0%, #f85a9a 100%);
    color: #fff;
    font-size: 15px;
    line-height: 36px;
    cursor: pointer;
}

.pcMain .pcGiftEffectPanel {
    width: 320px;
    padding: 24px 24px 28px;
    border-radius: 28px;
    border: 1px solid rgba(246, 211, 217, 0.72);
    background: linear-gradient(180deg, #fffdf8 0%, #fff7f9 100%);
    box-shadow: 0 18px 44px rgba(248, 31, 82, 0.14);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    animation: pcChapterGiftDialogModalIn 0.24s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pcMain .pcGiftEffectBurst {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: chapterGiftEffectBurstIn 0.36s cubic-bezier(0.2, 0.9, 0.22, 1) both;
}

.pcMain .pcGiftEffectCountBadge {
    position: absolute;
    top: 10px;
    right: 16px;
    color: #f07c2c;
    font-size: 30px;
    line-height: 1;
    font-weight: 500;
}

.pcMain .pcGiftEffectRing,
.pcMain .pcGiftEffectSpark {
    position: absolute;
    pointer-events: none;
}

.pcMain .pcGiftEffectRing {
    border-radius: 50%;
    border: 2px solid rgba(255, 188, 109, 0.42);
    animation: chapterGiftEffectRing 1.1s ease-out infinite;
}

.pcMain .pcGiftEffectRing-1 {
    width: 148px;
    height: 148px;
}

.pcMain .pcGiftEffectRing-2 {
    width: 176px;
    height: 176px;
    animation-delay: 0.18s;
}

.pcMain .pcGiftEffectSpark {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 245, 168, 1) 0%, rgba(255, 168, 83, 0) 72%);
}

.pcMain .pcGiftEffectSpark-1 {
    top: 34px;
    left: 38px;
}

.pcMain .pcGiftEffectSpark-2 {
    top: 54px;
    right: 34px;
}

.pcMain .pcGiftEffectSpark-3 {
    bottom: 34px;
    left: 54px;
}

.pcMain .pcGiftEffectImage {
    width: 142px;
    height: 142px;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 1;
}

.pcMain .pcGiftEffectMessage {
    margin-top: 4px;
    color: #1f1f1f;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
}

.pcMain .pcGiftEffectConfirmBtn {
    margin-top: 18px;
    width: 126px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff9b49 0%, #f85a9a 100%);
    color: #fff;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(248, 90, 154, 0.26);
}

.pcMain .pcGiftEffectLayer.closing .pcGiftEffectPanel {
    animation: pcChapterGiftDialogModalOut 0.18s ease both;
}

@keyframes pcChapterGiftDialogModalIn {
    0% {
        opacity: 0;
        transform: translateY(12px) scale(0.96);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pcChapterGiftDialogModalOut {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(8px) scale(0.97);
    }
}

@keyframes pcGiftDialogBulletFloat {
    0% {
        transform: translate3d(0, 0, 0) scale(var(--pc-barrage-scale));
        opacity: 0;
    }

    8% {
        opacity: var(--pc-barrage-opacity);
    }

    88% {
        opacity: var(--pc-barrage-opacity);
    }

    100% {
        transform: translate3d(calc(-100vw - 420px), 0, 0) scale(var(--pc-barrage-scale));
        opacity: 0;
    }
}

.bg-1 .pcMain .pcChapterUtilityBar {
    background: transparent;
}

.bg-1 .pcMain .pcChapterUtilityItem > a {
    background: #fff;
    border-color: #f5f5f5;
    box-shadow: 0 1px 4px rgba(200, 200, 200, 0.20);
}

.bg-2 .pcMain .pcChapterUtilityBar {
    background: transparent;
}

.bg-2 .pcMain .pcChapterUtilityItem > a {
    background: #F0E0BB;
    border-color: #FFEFCA;
    box-shadow: 0 1px 4px rgba(188, 186, 174, 0.20);
}

.bg-2 .pcMain .pcGiftDialogSheet {
    background: #f4e3bf;
    border-color: #ffefca;
    box-shadow: 0 24px 60px rgba(122, 100, 52, 0.18);
}

.bg-2 .pcMain .pcGiftDialogProgressCard {
    background: rgba(255, 247, 228, 0.92);
    border-color: rgba(255, 239, 202, 0.96);
}

.bg-3 .pcMain .pcChapterUtilityBar {
    background: transparent;
}

.bg-3 .pcMain .pcChapterUtilityItem > a {
    background: #E8FFE8;
    border-color: #D0E8D0;
    box-shadow: 0 1px 4px rgba(143, 175, 160, 0.20);
}

.bg-3 .pcMain .pcGiftDialogSheet {
    background: #ebfaeb;
    border-color: #d0e8d0;
    box-shadow: 0 24px 60px rgba(69, 119, 88, 0.16);
}

.bg-3 .pcMain .pcGiftDialogProgressCard {
    background: rgba(247, 255, 247, 0.92);
    border-color: rgba(208, 232, 208, 0.96);
}

.bg-4 .pcMain .pcChapterUtilityBar {
    background: transparent;
}

.bg-4 .pcMain .pcChapterUtilityItem > a {
    background: #EDF6FF;
    border-color: #E0F0FF;
    box-shadow: 0 1px 4px rgba(178, 174, 188, 0.20);
}

.bg-4 .pcMain .pcGiftDialogSheet {
    background: #edf6ff;
    border-color: #e0f0ff;
    box-shadow: 0 24px 60px rgba(85, 103, 141, 0.16);
}

.bg-4 .pcMain .pcGiftDialogProgressCard {
    background: rgba(250, 253, 255, 0.92);
    border-color: rgba(224, 240, 255, 0.96);
}

.bg-5 .pcMain .pcChapterUtilityBar {
    background: transparent;
}

.bg-5 .pcMain .pcChapterUtilityItem > a {
    background: #fff;
    border-color: #f5f5f5;
    box-shadow: 0 1px 4px rgba(200, 200, 200, 0.20);
}

.bg-6 .pcMain .pcChapterUtilityBar {
    background: transparent;
}

.bg-6 .pcMain .pcChapterUtilityItem > a {
    background: #fff;
    border-color: #f5f5f5;
    box-shadow: 0 1px 4px rgba(200, 200, 200, 0.20);
}

.bg-7 .pcMain .pcChapterUtilityBar {
    background: transparent;
}

.bg-7 .pcMain .pcChapterUtilityItem > a {
    background: #2b2b2b;
    border-color: #3a3a3a;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
}

.bg-7 .pcMain .pcGiftDialogSheet {
    background: #222222;
    border-color: #353535;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
}

.bg-7 .pcMain .pcGiftDialogTitle,
.bg-7 .pcMain .pcGiftDialogGiftName {
    color: #f0ebe0;
}

.bg-7 .pcMain .pcGiftDialogClose::before,
.bg-7 .pcMain .pcGiftDialogClose::after {
    background: #ece5d9;
}

.bg-7 .pcMain .pcGiftDialogRecord,
.bg-7 .pcMain .pcGiftDialogDeductionBalance,
.bg-7 .pcMain .pcGiftDialogGiftPrice,
.bg-7 .pcMain .pcGiftDialogProgressTotal {
    color: #a89f90;
}

.bg-7 .pcMain .pcGiftDialogProgressCard {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

.bg-7 .pcMain .pcGiftDialogProgressLabel span {
    color: #dfd7c8;
}

.bg-7 .pcMain .pcGiftDialogProgressBarTrack {
    background: rgba(255, 255, 255, 0.08);
}

.bg-7 .pcMain .pcGiftDialogBarrageItem {
    background: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.62);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.bg-7 .pcMain .pcGiftDialogGiftItem.active {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(246, 198, 170, 0.4);
}

.bg-7 .pcMain .pcGiftDialogFooter {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.bg-7 .pcMain .pcGiftDialogQuantityBtn {
    background: #2b2b2b;
    border-color: #6f5038;
    color: #efdfca;
}

.bg-7 .pcMain .pcGiftDialogQuantityMenu {
    background: #2b2b2b;
    border-color: #41352a;
}

.bg-7 .pcMain .pcGiftDialogQuantityMenuItem {
    color: #efdfca;
}

.bg-7 .pcMain .pcChapterUtilityName,
.bg-7 .pcMain .pcBoostProgressLabel span {
    color: #e3dfd4;
}

.bg-7 .pcMain .pcChapterUtilityCount,
.bg-7 .pcMain .pcBoostProgressTotal,
.bg-7 .pcMain .pcChapterUpdateMeta {
    color: #9f9883;
}

.bg-7 .pcMain .pcChapterUpdateBox {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 16px;
    padding-bottom: 16px;
}

.bg-7 .pcMain .pcChapterUpdateTitle .author-updating-light {
    display: none;
}

.bg-7 .pcMain .pcChapterUpdateTitle .author-updating-dark {
    display: block;
}

.bg-7 .pcMain .pcChapterUtilityItem > a:hover {
    background: rgba(255, 255, 255, 0.04);
}

.bg-7 .pcMain .pcBoostProgressCurrent {
    color: #ffae61;
}

.bg-7 .pcMain .pcBoostProgressBarTrack {
    background: rgba(255, 255, 255, 0.10);
}

.bg-7 .pcMain .pcBoostProgressTip {
    color: #ff9c57;
}

.bg-7 .pcMain .pcBoostProgressBtn {
    background: linear-gradient(180deg, #ff8b4c 0%, #ff5f5c 100%);
    color: #fff;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.24);
}

.sty-5 #chapterReaderH5App .h5ChapterUpdateMeta {
    color: #9f9883;
}

.sty-5 #chapterReaderH5App .h5ChapterUpdateTitle .author-updating-light {
    display: none;
}

.sty-5 #chapterReaderH5App .h5ChapterUpdateTitle .author-updating-dark {
    display: block;
}

.sty-5 #chapterReaderH5App .h5ChapterRankName {
    color: #e3dfd4;
}

.sty-5 #chapterReaderH5App .h5ChapterRankCount {
    color: #9f9883;
}

.sty-5 #chapterReaderH5App .h5BoostProgressLabel span {
    color: #e3dfd4;
}

.sty-5 #chapterReaderH5App .h5BoostProgressCurrent {
    color: #ffae61;
}

.sty-5 #chapterReaderH5App .h5BoostProgressTotal {
    color: #9f9883;
}

.sty-5 #chapterReaderH5App .h5BoostProgressBarTrack {
    background: rgba(255, 255, 255, 0.10);
}

.sty-5 #chapterReaderH5App .h5BoostProgressTip {
    color: #ff9c57;
}

.sty-5 #chapterReaderH5App .h5BoostProgressBtn {
    background: linear-gradient(180deg, #ff8b4c 0%, #ff5f5c 100%);
    color: #fff;
    box-shadow: 0 0.375rem 0.875rem rgba(0, 0, 0, 0.22);
}

.bg-7 .pcMain .pcChapterUtilityItem > a:hover {
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.bg-1 .pcMain .pcBoostProgressCard,
.bg-5 .pcMain .pcBoostProgressCard,
.bg-6 .pcMain .pcBoostProgressCard {
    background: #fff;
    border-color: #f5f5f5;
    box-shadow: 0 1px 4px rgba(200, 200, 200, 0.20);
}

.bg-2 .pcMain .pcBoostProgressCard {
    background: #f0e0bb;
    border-color: #ffefca;
    box-shadow: 0 1px 4px rgba(188, 186, 174, 0.20);
}

.bg-3 .pcMain .pcBoostProgressCard {
    background: #e8ffe8;
    border-color: #d0e8d0;
    box-shadow: 0 1px 4px rgba(143, 175, 160, 0.20);
}

.bg-4 .pcMain .pcBoostProgressCard {
    background: #edf6ff;
    border-color: #e0f0ff;
    box-shadow: 0 1px 4px rgba(178, 174, 188, 0.20);
}

.bg-7 .pcMain .pcBoostProgressCard {
    background: #2b2b2b;
    border-color: #3a3a3a;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
}

.bg-1 .pcMain .pcBoostProgressCorner .corner-white,
.bg-5 .pcMain .pcBoostProgressCorner .corner-white,
.bg-6 .pcMain .pcBoostProgressCorner .corner-white {
    display: block;
}

.bg-2 .pcMain .pcBoostProgressCorner .corner-white,
.bg-3 .pcMain .pcBoostProgressCorner .corner-white,
.bg-4 .pcMain .pcBoostProgressCorner .corner-white,
.bg-7 .pcMain .pcBoostProgressCorner .corner-white {
    display: none;
}

.bg-2 .pcMain .pcBoostProgressCorner .corner-yellow {
    display: block;
}

.bg-3 .pcMain .pcBoostProgressCorner .corner-green {
    display: block;
}

.bg-4 .pcMain .pcBoostProgressCorner .corner-blue {
    display: block;
}

.bg-7 .pcMain .pcBoostProgressCorner {
    display: none;
}


.pcMain .readingContent p {
    text-indent: 2em;
    margin: 1.25rem 0;
}


.h5Main .contains p {
    text-indent: 2rem;
    margin: 1.25rem 0;
    line-height: 1.5;
}


@media (max-width: 750px) {
    .h5Main .configBar {
        z-index: 1;
    }
}
