﻿.operate-hidden {
    display: none !important;
}

.operate-panel {
    position: absolute;
    inset: 0;
    z-index: 160;
    overflow: hidden;
    background: var(--btn_bg_s);
}

.operate-header {
    position: relative;
    height: 8%;
    min-height: 52px;
    box-sizing: border-box;
    padding: 8px 56px 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0000003d;
}

.operate-header-title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 6px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .55);
}

.operate-close-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    width: 34px;
    height: 34px;
    transform: translateY(-50%);
    object-fit: contain;
    cursor: pointer;
}

.operate-home-tabs {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 8px;
}

.operate-home-tab-btn {
    border: 0;
    border-radius: 8px;
    padding: 6px 12px;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    font-size: 12px;
}

    .operate-home-tab-btn.active {
        background: rgba(255, 215, 0, 0.88);
        color: #222;
        font-weight: 700;
    }

.operate-view {
    height: 92%;
    box-sizing: border-box;
}

.operate-home-view {
    overflow: hidden;
    /*padding: 8px 10px 12px 10px;*/
}

.operate-home-list {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    touch-action: pan-y;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

#operate-home-list .loop-item-inner {
    display: block;
}

.operate-home-card {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background: url('/resource/image/test1/bonds_bg.png') center/100% 100% no-repeat;
    border-radius: 10px;
    overflow: hidden;
    color: #fff;
    padding: 10px;
}

.operate-home-card-title {
    height: 25px;
    line-height: 25px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    background: #00000040;
    border-radius: 6px;
    color: var(--btn_color_q);
}

.operate-home-card-body {
    height: calc(100% - 36px);
    display: flex;
    gap: 10px;
}

.operate-home-card-stats {
    width: 44%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 12px;
    line-height: 1.35;
    min-width: 0;
}

.operate-home-card-stat-line {
    color: rgba(255, 255, 255, 0.92);
}

.operate-home-card-stat-value {
    color: #92ff82;
}

.operate-home-card-cond {
    margin-top: 4px;
    color: #cfe5ff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.operate-home-action-item,
.operate-detail-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1px;
    text-align: center;
}

    .operate-home-action-btn:disabled,
    .operate-detail-action-btn:disabled {
        opacity: .45;
        cursor: not-allowed;
    }

.operate-home-action-level,
.operate-detail-action-level {
    color: #fff7cc;
    font-size: 12px;
    min-height: 16px;
}

.operate-home-action-req,
.operate-detail-action-req {
    min-height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
    font-size: 12px;
    color: #fff;
    flex-wrap: wrap;
}

.operate-req-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.operate-req-text {
    color: #fff;
    font-size: 10px;
}

.operate-req-text-danger {
    color: #ff7043;
}

.operate-detail-view {
    display: flex;
    flex-direction: column;
    padding: 8px 10px 12px 10px;
    gap: 8px;
    overflow: hidden;
}

.operate-detail-top {
    position: relative;
    height: 52%;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
}

.operate-detail-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.operate-detail-title {
    position: absolute;
    left: 10px;
    top: 10px;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.operate-detail-mid {
    height: 18%;
    border-radius: 10px;
    background: rgba(0, 0, 0, .28);
    padding: 8px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 10px;
}

.operate-detail-stat {
    color: #ddd;
    font-size: 13px;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.operate-detail-stat-value {
    color: #ffe082;
}

.operate-detail-bottom {
    height: 30%;
    border-radius: 10px;
    background: rgba(0, 0, 0, .18);
    padding: 8px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    align-items: start;
}

.operate-detail-level-extra {
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.operate-detail-level-ten {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #fff7cc;
    font-size: 11px;
    user-select: none;
}

    .operate-detail-level-ten input[type="checkbox"] {
        width: 12px;
        height: 12px;
        margin: 0;
        accent-color: #d8342a;
    }
.operate-home-card-body {
    height: calc(100% - 36px);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.operate-home-card-body-column {
    flex-direction: column;
}

.operate-home-card-stats {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
    line-height: 1.35;
}

.operate-home-card-stats-grid {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.operate-home-card-stat-row {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.operate-home-card-stat-cell {
    min-width: 0;
    color: rgba(255, 255, 255, 0.92);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.operate-home-card-actions {
    width: 100%;
    display: grid;
    gap: 6px;
}

.operate-home-card-actions-row {
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
}

.operate-home-action-item {
    min-width: 0;
}
.operate-home-action-btn-wrap {
    position: relative;
    width: 100%;
}

.operate-home-action-level-corner {
    position: absolute;
    right: 12px;
    top: -6px;
    min-height: auto;
    padding: 2px 6px;
    border-radius: 10px;
    background: var(--btn_bg_s);
    color: #fff8e4;
    font-size: 10px;
    line-height: 1.2;
    white-space: nowrap;
    z-index: 1;
}

.operate-home-action-item-level .operate-home-action-ten {
    font-size: 12px;
}
.operate-home-action-ten {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    text-align: center;
    font-size: 12px;
}

    .operate-home-action-ten input[type="checkbox"] {
        margin: 0;
        width: 12px;
        height: 12px;
    }
.operate-home-action-btn-wrap {
    position: relative;
    width: 100%;
}

.operate-home-action-level-corner {
    position: absolute;
    top: -6px;
    right: 0px;
    min-height: auto;
    padding: 2px 6px;
    border-radius: 6px;
    background: var(--btn_bg_s);
    color: var(--btn_color_q);
    font-size: 10px;
    line-height: 1.2;
    white-space: nowrap;
    z-index: 2;
}

.operate-home-action-ten {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    text-align: center;
    font-size: 12px;
}

    .operate-home-action-ten input[type="checkbox"] {
        margin: 0;
        width: 12px;
        height: 12px;
    }