
/* ============================================================
   SHADOWSKINGS — ACTIVE MISSIONS
   Desktop + Mobile
   ============================================================ */

#tac-active-missions-root {
    color: #ead8f2;
    width: 100%;
    box-sizing: border-box;
}

.am-command {
    padding: 20px;
    background: linear-gradient(180deg, #1d1029, #100a19);
    border: 1px solid #795535;
    border-radius: 12px;
}

.am-header {
    text-align: center;
    padding: 20px;
    background: linear-gradient(180deg, #30163c, #190f27);
    border: 1px solid #ad834b;
    border-radius: 9px;
}

.am-header h2 {
    color: #f2d39e;
    margin: 0;
    letter-spacing: 2px;
}

.am-header p {
    color: #c9aed6;
    margin: 8px 0 0;
}

.am-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.am-stat {
    text-align: center;
    padding: 16px 8px;
    background: #24172f;
    border: 1px solid #624b69;
    border-radius: 8px;
}

.am-stat strong {
    display: block;
    color: #f2d29c;
    font-size: 28px;
}

.am-stat span {
    color: #c8b3d2;
    font-size: 12px;
    letter-spacing: 1px;
}

.am-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 18px;
}

.am-filter {
    background: #291935;
    color: #e8d5ee;
    border: 1px solid #795b86;
    border-radius: 6px;
    padding: 12px 8px;
    cursor: pointer;
}

.am-filter.active {
    background: #64378a;
    border-color: #d4a2ff;
    color: #fff;
}

.am-mission {
    background: #21152d;
    border: 1px solid #665070;
    border-radius: 9px;
    padding: 16px;
    margin-bottom: 12px;
}

.am-mission.incoming {
    border-color: #a85454;
}

.am-mission h3 {
    color: #f1d5a5;
    margin: 10px 0;
}

.am-mission-meta {
    color: #c3afce;
    font-size: 13px;
}

.am-mission-top,
.am-mission-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.am-badge {
    color: #e9cda1;
    background: #3b2945;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: bold;
}

.am-timer {
    color: #f4d9ab;
    font-size: 22px;
    font-weight: bold;
    font-variant-numeric: tabular-nums;
}

.am-progress {
    height: 7px;
    background: #43334b;
    border-radius: 10px;
    overflow: hidden;
    margin: 14px 0;
}

.am-progress-fill {
    height: 100%;
    background: #c39a68;
    transition: width 1s linear;
}

.am-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.am-action {
    background: #30213c;
    color: #f0d6aa;
    border: 1px solid #947144;
    border-radius: 6px;
    padding: 10px 14px;
    cursor: pointer;
}

.am-action.cancel {
    background: #45242e;
    color: #ffd2d2;
    border-color: #ae6666;
}

.am-empty {
    text-align: center;
    color: #c5b3d0;
    padding: 35px 12px;
}

/* Mobile mission layout */

@media (max-width: 700px) {
    .am-command {
        padding: 10px;
    }

    .am-header {
        padding: 14px 8px;
    }

    .am-header h2 {
        font-size: 20px;
        letter-spacing: 1px;
    }

    .am-stats {
        gap: 6px;
    }

    .am-stat {
        padding: 12px 3px;
    }

    .am-stat strong {
        font-size: 22px;
    }

    .am-stat span {
        font-size: 10px;
    }

    .am-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .am-mission {
        padding: 12px;
    }

    .am-mission-top,
    .am-mission-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .am-timer {
        font-size: 20px;
    }

    .am-actions {
        width: 100%;
    }

    .am-action {
        flex: 1;
        min-height: 44px;
    }
}


/* STEP 1060 — OPERATIONS ACTIVE MISSIONS LEFT SPACING */

#tacticalCombatPanel
#tac-tab-content-operations
.am-operations-section {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding-left: 18px;
    padding-right: 18px;
}

#tacticalCombatPanel
#tac-tab-content-operations
.am-operations-heading {
    box-sizing: border-box;
    padding-left: 12px;
    padding-right: 12px;
}

@media (max-width: 700px) {
    #tacticalCombatPanel
    #tac-tab-content-operations
    .am-operations-section {
        padding-left: 10px;
        padding-right: 10px;
    }
}
