﻿.operate-time-hidden {
    display: none !important;
}

.operate-time-panel {
    position: absolute;
    inset: 0;
    z-index: 100;
    background: #000;
    color: #fff;
    overflow: hidden;
}

.operate-time-page {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.operate-time-page-back {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 8;
    width: 54px;
    height: 54px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

    .operate-time-page-back img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }

.operate-time-home-page {
    background: linear-gradient(180deg, #1c0f08 0%, #3e2317 100%);
    display: flex;
    flex-direction: column;
}

.operate-time-home-header {
    height: 10%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    box-sizing: border-box;
}

.operate-time-home-title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
}

.operate-time-detail-build-btn,
.operate-time-detail-energy-add,
.operate-time-detail-points-btn,
.operate-time-home-card,
.operate-time-detail-stage-btn,
.operate-time-detail-level-btn {
    border: none;
    outline: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.operate-time-home-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 30px 10px;
    box-sizing: border-box;
    overflow: hidden;
}

.operate-time-home-card {
    position: relative;
    width: 100%;
    height: 20%;
    min-height: 96px;
    margin: 0;
    padding: 0;
    border-radius: 6px;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

    .operate-time-home-card + .operate-time-home-card {
        margin-top: 8px;
    }

.operate-time-home-card-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.18) 100%);
}

.operate-time-home-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 16px;
    box-sizing: border-box;
}

.operate-time-home-card-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.operate-time-home-card-stage,
.operate-time-home-card-level {
    font-size: 15px;
    line-height: 1.6;
}

.operate-time-home-card-enter {
    min-width: 82px;
    height: 36px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.operate-time-detail-page {
    overflow: hidden;
    background: #000;
}

.operate-time-detail-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

.operate-time-detail-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.08) 35%, rgba(0, 0, 0, 0.32) 100%);
}

.operate-time-detail-stage-btn {
    position: absolute;
    left: 12px;
    top: 12px;
    border-radius: 16px;
    background: transparent;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.operate-time-detail-stage-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    /*border-radius: 50%;
    background-color: #00000038;
    padding: 2px;
    border: 2px solid #ffc4c4;*/
}

.operate-time-detail-stage-text {
    font-size: 13px;
    line-height: 1.2;
    display:none;
}

.operate-time-detail-level-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 132px;
    min-height: 92px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    box-sizing: border-box;
    background: transparent;
}

.operate-time-detail-level-line {
    width: 100%;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
    color: #fff3c1;
    text-align: left;
    word-break: break-all;
}

.operate-time-detail-center {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 44%;
    max-width: 220px;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.operate-time-detail-state-gif {
    width: 100%;
    max-height: 240px;
    object-fit: contain;
}

.operate-time-detail-build-btn {
    position: absolute;
    right: 12px;
    bottom: 160px;
    min-width: 72px;
    height: 40px;
    font-size: 15px;
}

.operate-time-detail-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    display: flex;
    align-items: flex-end;
    justify-content: end;
    gap: 10px;
    padding: 0 12px;
    box-sizing: border-box;
}

.operate-time-detail-points-wrap {
    width: 50%;
    min-width: 120px;
    padding-bottom: 50px;
    position: relative;
    left: 50px;
    top: 75%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.operate-time-detail-points-btn {
    position: relative;
    width: 82px;
    height: 82px;
    border: none;
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.operate-time-detail-points-pending-btn {
    background-image: url('../image/OperateTime/operate_points.png');
    background-repeat: no-repeat;
    background-size: 100% 100%; /* 拉伸填满，不裁剪，不留白 */
    background-position: center;
    background-color: transparent;
}

.operate-time-detail-points-using-btn {
    background-image: url('../image/OperateTime/operate_using.png');
    background-repeat: no-repeat;
    background-size: 100% 100%; /* 拉伸填满，不裁剪，不留白 */
    background-position: center;
    background-color: transparent;
}

.operate-time-detail-points-value {
    position: relative;
    top: -2px;
    font-size: 18px;
    font-weight: 700;
    color: #fff3b0;
    text-align: center;
    pointer-events: none;
}

.operate-time-detail-use-wrap {
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 10px;
    background-color: #0000002b;
    padding: 15px;
    border-radius: 6px;
}
.operate-time-home-card-left {
    color: white;
}
.operate-time-btn-four {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.operate-time-detail-energy-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.operate-time-detail-energy-text {
    min-width: 110px;
    text-align: right;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.operate-time-detail-energy-add {
    width: 26px;
    height: 26px;
    border-radius: 0px;
    background-image: url('../image/test1/add.png');
    background-repeat: no-repeat;
    background-size: 100% 100%; /* 拉伸填满，不裁剪，不留白 */
    background-position: center;
    background-color: transparent;
    color: #462405;
    font-size: 22px;
    line-height: 1;
    font-weight: 700;
}

.operate-time-detail-use-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #fff;
    user-select: none;
}

    .operate-time-detail-use-all input {
        width: 16px;
        height: 16px;
    }

.operate-time-modal {
    position: absolute;
    inset: 0;
    z-index: 5;
}

.operate-time-modal-mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
}

.operate-time-modal-dialog {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 86%;
    max-width: 420px;
    transform: translate(-50%, -50%);
    border-radius: 18px;
    background: linear-gradient(180deg, #3f2414 0%, #24140c 100%);
    color: #fff;
    padding: 20px 16px 18px;
    box-sizing: border-box;
}

.operate-time-modal-title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
}

.operate-time-item-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.operate-time-item-icon {
    width: 84px;
    height: 84px;
    object-fit: contain;
}

.operate-time-item-count,
.operate-time-slider-value,
.operate-time-upgrade-level,
.operate-time-upgrade-progress {
    text-align: center;
    font-size: 16px;
}

.operate-time-slider-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.operate-time-slider {
    width: 100%;
}

.operate-time-upgrade-dialog {
     min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap:10px;
}

.operate-time-upgrade-bonus {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 18px 0;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    min-height: 132px;
}

.operate-time-upgrade-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 15px;
    line-height: 1.5;
}

.operate-time-upgrade-name {
    color: #f7d8a5;
}

.operate-time-upgrade-value {
    color: #fff;
    text-align: right;
}

.operate-time-upgrade-next {
    color: #39d16f;
    margin-left: 4px;
}

.operate-time-build-page {
    background: linear-gradient(180deg, #20130b 0%, #2b190e 100%);
    display: flex;
    flex-direction: column;
}

.operate-time-build-header {
    height: 10%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    box-sizing: border-box;
}

.operate-time-build-title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
}

.operate-time-build-list {
    flex: 1;
    overflow-y: auto;
    padding: 25px 10px 70px;
    box-sizing: border-box;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.operate-time-build-item {
    width: 100%;
    min-height: 15%;
    margin-bottom: 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    overflow: hidden;
}

.operate-time-build-left {
    width: 30%;
    min-width: 108px;
    background: rgba(255, 255, 255, 0.06);
    padding: 10px 8px;
    box-sizing: border-box;
    position: relative;
    border-radius: 6px;
    
}

.operate-time-build-icon {
    width: 90%;
    height: auto;
    object-fit: contain;
    aspect-ratio: 1 / 1;
    position: absolute;
}

.operate-time-build-name {
    text-align: center;
    font-size: 16px;
    line-height: 1.4;
    word-break: break-all;
    color: #e86c37;
    font-weight: 700;
}

.operate-time-build-level {
    font-size: 15px;
    color: #ffd86a;
}

.operate-time-build-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    box-sizing: border-box;
    width:100%;
}

.operate-time-build-bonus,
.operate-time-build-next,
.operate-time-build-points {
    font-size: 14px;
    line-height: 1.5;
}

    .operate-time-build-next span {
        color: #39d16f;
    }

.operate-time-build-btn-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 4px;
}

@media (max-width: 420px) {
    .operate-time-home-card-name {
        font-size: 20px;
    }

    .operate-time-detail-center {
        width: 52%;
    }
    .operate-time-detail-use-wrap {
        width: 50%;
    }
}
.operate-time-upgrade-max-icon {
    display: block;
    max-height: 40px;
    margin: 8px auto 0;
    object-fit: contain;
}

.operate-time-detail-title {
    position: absolute;
    left: 20px;
    top: 80px;
    z-index: 3;
    border-radius: 16px;
    color: #ffd800;
    text-align: center;
    font-size: 40px;
    line-height: 1.2;
    pointer-events: none;
    font-family: 'GameXingkai', "STXingkai", "华文行楷", "LiSu", serif;
    writing-mode: vertical-rl;
}

.operate-time-build-gril-grid {
    display: grid;
    grid-template-columns: repeat(2, 40px);
    grid-template-rows: repeat(2, 40px);
    gap: 6px;
    justify-content: center;
    align-content: center;
    width: 100%;
    min-height: 92px;
}

.operate-time-build-gril-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: rgb(247 208 208 / 47%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffdbdb;
}

    .operate-time-build-gril-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.operate-time-build-gril-avatar-empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd86a;
    font-size: 11px;
    text-align: center;
}
.operate-time-upgrade-dialog {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.operate-time-upgrade-level,
.operate-time-upgrade-progress,
.operate-time-upgrade-bonus {
    width: 100%;
    box-sizing: border-box;
}

.operate-time-upgrade-dialog {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.operate-time-upgrade-level,
.operate-time-upgrade-progress,
.operate-time-upgrade-bonus {
    width: 100%;
    box-sizing: border-box;
}

.operate-time-upgrade-dialog .operate-time-btn-four {
    display: flex;
    margin: 8px auto 0;
}

.operate-time-build-item-vertical {
    flex-direction: column;
    padding: 10px;
    box-sizing: border-box;
}


.operate-time-build-avatar-cell {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: rgb(255 188 188 / 52%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffd6d6;
}

    .operate-time-build-avatar-cell img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
.operate-time-build-item-vertical {
    display: flex;
    align-items: center;
    min-height: 132px;
}

.operate-time-build-top {
    border: 1px solid #ffd4d473;
    width: 100%;
    min-width: 108px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
}

.operate-time-build-avatar-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    align-content: flex-start;
    width: 100%;
    max-width: 316px; /* 7个 * 40px + 6个间距 * 6px = 316px */
    margin: 0 auto;
}

.operate-time-build-avatar-cell {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: rgb(247 208 208 / 47%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffdbdb;
}

    .operate-time-build-avatar-cell img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.operate-time-build-all-text {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffff00;
    font-size: 22px;
    text-align: center;
    font-family: 'GameXingkai', "STXingkai", "华文行楷", "LiSu", serif;
}

.operate-time-build-all-gril {
    color: #ffd86a;
}

.operate-time-home-card-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    display: flex;
    gap: 12px;
    align-items: center;
}

.operate-time-home-card-badge {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
}

.operate-time-home-card-content {
    position: relative;
    z-index: 1;
    padding-top: 22px;
}

.operate-time-detail-level-btn {
    width: 150px;
    min-height: 108px;
    align-items: center;
    gap: 8px;
}

.operate-time-detail-level-icon {
    width: 54px;
    height: 54px;
    object-fit: contain;
    display: block;
    align-self: end;
}

.operate-time-detail-level-extra {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background-color: #00000054;
    border-radius: 6px;
    padding: 10px;
}
.operate-time-upgrade-level-icon {
    display: block;
    width: 64px;
    height: auto;
    object-fit: contain;
}